Use tab not spaces.
[glibc.git] / ChangeLog
blobea23078c2a3fc32b483dfbd46a7a19cbfbee8168
1 2012-06-22  Roland McGrath  <roland@hack.frob.com>
3         * configure.in (libc_cv_localstatedir): New substituted variable.
4         * configure: Regenerated.
5         * config.make.in (localstatedir): New variable, substituted from
6         libc_cv_localstatedir.
7         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10         * sysdeps/gnu/configure: Regenerated.
12 2012-06-21  Jeff Law  <law@redhat.com>
14         [BZ #14277]
15         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16         free.  Simplify list management for _LIBC case.
18 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20         [BZ #14273]
21         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22         Clear sign bit of 64-bit integer value before comparing against
23         overflow value.
25         * sysdeps/mach/configure: Regenerated.
27 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29         [BZ #14278]
30         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32 2012-06-21  Jeff Law  <law@redhat.com>
34         [BZ #13882]
35         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36         uint16_t for elements in the "seen" array to avoid char overflows.
37         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38         * elf/dl-open.c (dl_open_worker): Likewise.
40 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
42         * scripts/list-sources.sh: Scan PORTS for translations.
43         * po/libc.pot: Regenerated.
45 2012-06-21  Andreas Jaeger  <aj@suse.de>
47         [BZ #12194]
48         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49         warning.
50         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
51         * bits/byteswap-16.h (__bswap_16): Likewise.
52         * bits/byteswap.h (__bswap_constant_16): Likewise.
54 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56         [BZ #14117]
57         * sysdeps/i386/fpu_control.h: Removed.
58         * sysdeps/x86_64/fpu_control.h: Moved to ...
59         * sysdeps/x86/fpu_control.h: Here.
61         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62         (_FPU_SETCW): Likewise.
64 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66         [BZ #14117]
67         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68         * sysdeps/x86/fpu/bits/mathinline.h: This.
69         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71         [BZ #14050]
72         [BZ #14117]
73         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74         functions if __x86_64__ is defined.
76 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78         * string/endian.h: Add !__ASSEMBLER__ condition for including
79         conversion interfaces.
81 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
83         [BZ #14241]
84         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
85         of ABS(x) in calculating zero to negative powers other than odd
86         integers.
87         * math/libm-test.inc (pow_test): Add more tests.
89 2012-06-15  Andreas Jaeger  <aj@suse.de>
91         * manual/contrib.texi (Contributors): Update entry of Liubov
92         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
93         Machado Filho.
95 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
97         * string/string.h: Add __wur to GNU version of strerror_r.
99 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
101         [BZ #14229]
102         * string/Makefile (tests): Add tst-strtok_r.
103         * string/tst-strtok_r.c: New file.
104         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
105         RAX_LP/RDX_LP on SAVE_PTR.
107 2012-06-14  Roland McGrath  <roland@hack.frob.com>
109         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
111 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
113         * libm_test.inc (csqrt_test): Allow more spurious underflow
114         exceptions.
115         (j0_test): Likewise.
116         (j1_test): Likewise.
117         (y0_test): Likewise.
118         (y1_test): Likewise.
120 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
122         * po/Makefile (libc.pot): Use UTF-8 charset.
124 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
126         [BZ #14210]
127         Suppress sign-conversion warning from FD_SET.
128         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
129         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
130         not unsigned long int.
131         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
133 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
135         [BZ #14050]
136         [BZ #14117]
137         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
138         __extern_always_inline instead of __extern_inline.
139         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
140         (__signbit): Likewise.
141         (__signbitl): Support C++ namespace.
142         (lrintf): New inline function.
143         (lrint): Likewise.
144         (llrintf): Likewise.
145         (llrint): Likewise.
146         (fmaxf): Likewise.
147         (fmax): Likewise.
148         (fminf): Likewise.
149         (fmin): Likewise.
150         (rint): Likewise.
151         (rintf): Likewise.
152         (ceil): Likewise.
153         (ceilf): Likewise.
154         (floor): Likewise.
155         (floorf): Likewise.
156         (nearbyint): Likewise.
157         (nearbyintf): Likewise.
159 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
161         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
162         non-default versions.
164 2012-06-11  Roland McGrath  <roland@hack.frob.com>
166         [BZ #14218]
167         * manual/argp.texi (Argp): Reword argp_parse description slightly.
169 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
171         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
172         (FE_UPWARD, FE_DOWNWARD): Don't define.
173         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
174         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
176         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
177         reading it.
178         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
179         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
181 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
183         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
184         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
185         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
186         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
188 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
190         [BZ #14117]
191         * sysdeps/i386/fpu/bits/fenv.h: Removed.
192         * sysdeps/i386/fpu/Implies: New file.
193         * sysdeps/x86_64/fpu/Implies: Likewise.
194         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
195         * sysdeps/x86/fpu/bits/fenv.h: This.
197         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
198         __SSE_MATH__.
200 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
202         [BZ #14134]
203         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
204         character 0xffff that matches the last element of the
205         conversion table.
207 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
209         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
210         fmodl commit.
212 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
214         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
215         values higher than 25.6283.
217 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
219         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
220         subnormal exponent extraction and add some __builtin_expect.
221         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
222         Fix for subnormal mantissa calculation.
224 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
226         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
227         cpu2 is -1 and errno is not ENOSYS.
229 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
231         [BZ #14117]
232         * sysdeps/i386/i486/bits/string.h: Renamed to ...
233         * sysdeps/x86/bits/string.h: This.
234         * sysdeps/x86_64/bits/string.h: Removed.
236         * sysdeps/i386/i486/bits/string.h: Define inline functions only
237         if not compiling for x86-64, but compiling for >= i486.
239         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
240         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
242         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
243         New macro from Linux kernel 3.4.0.
244         (FP_XSTATE_MAGIC2): Likewise.
245         (FP_XSTATE_MAGIC2_SIZE): Likewise.
246         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
247         (struct _fpx_sw_bytes): New struct.
248         (struct _xsave_hdr): Likewise.
249         (struct _ymmh_state): Likewise.
250         (struct _xstate): Likewise.
252         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
253         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
254         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
255         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
256         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
257         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
259         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
260         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
261         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
262         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
263         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
264         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
266 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
268         [BZ #13743]
269         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
270         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
271         (sysdep_headers): Include sys/platform/ppc.h.
272         * sysdeps/powerpc/test-gettimebase.c: Test for
273         __ppc_get_timebase() to catch future ISA opcode/insn changes.
274         * manual/Makefile (appendices): Include platform.texi.
275         * manual/contrib.texi (Contributors): Update @node pointers.
276         * manual/maint.texi (Maintenance): Likewise.
277         (Platform): New node.
278         * manual/platform.texi: New file.  Document the new features.
280 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
281             Jakub Jelinek  <jakub@redhat.com>
283         [BZ #14188]
284         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
285         where __builtin_expect is unavailable.
287 2012-06-03  David S. Miller  <davem@davemloft.net>
289         * stdlib/longlong.h: Updated from GCC.
291 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
293         [BZ #14042]
294         * sysdeps/powerpc/powerpc32/mcount.c: New file.
295         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
296         __mcount_internal.
297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
298         (GLIBC_2.16): Likewise.
300 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
302         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
304 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
307         (default-abi): New variable.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
309         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
310         variable.
311         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
312         Likewise.
313         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
314         Likewise.
315         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
316         Likewise.
318         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
319         definition.  Document in comment.
321 2012-06-01  David S. Miller  <davem@davemloft.net>
323         * stdlib/longlong.h: Updated from GCC.
325 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
327         [BZ #14117]
328         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
329         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
330         sys/debugreg.h sys/io.h here.
331         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
332         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
333         sys/io.h.
334         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
335         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
336         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
337         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
338         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
339         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
341         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
342         Define only if __x86_64__ is defined.
344 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
346         [BZ #14048]
347         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
348         Use int64_t for variable i.
349         * math/libm-test.inc (fmod_test): Add more tests.
351         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
352         z computation is not scheduled after fetestexcept.
353         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
354         Use math_force_eval instead of asm to ensure calculation scheduled
355         before exception test.
356         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
357         Ensure a1 + u.d computation is not scheduled after fetestexcept.
359 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
362         computation is not scheduled after fetestexcept.
364 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
366         [BZ #14117]
367         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
368         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
370 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
372         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
373         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
375 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
377         [BZ #14117]
378         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
379         <bits/wordsize.h>.
380         (__WCHAR_MIN): Support __WORDSIZE == 64.
381         (__WCHAR_MAX): Likewise.
383         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
384         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
386         [BZ #14183]
387         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
388         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
390         [BZ #14117]
391         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
392         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
394         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
395         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
397         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
398         Defined to 1 if __x86_64__ isn't defined.
399         (_STAT_VER_LINUX_OLD): New.
400         (st_atime): Remove duplicate.
401         (st_mtime): Likewise.
402         (st_ctime): Likewise.
404 2012-05-31  David S. Miller  <davem@davemloft.net>
406         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
407         entries.
409 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
411         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
412         gen-libm-test.pl.
414         [BZ #14132]
415         * elf/dl-reloc.c: Include <_itoa.h>.
416         (_dl_reloc_bad_type): Remove use of INTUSE.
417         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
418         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
419         * stdio-common/psiginfo.c (psiginfo): Likewise.
420         * stdio-common/psignal.c (psignal): Likewise.
421         * string/strsignal.c (strsignal): Likewise.
422         * include/signal.h (_sys_siglist): Declare hidden proto.
423         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
424         INTVARDEF with libc_hidden_data_def.
425         * stdio-common/itoa-udigits.c: Likewise.
426         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
427         (_itoa_lower_digits_internal): Remove declaration.
428         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
429         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
430         (_sys_sigabbrev_internal): Remove aliases.
431         (_sys_siglist): Define hidden alias.
433 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
436         bits/sysctl.h.
438 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
440         [BZ #14117]
441         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
442         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
444         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
445         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
446         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
447         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
448         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
449         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
451         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
452         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
453         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
455         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
456         with __addr.
457         (insw): Likewise.
458         (insl): Likewise.
459         (outsb): Likewise.
460         (outsw): Likewise.
461         (outsl): Likewise.
463         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
464         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
465         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
467         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
468         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
469         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
470         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
471         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
472         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
474         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
475         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
477         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
478         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
480         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
481         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
482         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
484         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
485         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
486         to ...
487         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
489         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
490         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
491         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
493         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
494         for x86-64.
495         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
497 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
499         * math/math.h (M_El): Use two more decimal places.
500         (M_LOG2El): Likewise.
501         (M_LOG10El): Likewise.
502         (M_LN2l): Likewise.
503         (M_LN10l): Likewise.
504         (M_PIl): Likewise.
505         (M_PI_2l): Likewise.
506         (M_PI_4l): Likewise.
507         (M_1_PIl): Likewise.
508         (M_2_PIl): Likewise.
509         (M_2_SQRTPIl): Likewise.
510         (M_SQRT2l): Likewise.
511         (M_SQRT1_2l): Likewise.
513 2012-05-31  David S. Miller  <davem@davemloft.net>
515         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
516         values between float registers.
517         * sysdeps/sparc/sparc64/memset.S: Likewise.
518         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
520 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
522         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
523         -D_FORTIFY_SOURCE=1.
524         (CPPFLAGS-tst-longjmp_chk.c): Define.
525         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
526         (CPPFLAGS-tst-longjmp_chk2.c): Define.
527         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
528         CFLAGS-tst-wchar-h.c.
530 2012-05-31  Marek Polacek  <polacek@redhat.com>
532         [BZ #14132]
533         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
534         __endmntent_internal): Remove declaration.
535         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
536         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
537         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
539 2012-05-30  David S. Miller  <davem@davemloft.net>
541         * sysdeps/sparc/sparc32/soft-fp/q_util.c
542         (___Q_simulate_exceptions): Use real FP ops rather than writing
543         into the %fsr.
544         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
545         Likewise.
547 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
549         [BZ #14117]
550         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
551         * sysdeps/x86/bits/xtitypes.h: This.
553         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
554         * sysdeps/x86/bits/wordsize.h: This.
556         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
557         * sysdeps/x86/bits/huge_vall.h: This.
559         * sysdeps/i386/bits/select.h: Removed.
560         * sysdeps/x86_64/bits/select.h: Renamed to ...
561         * sysdeps/x86/bits/select.h: This.
563         * sysdeps/i386/bits/setjmp.h: Removed.
564         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
565         * sysdeps/x86/bits/setjmp.h: This.
567         * sysdeps/i386/bits/mathdef.h: Removed.
568         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
569         * sysdeps/x86/bits/mathdef.h: This.
571 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
573         [BZ #14132]
574         * include/sys/socket.h (__connect_internal)
575         (__libc_sa_len_internal): Remove declaration.
576         (__connect, __libc_sa_len): Declare hidden_proto.
577         (SA_LEN): Remove use of INTUSE.
578         * socket/connect.c: Add libc_hidden_def.
579         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
580         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
581         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
582         alias.
583         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
584         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
585         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
586         of adding _internal alias.
588 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
590         [BZ #14117]
591         * sysdeps/i386/bits/link.h: Removed.
592         * sysdeps/i386/bits/linkmap.h: Likewise.
593         * sysdeps/x86_64/bits/link.h: Renamed to ...
594         * sysdeps/x86/bits/link.h: This.
595         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
596         * sysdeps/x86/bits/linkmap.h: This.
598         * sysdeps/i386/bits/endian.h: Removed.
599         * sysdeps/x86_64/bits/endian.h: Renamed to ...
600         * sysdeps/x86/bits/endian.h: This.
602         * sysdeps/i386/bits/byteswap.h: Removed.
603         * sysdeps/i386/bits/byteswap-16.h: Likewise.
604         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
605         * sysdeps/x86/bits/byteswap.h: This.
606         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
607         * sysdeps/x86/bits/byteswap-16.h: This.
608         * sysdeps/i386/Implies: Add x86.
609         * sysdeps/x86_64/Implies: Likewise.
611 2012-05-30  David S. Miller  <davem@davemloft.net>
613         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
614         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
615         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
616         (FP_TRAPPING_EXCEPTIONS): Define.
617         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
618         (FP_TRAPPING_EXCEPTIONS): Define.
619         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
620         subnormals only when inexact has been signalled or underflow
621         exceptions are enabled.
622         (_FP_PACK_CANONICAL): Likewise.
624 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
626         [BZ #14183]
627         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
628         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
630 2012-05-30  Richard Henderson  <rth@twiddle.net>
632         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
633         with #ifndef NOT_IN_libc.
635         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
636         marked to avoid plt entry.
638 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
640         [BZ #14112]
641         * Makeconfig (default-abi): New macro.
642         (abi-includes): Likewise.
643         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
644         $(abi-$(default-abi)-lib-soname) for soname if defined.
645         ($(common-objpfx)gnu/lib-names.stmp): Generate from
646         abi-variants.
647         * Makefile (installed-stubs): Likewise.
648         * include/stubs-biarch.h: Removed.
649         * scripts/lib-names.awk: Only handle one library at a time.
650         * scripts/soversions.awk: Remove WORDSIZE support.
651         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
652         entries.
653         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
654         Removed.
655         (syscall-list-default-condition): Likewise.
656         (syscall-list-default-condition): Likewise.
657         (syscall-list-includes): Likewise.
658         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
659         syscall-list-* with abi-*.  Handle undefined abi-variants.
660         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
661         * sysdeps/unix/sysv/linux/i386/Implies: New file.
662         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
663         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
664         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
665         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
666         Removed.
667         (syscall-list-32-options): Likewise.
668         (syscall-list-32-condition): Likewise.
669         (syscall-list-64-options): Likewise.
670         (syscall-list-64-condition): Likewise.
671         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
672         macro.
673         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
674         Renamed to ...
675         (abi-*): This.
676         (abi-64-ld-soname): New macro.
677         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
678         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
679         Renamed to ...
680         (abi-*): This.
681         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
682         * sysdeps/x86_64/x32/shlib-versions: Likewise.
684 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
686         * sysdeps/unix/sysv/linux/kernel-features.h
687         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
688         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
689         include <kernel-features.h>.
690         [!__NR_ftruncate64]: Remove conditional code.
691         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
692         [__NR_ftruncate64]: Make code unconditional.
693         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
694         * sysdeps/unix/sysv/linux/truncate64.c: Do not
695         include <kernel-features.h>.
696         [!__NR_ftruncate64]: Remove conditional code.
697         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
698         [__NR_ftruncate64]: Make code unconditional.
699         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
701         include <kernel-features.h>.
702         [!__NR_ftruncate64]: Remove conditional code.
703         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
704         [__NR_ftruncate64]: Make code unconditional.
705         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
707         include <kernel-features.h>.
708         [!__NR_ftruncate64]: Remove conditional code.
709         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
710         [__NR_ftruncate64]: Make code unconditional.
711         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
713         * configure.in (libc_cv_fpie): Weaken to a compile test using
714         LIBC_TRY_CC_OPTION.
715         * configure: Regenerated.
717 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
723         Refreshed.
724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
730         Refreshed.
732 2012-05-27  David S. Miller  <davem@davemloft.net>
734         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
735         (___Q_zero): New.
736         (__Q_simulate_exceptions): Return void.  Change to simulate
737         exceptions by writing into the %fsr.
738         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
739         (__Qp_handle_exceptions): Likewise.
740         (numbers): Delete.
741         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
742         __Qp_handle_exceptions.
743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
744         __Qp_handle_exceptions.
745         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
746         as unused and give dummy FP_RND_NEAREST initializer.
747         (FP_INHIBIT_RESULTS): Define.
748         (___Q_simulate_exceptions): Update declaration.
749         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
750         formatting.
751         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
752         as unused and give dummy FP_RND_NEAREST initializer.
753         (__Qp_handle_exceptions): Update declaration.
754         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
755         formatting.
757 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
759         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
760         the temporary FPU control word.
761         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
762         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
763         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
764         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
765         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
766         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
767         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
768         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
769         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
770         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
771         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
773 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
775         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
776         fields.
778 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
780         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
781         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
782         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
783         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
784         Likewise.
785         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
786         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
787         Likewise.
789 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
791         * po/h.po: Update from translation team.
793 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
795         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
797         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
798         handling of denormals.
799         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
800         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
801         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
802         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
806         Likewise.
808 2012-05-26  Marek Polacek  <polacek@redhat.com>
810         [BZ #14152]
811         * math/libm-test.inc (fma_test): Don't always expect underflow
812         exception.
814 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
816         [BZ #12416]
817         * elf/tst-execstack.c: Include stackinfo.h.
818         (do_test): Adjust test case to ensure that pthread_getattr_np
819         behaviour remains the same after marking stack executable.
821 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
823         * sysdeps/unix/sysv/linux/kernel-features.h
824         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
825         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
826         kernel-features.h.
827         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
828         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
829         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
830         kernel-features.h.
831         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
832         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
834 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
836         * configure.in: Define the default includes to being none.
837         * configure: Regenerated.
839 2012-05-25  Roland McGrath  <roland@hack.frob.com>
841         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
842         * sysdeps/x86_64/setjmp.S: Likewise.
843         * sysdeps/i386/bsd-setjmp.S: Likewise.
844         * sysdeps/i386/bsd-_setjmp.S: Likewise.
845         * sysdeps/i386/setjmp.S: Likewise.
846         * sysdeps/i386/__longjmp.S: Likewise.
847         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
848         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
850         * include/stap-probe.h: New file.
851         * configure.in: Handle --enable-systemtap.
852         * configure: Regenerated.
853         * config.h.in (USE_STAP_PROBE): New #undef.
854         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
855         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
856         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
858 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
860         [BZ #13717]
861         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
862         to 2.4.0 where earlier.
863         * sysdeps/unix/sysv/linux/configure: Regenerated.
864         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
865         <kernel-features.h>.
866         [__ASSUME_32BITUIDS]: Make code unconditional.
867         [!__ASSUME_32BITUIDS]: Remove conditional code.
868         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
869         <kernel-features.h>.
870         [__ASSUME_32BITUIDS]: Make code unconditional.
871         [!__ASSUME_32BITUIDS]: Remove conditional code.
872         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
873         [__ASSUME_32BITUIDS]: Make code unconditional.
874         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
875         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
876         <kernel-features.h>.
877         [__ASSUME_32BITUIDS]: Make code unconditional.
878         [!__ASSUME_32BITUIDS]: Remove conditional code.
879         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
880         <kernel-features.h>.
881         [__ASSUME_32BITUIDS]: Make code unconditional.
882         [!__ASSUME_32BITUIDS]: Remove conditional code.
883         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
884         <kernel-features.h>.
885         [__ASSUME_32BITUIDS]: Make code unconditional.
886         [!__ASSUME_32BITUIDS]: Remove conditional code.
887         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
888         <kernel-features.h>.
889         [__ASSUME_32BITUIDS]: Make code unconditional.
890         [!__ASSUME_32BITUIDS]: Remove conditional code.
891         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
892         <kernel-features.h>.
893         [__ASSUME_32BITUIDS]: Make code unconditional.
894         [!__ASSUME_32BITUIDS]: Remove conditional code.
895         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
896         <kernel-features.h>.
897         [__ASSUME_32BITUIDS]: Make code unconditional.
898         [!__ASSUME_32BITUIDS]: Remove conditional code.
899         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
900         <kernel-features.h>.
901         [__ASSUME_32BITUIDS]: Make code unconditional.
902         [!__ASSUME_32BITUIDS]: Remove conditional code.
903         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
904         <kernel-features.h>.
905         [__ASSUME_32BITUIDS]: Make code unconditional.
906         [!__ASSUME_32BITUIDS]: Remove conditional code.
907         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
908         <kernel-features.h>.
909         [__ASSUME_32BITUIDS]: Make code unconditional.
910         [!__ASSUME_32BITUIDS]: Remove conditional code.
911         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
912         <kernel-features.h>.
913         [__ASSUME_32BITUIDS]: Make code unconditional.
914         [!__ASSUME_32BITUIDS]: Remove conditional code.
915         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
916         <kernel-features.h>.
917         [__NR_setresgid] (__setresgid): Do not declare.
918         [__ASSUME_32BITUIDS]: Make code unconditional.
919         [!__ASSUME_32BITUIDS]: Remove conditional code.
920         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
921         <kernel-features.h>.
922         [__NR_setresuid] (__setresuid): Do not declare.
923         [__ASSUME_32BITUIDS]: Make code unconditional.
924         [!__ASSUME_32BITUIDS]: Remove conditional code.
925         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
926         <kernel-features.h>.
927         [__ASSUME_32BITUIDS]: Make code unconditional.
928         [!__ASSUME_32BITUIDS]: Remove conditional code.
929         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
930         <kernel-features.h>.
931         [__ASSUME_32BITUIDS]: Make code unconditional.
932         [!__ASSUME_32BITUIDS]: Remove conditional code.
933         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
934         <kernel-features.h>.
935         [__ASSUME_32BITUIDS]: Make code unconditional.
936         [!__ASSUME_32BITUIDS]: Remove conditional code.
937         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
938         <kernel-features.h>.
939         [__ASSUME_32BITUIDS]: Make code unconditional.
940         [!__ASSUME_32BITUIDS]: Remove conditional code.
941         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
942         <kernel-features.h>.
943         [__ASSUME_32BITUIDS]: Make code unconditional.
944         [!__ASSUME_32BITUIDS]: Remove conditional code.
945         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
946         <kernel-features.h>.
947         [__ASSUME_32BITUIDS]: Make code unconditional.
948         [!__ASSUME_32BITUIDS]: Remove conditional code.
949         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
950         <kernel-features.h>.
951         [__ASSUME_32BITUIDS]: Make code unconditional.
952         [!__ASSUME_32BITUIDS]: Remove conditional code.
953         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
954         <kernel-features.h>.
955         [__ASSUME_32BITUIDS]: Make code unconditional.
956         [!__ASSUME_32BITUIDS]: Remove conditional code.
957         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
958         <kernel-features.h>.
959         [__ASSUME_32BITUIDS]: Make code unconditional.
960         [!__ASSUME_32BITUIDS]: Remove conditional code.
961         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
962         <kernel-features.h>.
963         [__ASSUME_32BITUIDS]: Make code unconditional.
964         [!__ASSUME_32BITUIDS]: Remove conditional code.
965         * sysdeps/unix/sysv/linux/kernel-features.h
966         (__ASSUME_SETRESUID_SYSCALL): Remove.
967         (__ASSUME_SETRESGID_SYSCALL): Likewise.
968         (__ASSUME_32BITUIDS): Likewise.
969         (__ASSUME_LDT_WORKS): Likewise.
970         (__ASSUME_O_DIRECTORY): Likewise.
971         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
972         architecture but not kernel version.
973         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
974         (__ASSUME_MMAP2_SYSCALL): Likewise.
975         (__ASSUME_STAT64_SYSCALL): Likewise.
976         (__ASSUME_IPC64): Likewise.
977         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
978         <kernel-features.h>.
979         [__ASSUME_32BITUIDS]: Make code unconditional.
980         [!__ASSUME_32BITUIDS]: Remove conditional code.
981         * sysdeps/unix/sysv/linux/opendir.c: Do not include
982         <kernel-features.h>.
983         [__ASSUME_O_DIRECTORY]: Make code unconditional.
984         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
985         132096]: Remove conditional code.
986         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
987         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
988         <kernel-features.h>.
989         [__ASSUME_32BITUIDS]: Make code unconditional.
990         [!__ASSUME_32BITUIDS]: Remove conditional code.
991         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
992         <kernel-features.h>.
993         [__ASSUME_32BITUIDS]: Make code unconditional.
994         [!__ASSUME_32BITUIDS]: Remove conditional code.
995         * sysdeps/unix/sysv/linux/setegid.c: Do not include
996         <kernel-features.h>.
997         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
998         unconditional.
999         (__setresgid): Do not declare.
1000         [__ASSUME_32BITUIDS]: Make code unconditional.
1001         [!__ASSUME_32BITUIDS]: Remove conditional code.
1002         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1003         <kernel-features.h>.
1004         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1005         unconditional.
1006         (__setresuid): Do not declare.
1007         [__ASSUME_32BITUIDS]: Make code unconditional.
1008         [!__ASSUME_32BITUIDS]: Remove conditional code.
1009         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1010         <kernel-features.h>.
1011         [__ASSUME_32BITUIDS]: Make code unconditional.
1012         [!__ASSUME_32BITUIDS]: Remove conditional code.
1013         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1014         <kernel-features.h>.
1015         [__ASSUME_32BITUIDS]: Make code unconditional.
1016         [!__ASSUME_32BITUIDS]: Remove conditional code.
1018 2012-05-25  Richard Henderson  <rth@twiddle.net>
1020         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1021         dl_hwcap to ifunc resolver.
1022         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1023         elf_ifunc_invoke.
1024         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1025         dl_hwcap to ifunc resolver.
1026         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1028 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1030         [BZ #14153]
1031         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1032         for |x| <= 2**-26, not 2**-57.
1033         * math/libm-test.inc (acos_test): Do not allow spurious underflow
1034         exception.
1036 2012-05-24  Jeff Law  <law@redhat.com>
1038         * stdio-common/Makefile (tests): Add bug25.
1039         * stdio-common/bug25.c: New test.
1041 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1043         [BZ #13576]
1044         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1045         multiple of MALLOC_ALIGNMENT in size.
1046         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1048 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1050         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1051         Require >= 256.
1052         (FILENAME_MAX): Use macro-int-constant.
1053         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
1054         (_IOFBF): Use macro-int-constant.
1055         (_IOLBF): Likewise.
1056         (_IONBF): Likewise.
1057         (SEEK_CUR): Likewise.
1058         (SEEK_END): Likewise.
1059         (SEEK_SET): Likewise.
1060         (TMP_MAX): Likewise.
1061         (EOF): Use macro-int-constant.  Require < 0.
1062         (NULL): Use macro-constant.  Require == 0.
1063         (stdin): Require type to be FILE *.
1064         (stdout): Likewise.
1065         (stderr): Likewise.
1066         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1067         macro-int-constant.
1068         (EXIT_SUCCESS): Likewise.
1069         (NULL): Use macro-constant.  Require == 0.
1070         (RAND_MAX): Use macro-int-constant.
1071         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1072         [C99-based standards] (strtof): Require function.
1073         [C99-based standards] (strtold): Likewise.
1074         [C99-based standards] (strtoll): Likewise.
1075         [C99-based standards] (strtoull): Likewise.
1076         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1077         [ISO || ISO99 || ISO11] (limits.h): Likewise.
1078         [ISO || ISO99 || ISO11] (math.h): Likewise.
1079         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1080         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1083 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
1085         [BZ #14132]
1086         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1087         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1088         * intl/dgettext.c (DCGETTEXT): Likewise.
1089         * intl/gettext.c (DCGETTEXT): Likewise.
1090         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1091         * posix/regex_internal.h (gettext): Likewise.
1092         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1093         Remove declaration.
1094         * include/argz.h (__argz_count_internal)
1095         (__argz_stringify_internal): Remove declaration.
1096         (__argz_count, __argz_stringify): Declare hidden proto.
1097         * intl/dcgettext.c: Remove use of INTDEF.
1098         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1099         * string/argz-stringify.c: Likewise.
1100         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1101         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1102         Declare hidden proto.
1103         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1104         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1105         Declare hidden proto.
1106         * include/stdio.h (__asprintf_internal): Don't declare.
1107         (__asprintf): Don't define as macro.  Declare hidden proto.
1108         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1109         (__fsetlocking): Declare hidden proto.
1110         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1111         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1112         hidden proto.
1113         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1114         (_IO_setlinebuf): Remove use of INTUSE.
1115         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1116         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1117         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1118         Remove declaration.
1119         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1120         (_IO_do_flush): Remove use of INTUSE.
1121         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1122         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1123         (_IO_adjust_column, _IO_least_wmarker)
1124         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1125         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1126         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1127         (_IO_default_doallocate, _IO_wdefault_doallocate)
1128         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1129         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1130         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1131         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1132         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1133         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1134         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1135         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1136         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1137         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1138         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1139         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1140         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1141         proto.
1142         (_IO_flush_all_internal, _IO_adjust_column_internal)
1143         (_IO_default_uflow_internal, _IO_default_finish_internal)
1144         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1145         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1146         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1147         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1148         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1149         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1150         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1151         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1152         (_IO_file_close_internal, _IO_file_close_it_internal)
1153         (_IO_file_underflow_internal, _IO_file_overflow_internal)
1154         (_IO_file_init_internal, _IO_file_attach_internal)
1155         (_IO_file_fopen_internal, _IO_file_read_internal)
1156         (_IO_file_sync_internal, _IO_file_seek_internal)
1157         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1158         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1159         (_IO_str_underflow_internal, _IO_str_overflow_internal)
1160         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1161         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1162         (_IO_list_all_internal, _IO_link_in_internal)
1163         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1164         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1165         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1166         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1167         (_IO_do_write_internal, _IO_padn_internal)
1168         (_IO_getline_info_internal, _IO_getline_internal)
1169         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1170         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1171         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1172         (_IO_vfscanf_internal, _IO_vfprintf_internal)
1173         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1174         (_IO_init_internal, _IO_un_link_internal): Don't declare.
1175         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1176         with libc_hidden_ver, remove use of INTUSE.
1177         * libio/genops.c: Likewise.
1178         * libio/freopen.c: Likewise.
1179         * libio/freopen64.c: Likewise.
1180         * libio/iofclose.c: Likewise.
1181         * libio/iofdopen.c: Likewise.
1182         * libio/iofflush.c: Likewise.
1183         * libio/iofflush_u.c: Likewise.
1184         * libio/iofgets.c: Likewise.
1185         * libio/iofgets_u.c: Likewise.
1186         * libio/iofopen.c: Likewise.
1187         * libio/iofopncook.c: Likewise.
1188         * libio/iofread.c: Likewise.
1189         * libio/iofread_u.c: Likewise.
1190         * libio/ioftell.c: Likewise.
1191         * libio/iofwrite.c: Likewise.
1192         * libio/iogetline.c: Likewise.
1193         * libio/iogets.c: Likewise.
1194         * libio/iogetwline.c: Likewise.
1195         * libio/iopadn.c: Likewise.
1196         * libio/iopopen.c: Likewise.
1197         * libio/ioseekoff.c: Likewise.
1198         * libio/ioseekpos.c: Likewise.
1199         * libio/iosetbuffer.c: Likewise.
1200         * libio/iosetvbuf.c: Likewise.
1201         * libio/ioungetc.c: Likewise.
1202         * libio/ioungetwc.c: Likewise.
1203         * libio/iovdprintf.c: Likewise.
1204         * libio/iovsprintf.c: Likewise.
1205         * libio/iovsscanf.c: Likewise.
1206         * libio/memstream.c: Likewise.
1207         * libio/obprintf.c: Likewise.
1208         * libio/oldfileops.c: Likewise.
1209         * libio/oldiofclose.c: Likewise.
1210         * libio/oldiofdopen.c: Likewise.
1211         * libio/oldiofopen.c: Likewise.
1212         * libio/oldiopopen.c: Likewise.
1213         * libio/oldstdfiles.c: Likewise.
1214         * libio/putc.c: Likewise.
1215         * libio/setbuf.c: Likewise.
1216         * libio/setlinebuf.c: Likewise.
1217         * libio/stdfiles.c: Likewise.
1218         * libio/strops.c: Likewise.
1219         * libio/vasprintf.c: Likewise.
1220         * libio/vscanf.c: Likewise.
1221         * libio/vsnprintf.c: Likewise.
1222         * libio/vswprintf.c: Likewise.
1223         * libio/wfiledoalloc.c: Likewise.
1224         * libio/wfileops.c: Likewise.
1225         * libio/wgenops.c: Likewise.
1226         * libio/wmemstream.c: Likewise.
1227         * libio/wstrops.c: Likewise.
1228         * libio/__fpurge.c: Likewise.
1229         * libio/__fsetlocking.c: Likewise.
1230         * assert/assert.c: Likewise.
1231         * debug/fgets_chk.c: Likewise.
1232         * debug/fgets_u_chk.c: Likewise.
1233         * debug/fread_chk.c: Likewise.
1234         * debug/fread_u_chk.c: Likewise.
1235         * debug/gets_chk.c: Likewise.
1236         * debug/obprintf_chk.c: Likewise.
1237         * debug/vasprintf_chk.c: Likewise.
1238         * debug/vdprintf_chk.c: Likewise.
1239         * debug/vsnprintf_chk.c: Likewise.
1240         * debug/vsprintf_chk.c: Likewise.
1241         * malloc/mtrace.c: Likewise.
1242         * misc/error.c: Likewise.
1243         * misc/syslog.c: Likewise.
1244         * stdio-common/asprintf.c: Likewise.
1245         * stdio-common/fxprintf.c: Likewise.
1246         * stdio-common/getw.c: Likewise.
1247         * stdio-common/isoc99_fscanf.c: Likewise.
1248         * stdio-common/isoc99_scanf.c: Likewise.
1249         * stdio-common/isoc99_vfscanf.c: Likewise.
1250         * stdio-common/isoc99_vscanf.c: Likewise.
1251         * stdio-common/isoc99_vsscanf.c: Likewise.
1252         * stdio-common/printf-prs.c: Likewise.
1253         * stdio-common/printf_fp.c: Likewise.
1254         * stdio-common/printf_fphex.c: Likewise.
1255         * stdio-common/printf_size.c: Likewise.
1256         * stdio-common/putw.c: Likewise.
1257         * stdio-common/scanf.c: Likewise.
1258         * stdio-common/sprintf.c: Likewise.
1259         * stdio-common/tmpfile.c: Likewise.
1260         * stdio-common/vfprintf.c: Likewise.
1261         * stdio-common/vfscanf.c: Likewise.
1262         * stdlib/strfmon_l.c: Likewise.
1263         * sunrpc/openchild.c: Likewise.
1264         * sunrpc/xdr_stdio.c: Likewise.
1265         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1266         * sysdeps/mach/hurd/tmpfile.c: Likewise.
1268 2012-05-24  Roland McGrath  <roland@hack.frob.com>
1270         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1272         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1273         in the third column, to generate for the shared library an IFUNC
1274         that uses _dl_vdso_vsym.
1275         * Makerules (COMPILE.c, compile-stdin.c): New variables.
1276         * Makeconfig (object-suffixes-noshared): New variable.
1278         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1279         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1280         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1281         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1283         [BZ #14132]
1284         * include/sys/time.h (__gettimeofday): Remove macro.
1285         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1286         * time/gettimeofday.c (__gettimeofday): Remove #undef.
1287         Remove INTDEF.
1288         (__gettimeofday): Add libc_hidden_def.
1289         (gettimeofday): Add libc_hidden_weak.
1290         * sysdeps/mach/gettimeofday.c: Likewise.
1291         * sysdeps/posix/gettimeofday.c: Likewise.
1292         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1293         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1294         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1295         (__gettimeofday_internal): Remove strong_alias.
1296         (__gettimeofday): Add libc_hidden_def.
1297         (gettimeofday): Add libc_hidden_weak.
1298         * sysdeps/unix/syscalls.list (gettimeofday):
1299         Remove __gettimeofday_internal alias.
1301 2012-05-24  Daniel Jacobowitz  <drow@false.org>
1302             H.J. Lu  <hongjiu.lu@intel.com>
1304         [BZ #12495]
1305         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1306         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1307         (largebin_index_32_big): New.
1308         (largebin_index): Use it for 16-byte alignment.
1309         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
1310         correction with front_misalign.
1312 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1316         Likewise.
1317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1318         Likewise.
1319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1320         Likewise.
1321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1322         Likewise.
1323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1324         Likewise.
1325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1326         Likewise.
1327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1328         Likewise.
1329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1330         Likewise.
1331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1332         Likewise.
1333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1334         Likewise.
1335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1336         Likewise.
1337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1338         Likewise.
1340         * scripts/data/c++-types-x32-linux-gnu.data: New file.
1341         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1343 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1345         [BZ #10846]
1346         [BZ #14036]
1347         * math/libm-test.inc (exp_test): Add test from bug 14036.
1348         (pow_test): Add test from bug 10846.
1350         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1351         and other flags.
1352         (special_function): Do not include flags in test name.
1353         (parse_args): Likewise.
1354         * sysdeps/i386/fpu/libm-test-ulps: Update.
1355         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1356         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1357         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1360         * math/gen-libm-test.pl (%beautify): Add entries for underflow
1361         exceptions.
1362         * math/libm-test.inc ("Philosophy"): Update comment about
1363         exception testing.
1364         (UNDERFLOW_EXCEPTION): New macro.
1365         (UNDERFLOW_EXCEPTION_OK): Likewise.
1366         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1367         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1368         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1369         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1370         (INVALID_EXCEPTION_OK): Update value.
1371         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1372         (OVERFLOW_EXCEPTION_OK): Likewise.
1373         (IGNORE_ZERO_INF_SIGN): Likewise.
1374         (test_exceptions): Handle underflow exceptions.
1375         (acos_test): Update for underflow exception expectations.
1376         (cexp_test): Likewise.
1377         (clog_test): Likewise.
1378         (clog10_test): Likewise.
1379         (csqrt_test): Likewise.
1380         (ctan_test): Likewise.
1381         (ctanh_test): Likewise.
1382         (exp_test): Likewise.
1383         (exp10_test): Likewise.
1384         (exp2_test): Likewise.
1385         (expm1_test): Likewise.
1386         (fma_test): Likewise.
1387         (j0_test): Likewise.
1388         (jn_test): Likewise.
1389         (nexttoward_test): Likewise.
1390         (pow_test): Likewise.
1391         (scalbn_test): Likewise.
1392         (scalbln_test): Likewise.
1393         (tan_test): Likewise.
1394         (y1_test): Likewise.
1395         * sysdeps/i386/fpu/libm-test-ulps: Update.
1396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1398 2012-05-23  David S. Miller  <davem@davemloft.net>
1400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1401         (__libc_sigaction): Remove unused local variables.
1403 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1405         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1407 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1409         mktime: avoid signed integer overflow
1410         * time/mktime.c (__mktime_internal): Do not mishandle the case
1411         where diff == INT_MIN.
1413         mktime: simplify computation of average
1414         * time/mktime.c (ranged_convert): Use new time_t_avg function
1415         instead of rolling our own (probably-slower) code.
1417         mktime: do not assume signed right shift propagates sign bit
1418         * time/mktime.c (isdst_differ): New static function.
1419         (__mktime_internal): No need to normalize tm_isdst now.
1420         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1421         tm_isdst values.
1423         mktime: merge another wrapv change from gnulib
1424         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1425         from some compilers.
1427         mktime: remove incorrect attempt at unusual arithmetics
1428         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1429         The code didn't really work on such machines anyway.
1430         (TYPE_MINIMUM): Assume two's complement.
1431         (twos_complement_arithmetic): Verify that long_int and time_t
1432         are two's complement (or unsigned, in the latter case).
1434         mktime: check signed shifts on long_int and time_t, too
1435         * time/mktime.c (SHR): Check that shifts work as desired
1436         on the types long_int and time_t too, as SHR is used on
1437         such types.
1439         mktime: do not assume 'long' is wide enough
1440         * time/mktime.c (verify): Move decl up.
1441         (long_int): New type.
1442         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1443         to remove assumption in the code that 'long' is wide enough to
1444         store year values.  This assumption is not true on x32 and on
1445         some non-glibc platforms.
1447         mktime: merge wrapv change from gnulib
1448         * time/mktime.c (WRAPV): New macro.
1449         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1450         (guess_time_tm, __mktime_internal): Do not assume that signed
1451         integer overflow wraps around; modern compilers generate code
1452         where this assumption is no longer valid.
1454 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1456         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1457         Replace "jmp L(pseudo_end)" with "ret".
1458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1459         Likewise.
1461 2012-05-23  Andreas Jaeger  <aj@suse.de>
1463         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1464         * sysdeps/unix/sysv/linux/poll.c: Remove file.
1466 2012-05-23  Andreas Jaeger  <aj@suse.de>
1467             Maximilian Attems  <max@stro.at>
1469         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1470         New macros.
1472 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1474         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1475         code so that pseudo_end is just ret and the stack pointer is
1476         correct also for static library in error case.
1478 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1480         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1481         move to syscalls.list.
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1487         * manual/install.texi (Running make install): Do not mention Linux
1488         kernel version for which pt_chown is not needed.
1489         (Linux): Do not mention problems with nscd with 2.0 kernels.
1490         * INSTALL: Regenerated.
1492 2012-05-23  Andreas Jaeger  <aj@suse.de>
1494         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1495         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1496         macro.
1497         * sysdeps/unix/sysv/linux/s390/bits/mman.h
1498         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1499         * sysdeps/unix/sysv/linux/sh/bits/mman.h
1500         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1501         * sysdeps/unix/sysv/linux/i386/bits/mman.h
1502         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1503         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1504         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1505         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1506         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1507         * sysdeps/unix/sysv/linux/bits/in.h
1508         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1510 2012-05-22  Roland McGrath  <roland@hack.frob.com>
1512         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1513         (PREPARE_VERSION): Just use assert instead, it will be elided
1514         under [NDEBUG] anyway.
1516 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1518         * sysdeps/unix/sysv/linux/Makefile: Include
1519         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1520         (sysdep_routines): Remove sysctl.
1521         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1522         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1523         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1524         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1525         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1527 2012-05-22  Andreas Jaeger  <aj@suse.de>
1529         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1530         that pseudo_end is just ret and the stack pointer is correct also
1531         for static library in error case.
1533 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1535         [BZ #14122]
1536         * nss/nsswitch.c (defconfig_entries): New variable.
1537         (__nss_database_lookup): Don't leak defconfig entries.
1538         (nss_parse_service_list): Don't leak on error paths.
1539         (free_database_entries): New function.
1540         (free_defconfig): New function.
1541         (free_mem): Move common code to free_database_entries.
1543 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1545         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1546         Add arch_prctl.
1547         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1549         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1550         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1552         New macro.
1553         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1554         (INTERNAL_SYSCALL_TYPES): Likewise.
1555         (LOAD_ARGS_TYPES_[1-6]): Likewise.
1556         (LOAD_REGS_TYPES_[1-6]): Likewise.
1557         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1558         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1560 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1562         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1563         copysignl for GLIBC_2_0.
1564         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1565         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1566         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1567         logbl for GLIBC_2_0.
1568         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1569         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1571 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1573         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1574         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1576         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1577         Use "neg %eax".
1579         * time/mktime.c: Update copyright years.
1581 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1583         mktime: merge comment-quoting-style change from gnulib
1584         * time/mktime.c: Quote 'like this' in comments.
1585         The GNU coding standards suggest that we no longer quote `like this',
1586         as "`" and "'" are typically rendered asymmetrically nowadays.
1587         The typical gnulib style is to quote 'like this' when quoting
1588         code, and "like this" when quoting English.
1590         * time/mktime.c (compile-command): Add "-I.".
1592         mktime: merge mktime-internal.h change from gnulib
1593         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1595         mktime: merge time_r change from gnulib
1596         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1598         mktime: merge DEBUG change from gnulib
1599         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1600         case system <time.h> has a #define.
1602         mktime: merge <sys/types.h> change from gnulib
1603         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1604         since <time.t> is now guaranteed to define time_t.
1606         mktime: merge HAVE_CONFIG_H change from gnulib
1607         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1609 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1611         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1612         Use "neg %eax".
1614         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1615         __rlim_t cast.
1616         (struct rusage): Use anonymous union to pad each field to
1617         __syscall_slong_t.
1619 2012-05-21  David S. Miller  <davem@davemloft.net>
1621         * Makefules (o-iterator): Remove .s cases.
1622         (compile-command.s): Delete.
1623         (COMPILE.s): Delete.
1624         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1626 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1628         * configure.in (libc_cv_predef_stack_protector): Only consider
1629         "foobar" and "__stack_chk_fail" lines in libc_undefs.
1630         * configure: Regenerated.
1632 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1635         New macro.  Use R*LP on int and pointer.
1636         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1637         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1638         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1639         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1641         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1642         [__WORDSIZE_TIME64_COMPAT32] instead of
1643         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1644         (struct utmp): Likewise.
1645         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1646         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1647         Renamed to ...
1648         (__WORDSIZE_TIME64_COMPAT32): This.
1649         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1650         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1651         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1652         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1653         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1654         (__WORDSIZE_TIME64_COMPAT32): New macro.
1656 2012-05-21  Andreas Jaeger  <aj@suse.de>
1658         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1659         only if [SHARED]. Add prototype for __wcschr_ia32.
1661 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1663         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1664         of %rbp unmolested in the jmp_buf while mangling the low bits.
1665         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1666         unmolested high bits of %rbp while demangling the low bits.
1667         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1669 2012-05-21  Andreas Jaeger  <aj@suse.de>
1671         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1672         * sunrpc/svc_simple.c: Use it for registerrpc.
1673         * sunrpc/xcrypt.c: Use it for passwd2des.
1675         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1677 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1679         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1680         Don't define if [__SYSCALL_WORDSIZE != 32].
1681         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1682         New macro.
1684 2012-05-21  Bruno Haible  <bruno@clisp.org>
1685             Andreas Jaeger  <aj@suse.de>
1687         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1688         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1689         inptr and inend for must_buffer_ch.
1690         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1691         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1692         * stdio-common/Makefile (tests): Remove bug15.
1693         (bug15-ENV): Remove macro.
1694         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1695         anymore.
1697 2012-05-19  Andreas Jaeger  <aj@suse.de>
1698             Roland McGrath  <roland@hack.frob.com>
1700         * manual/contrib.texi: Completely rewritten. It contains now an
1701         alphabetical list of contributors and their contributions.
1703 2012-05-21  Richard Henderson  <rth@twiddle.net>
1705         * misc/getauxval.c (__getauxval): Use unsigned long int.
1706         * misc/sys/auxv.h: Include <sys/cdefs.h>.
1707         (getauxval): Use unsigned long int.
1709 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1711         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1713 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1715         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1716         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1717         __alignof__ (long double).
1719 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1723 2012-05-20  Richard Henderson  <rth@twiddle.net>
1725         * misc/getauxval.c: New file.
1726         * misc/sys/auxv.h: New file.
1727         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1728         (routines): Add getauxval.
1729         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1730         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1731         * elf/dl-sysdep.c (_dl_auxv): Remove.
1732         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1733         * elf/dl-support.c (_dl_auxv): New variable.
1734         (_dl_aux_init): Initialize it.
1735         * manual/startup.texi (Auxiliary Vector): New node.
1736         * sysdeps/generic/bits/hwcap.h: New file.
1737         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1738         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
1739         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1740         * sysdeps/sparc/sysdep.h: ... here.  Include it.
1741         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1742         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1744         Update.
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1754 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1758 2012-05-19  David S. Miller  <davem@davemloft.net>
1760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1762 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1764         [BZ #14123]
1765         * math/s_ccosh.c: Include <float.h>
1766         (__ccosh): Avoid internal overflow calculating sinh and cosh
1767         values before multiplying by sin and cos values.
1768         * math/s_ccoshf.c: Likewise.
1769         * math/s_ccoshl.c: Likewise.
1770         * math/s_csin.c: Likewise.
1771         * math/s_csinf.c: Likewise.
1772         * math/s_csinl.c: Likewise.
1773         * math/s_csinh.c: Likewise.
1774         * math/s_csinhf.c: Likewise.
1775         * math/s_csinhl.c: Likewise.
1776         * math/libm-test.inc (ccos_test): Add more tests.
1777         (ccosh_test): Likewise.
1778         (csin_test): Likewise.
1779         (csinh_test): Likewise.
1780         * sysdeps/i386/fpu/libm-test-ulps: Update.
1781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1783 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1785         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1786         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1788         * sysdeps/x86_64/x32/_itoa.h: Add comment.
1790 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1792         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1793         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1794         * sysdeps/powerpc/soft-fp/Versions: Likewise.
1795         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1796         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1797         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1798         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1799         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1800         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1801         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1802         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1803         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1804         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1805         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1806         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1807         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1808         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1809         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1810         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1811         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1812         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1813         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1814         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1815         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1816         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1817         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1818         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1819         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1820         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1821         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1822         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1824 2012-05-18  Andreas Jaeger  <aj@suse.de>
1826         * csu/.gitignore: Delete.
1828 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1830         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1831         (timex): Use __syscall_slong_t.
1833 2012-05-18  Andreas Jaeger  <aj@suse.de>
1834             Carlos O'Donell  <carlos_odonell@mentor.com>
1836         * manual/install.texi (Configuring and compiling): Update
1837         description about files modified in the source directory.
1838         * INSTALL: Regenerated.
1840 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1842         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1843         value.  Use "or" to set return value to -1.
1844         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1845         negate return value.
1847 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1849         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1850         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1851         failure if the compiler has Graphite support disabled.
1852         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1853         Likewise.
1854         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1855         CFLAGS-memmove.c): Likewise.
1856         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1857         Likewise.
1859 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1861         * sysdeps/x86_64/x32/_itoa.h: New file.
1863         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1864         getdents system call only if kernel and user dirents have the
1865         same d_ino and d_off.
1867         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1868         LLONG_MAX != LONG_MAX.
1869         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1870         (_fitoa_word): Likewise.
1872         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1873         years.
1874         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1875         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1876         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1878         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1879         include <bits/wordsize.h>.  Check __x86_64__ instead of
1880         __WORDSIZE.
1881         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1882         if __x86_64__ is defined.  Use anonymous union on fpstate.
1884         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1885         anonymous union.
1887 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
1889         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1890         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1891         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1892         Refer to _rtld_local_ro instead of _rtld_global_ro.
1893         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1894         Likewise.
1895         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1896         Likewise.
1897         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1898         Likewise.
1899         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1900         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1901         of _rtld_global, and rtld_progname instead of _dl_argv[0].
1903         * sysdeps/powerpc/powerpc32/dl-machine.c
1904         (__elf_machine_runtime_setup) [PROF]: Don't reference
1905         _dl_prof_resolve.
1907 2012-05-18  Andreas Jaeger  <aj@suse.de>
1909         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1910         function only available for GCCs before 3.4 since GCC 3.4
1911         introduced a builtin.
1912         (lrint): Likewise.
1913         (llrintf): Likewise.
1914         (llrint): Likewise.
1915         (fmaxf): Likewise.
1916         (fmax): Likewise.
1917         (fminf): Likewise.
1918         (fmin): Likewise.
1919         (rint): Likewise.
1920         (rintf): Likewise.
1921         (nearbyint): Likewise.
1922         (nearbyintf): Likewise.
1923         (ceil): Likewise.
1924         (ceilf): Likewise.
1925         (floor): Likewise.
1926         (floorf): Likewise.
1928 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1930         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1931         on both fields and cast pointer to __syscall_ulong_t.
1933         * bits/types.h (__fsword_t): New type.
1934         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1935         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1936         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1937         (__FSWORD_T_TYPE): Likewise.
1938         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1939         (__FSWORD_T_TYPE): Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1941         (__FSWORD_T_TYPE): Likewise.
1942         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1943         (__FSWORD_T_TYPE): Likewise.
1944         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1945         __SWORD_TYPE with __fsword_t.
1946         (statfs64): Likewise.
1948 2012-05-17  David S. Miller  <davem@davemloft.net>
1950         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1952 2012-05-17  Andreas Jaeger  <aj@suse.de>
1954         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1955         warning.
1957 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1959         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1961 2012-05-17  Andreas Jaeger  <aj@suse.de>
1963         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1964         when it is used.
1966 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
1968         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1970 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1972         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1973         * sysdeps/x86_64/tst-mallocalign1.c: New file.
1975 2012-05-17  Andreas Jaeger  <aj@suse.de>
1976             Carlos O'Donell  <carlos_odonell@mentor.com>
1978         [BZ #14059]
1979         * sysdeps/x86_64/multiarch/init-arch.h
1980         (bit_YMM_Usable): Rename to...
1981         (bit_AVX_Usable): ... this.
1982         (bit_FMA4_Usable): New macro.
1983         (bit_XMM_state): New macro.
1984         (bit_YMM_state): New macro.
1985         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1986         [__ASSEMBLER__] (index_AVX_Usable): ... this.
1987         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1988         (CPUID_OSXSAVE): New macro.
1989         (CPUID_AVX): New macro.
1990         (CPUID_FMA4): New macro.
1991         (index_YMM_Usable): Rename to...
1992         (index_AVX_Usable): ... this.
1993         (HAS_AVX): Use HAS_ARCH_FEATURE.
1994         (HAS_FMA4): Likewise.
1995         (HAS_YMM_USABLE): Remove.
1996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1997         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1998         are present.
1999         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2000         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2001         * sysdeps/x86_64/multiarch/Makefile: Likewise.
2002         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2003         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2005 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2007         * math/libm-test.c: Support platforms without multiple rounding modes.
2008         * math/bug-nextafter.c: Support platforms without FP exceptions.
2009         * math/bug-nexttoward.c: Likewise.
2010         * math/test-fenv.c: Likewise.
2011         * math/test-misc.c: Likewise.
2012         * stdlib/bug-getcontext.c: Likewise.
2014 2012-05-17  Andreas Jaeger  <aj@suse.de>
2016         * manual/examples/search.c (critter_cmp): Change signature to
2017         avoid warnings.
2018         * manual/string.texi (Collation Functions): Likewise.
2020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2022         * bits/types.h: Fold copyright years.
2023         * bits/typesizes.h: Likewise.
2024         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2025         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2028         * time/time.h: Likewise.
2030 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2032         [BZ #208]
2033         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2034         in instead of returning them.  Return void.
2035         (__libc_mallinfo): Accumulate over all arenas.
2036         (__malloc_stats): Adjust for change in int_mallinfo interface.
2038 2012-05-16  Roland McGrath  <roland@hack.frob.com>
2040         [BZ #10375]
2041         * configure.in (NM): Add AC_CHECK_TOOL for it.
2042         (libc_extra_cflags): New substituted variable.
2043         Check for -fstack-protector being used implicitly.
2044         * configure: Regenerated.
2045         * config.make.in (config-extra-cflags): New variable,
2046         gets @libc_extra_cflags@.
2047         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2049         [BZ #10375]
2050         * configure.in: Check for _FORTIFY_SOURCE being predefined.
2051         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2052         * configure: Regenerated.
2053         * config.make.in (CPPUNDEFS): New substituted variable.
2054         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2055         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2056         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2058 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2060         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2061         (mq_attr): Use __syscall_slong_t.
2063 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2065         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2066         Check __x86_64__ instead of __WORDSIZE.
2067         (_STAT_VER_LINUX): Likewise.
2068         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
2069         __syscall_ulong_t and __syscall_slong_t.
2070         (stat64): Likewise.
2072 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2074         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2076 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2078         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2080 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2082         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2083         __syscall_ulong_t.
2085         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2086         include <bits/wordsize.h>.  Check __x86_64__ instead of
2087         __WORDSIZE.
2088         (greg_t): Use "__extension__ long long int" if __x86_64__ is
2089         defined.
2090         (mcontext_t): Replace "unsigned long" with "unsigned long long".
2092         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2093         include <bits/wordsize.h>.  Check __x86_64__ instead of
2094         __WORDSIZE.
2095         (user_regs_struct): Use "__extension__ unsigned long long"
2096         instead of "unsigned long" if __x86_64__ is defined.
2097         (user): Likewise.  Pad after pointer field if __ILP32__ is
2098         defined.
2100 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
2102         * configure.in (makeinfo): Require version 4.5 or later.  Allow
2103         versions 5 to 9.
2104         * configure: Regenerated.
2105         * manual/install.texi (texinfo): Increase version requirement to
2106         4.5 or later.
2107         * INSTALL: Regenerated.
2109         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2111 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2113         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2115         * sysdeps/x86_64/x32/ffs.c: New file.
2117         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2118         __syscall_ulong_t.
2119         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2120         defined.  Use __syscall_ulong_t.
2121         (shminfo): Use __syscall_ulong_t.
2122         (shm_info): Likewise.
2124         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2125         __syscall_ulong_t.
2127         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2128         <bits/wordsize.h>.
2129         (msgqnum_t): Use __syscall_ulong_t.
2130         (msglen_t): Likewise.
2131         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
2132         __syscall_ulong_t.
2134         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2135         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2137         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2139         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2140         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2142         * sysvipc/sys/msg.h (msgbuf): Replace long int with
2143         __syscall_slong_t.
2145         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2146         include <bits/wordsize.h>.  Check __x86_64__ instead of
2147         __WORDSIZE.
2149         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2150         "unsigned long long int" if __x86_64__ is defined.
2151         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2153         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2154         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2155         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2157         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2158         <stdint.h>.
2159         (GET_PC): Cast to uintptr_t first.
2160         (GET_FRAME): Likewise.
2161         (GET_STACK): Likewise.
2163         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2164         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2165         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2166         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2167         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2168         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2169         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2170         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2171         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2172         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2173         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2174         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2175         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2176         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2177         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2178         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2179         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2180         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2181         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2182         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2183         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2184         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2185         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2186         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2187         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2188         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2189         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2190         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2191         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2193 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
2195         * Makerules (+depfiles): Also collect depfiles from .oS in
2196         $(extra-objs).
2197         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2198         .oS, $(libnldbl-routines)).
2200         * Makerules (native-compile-mkdep-flags): Define.
2201         * sunrpc/Makefile (extra-objs): Add $(addprefix
2202         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2203         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2204         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
2205         calling $(make-target-directory).
2207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2209         * bits/types.h (__snseconds_t): Removed.
2210         * time/time.h (struct timespec): Replace __snseconds_t with
2211         __syscall_slong_t.
2212         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2213         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2214         Likewise.
2215         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2216         (__SNSECONDS_T_TYPE): Likewise.
2217         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2218         (__SNSECONDS_T_TYPE): Likewise.
2219         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2220         (__SNSECONDS_T_TYPE): Likewise.
2222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2224         * sysdeps/mach/hurd/bits/typesizes.h
2225         (__SYSCALL_SLONG_TYPE): New macro.
2226         (__SYSCALL_ULONG_TYPE): Likewise.
2228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2230         * bits/types.h (__syscall_slong_t): New type.
2231         (__syscall_ulong_t): Likewise.
2233         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2234         (__SYSCALL_ULONG_TYPE): Likewise.
2235         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2236         (__SYSCALL_SLONG_TYPE): Likewise.
2237         (__SYSCALL_ULONG_TYPE): Likewise.
2238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2239         (__SYSCALL_SLONG_TYPE): Likewise.
2240         (__SYSCALL_ULONG_TYPE): Likewise.
2241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2242         (__SYSCALL_SLONG_TYPE): Likewise.
2243         (__SYSCALL_ULONG_TYPE): Likewise.
2245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2247         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2248         Add sigaltstack-offsets.sym.
2249         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2250         <sigaltstack-offsets.h>.
2251         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
2252         longjmp_msg pointer.
2253         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
2254         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2255         signal stack.
2256         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2258 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2260         * elf/stackguard-macros.h: Remove file.
2261         * sysdeps/generic/stackguard-macros.h: New file.
2262         * sysdeps/i386/stackguard-macros.h: Likewise.
2263         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2264         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2265         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2266         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2267         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2268         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2269         * sysdeps/x86_64/stackguard-macros.h: Likewise.
2270         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2271         <elf/stackguard-macros.h>.
2273         [BZ #14109]
2274         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2275         __aligned__ in attribute.
2276         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2277         (gregset_t): Likewise.
2279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2281         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2282         * sysdeps/x86_64/64/Implies-after: Here.  New file.
2283         * sysdeps/x86_64/x32/Implies-after: New file.
2285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2287         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2288         and access return value for _dl_profile_fixup.  Use R10_LP to
2289         load frame size.
2291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2293         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2297         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2298         * sysdeps/x86_64/x32/sysdep.h: New file.
2300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2302         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2303         * sysdeps/x86_64/setjmp.S: Likewise.
2305 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2307         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2308         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2309         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2310         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2311         remove unused global constant.
2313 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
2315         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2316         include of <not-cancel.h>.
2318 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2320         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2322 2012-05-15  Jeff Law  <law@redhat.com>
2323             Andreas Jaeger  <aj@suse.de>
2325         [BZ #13594]
2326         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2327         out from...
2328         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2329         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2330         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2331         code changing __hst_map_handle.map.
2333 2012-05-15  Roland McGrath  <roland@hack.frob.com>
2335         * configure.in (sysnames): Look for Implies-before and Implies-after
2336         files.
2337         * configure: Regenerated.
2339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2341         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2342         8-byte data alignment with LP_SIZE alignment.
2344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2347         into R10_LP.
2349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2351         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2355         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2356         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2357         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2358         Likewise.
2359         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2363         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2364         (stackinfo_sub_sp): Likewise.
2366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2368         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2369         RAX_LP.
2371 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2374         into R*_LP.
2376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2379         sizes into R*_LP.
2381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2383         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2387         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2388         into R11_LP and load __x86_64_shared_cache_size_half into
2389         R8_LP.
2391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2393         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2394         R8_LP.
2396 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2399         logb for POWER7.
2400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2401         logbf for POWER7.
2402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2403         logbl for POWER7.
2404         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2405         powerpc32/power7/fpu/s_logb.c via #include.
2406         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2407         powerpc32/power7/fpu/s_logbf.c via #include.
2408         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2409         powerpc32/power7/fpu/s_logbl.c via #include.
2411 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2413         * README.libm: Remove file.
2415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2417         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2418         count for x32.  Use R*_LP and omit operand-size suffix.
2420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2422         * shlib-versions: Move x86_64-.*-linux.* entries to ...
2423         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
2424         * sysdeps/x86_64/x32/shlib-versions: New file.
2426 2012-05-14  Roland McGrath  <roland@hack.frob.com>
2428         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2429         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2430         Use _dl_fatal_printf instead.
2432 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2434         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2435         set if not set by the user.  Do not allow for being unset.
2436         * sysdeps/unix/sysv/linux/configure: Regenerated.
2438 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2440         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2441         the `q' suffix from lea and replace .quad with ASM_ADDR.
2443 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2446         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
2447         instead of $17.
2448         (PTR_DEMANGLE): Likewise.
2450 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2452         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2453         (LP_OP): Likewise.
2454         (ASM_ADDR): Likewise.
2455         (RAX_LP): Likewise.
2456         (RBP_LP): Likewise.
2457         (RBX_LP): Likewise.
2458         (RCX_LP): Likewise.
2459         (RDI_LP): Likewise.
2460         (RSI_LP): Likewise.
2461         (RSP_LP): Likewise.
2462         (R8_LP): Likewise.
2463         (R9_LP): Likewise.
2464         (R10_LP): Likewise.
2465         (R10_LP): Likewise.
2466         (R11_LP): Likewise.
2467         (R12_LP): Likewise.
2468         (R13_LP): Likewise.
2469         (R14_LP): Likewise.
2470         (R15_LP): Likewise.
2472 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2474         * sysdeps/x86_64/x32/dl-machine.h: New file.
2476 2012-05-14  Andreas Jaeger  <aj@suse.de>
2478         * manual/Makefile (subdir): Remove export of subdir.
2479         (all): Remove target.
2480         (.PHONY): Remove all from list.
2481         (mkinstalldirs): Remove.
2482         (.PHONY): Remove installdirs from list.
2483         ($(inst_infodir)/libc.info): Use make-target-directory.
2484         (installdirs): Remove.
2485         (subdir_%): Remove.
2486         (glibc-targets): Remove.
2487         (lib): Remove.
2488         (stubs): Remove.
2489         ($(objpfx)stubs ../po/manual.pot): Remove.
2490         ($(objpfx)stamp%): Remove.
2491         (make-target-directory): Remove.
2492         (subdir_install): Remove.
2493         (routines): Remove.
2494         (aux): Remove.
2495         (sources): Remove.
2496         (objects): Remove.
2497         (headers): Remove.
2499         [BZ #13750]
2500         * manual/.gitignore: Remove, it's not needed anymore.
2501         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2502         all files in it.
2503         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2504         directory.
2505         (texis): Renamed to $(objpfx)texis.
2506         (texis-path): New, contains path to generated files.
2507         (chapters.%): Use texis-path for complete path, add extra argument
2508         libc-texinfo.sh.
2509         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2510         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2511         (summary,texi, stamp-summary): Use complete path of
2512         files. Generate files in build dir.
2513         (dir-add.texi): Build in build dir.
2514         (libm-err.texi,stamp-libm-err): Likewise.
2515         (version.texi, stamp-version): Likewise.
2516         (.%c.texi): Likewise.
2517         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2518         (mostlyclean): Remove target.
2519         (realclean): Remove target.
2520         (generated): Add new variable with contents from mostlyclean and
2521         realclean, remove entries duplicated in common-mostlyclean, add
2522         stamp-libm-err and stamp-version.
2523         (generated-dirs): Add libc directory.
2524         ($(inst_infodir)/libc.info): Install files from build dir.
2526         * manual/install.texi (Configuring and compiling): Adjust since
2527         the info files are not part of the tar ball anymore.
2529 2012-05-14  Andreas Jaeger  <aj@suse.de>
2531         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2532         variable.
2534 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2536         [BZ #13717]
2537         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2538         to 2.2.0 where earlier.
2539         * sysdeps/unix/sysv/linux/configure: Regenerated.
2540         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2541         Remove conditional code.
2542         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2543         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2544         Remove conditional code.
2545         [!__NR_lchown]: Likewise.
2546         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2547         [__NR_lchown]: Likewise.
2548         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2549         comment referencing __ASSUME_LCHOWN_SYSCALL.
2550         * sysdeps/unix/sysv/linux/i386/sigaction.c
2551         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2552         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2553         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2554         Remove conditional code.
2555         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2556         (__protocol_available): Remove #if 0 code.
2557         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2558         conditional code.
2559         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2560         * sysdeps/unix/sysv/linux/kernel-features.h
2561         (__ASSUME_GETCWD_SYSCALL): Don't define.
2562         (__ASSUME_REALTIME_SIGNALS): Likewise.
2563         (__ASSUME_PREAD_SYSCALL): Likewise.
2564         (__ASSUME_PWRITE_SYSCALL): Likewise.
2565         (__ASSUME_POLL_SYSCALL): Likewise.
2566         (__ASSUME_LCHOWN_SYSCALL): Likewise.
2567         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2568         non-SPARC.
2569         (__ASSUME_SIOCGIFNAME): Don't define.
2570         (__ASSUME_MSG_NOSIGNAL): Likewise.
2571         (__ASSUME_SENDFILE): Define unconditionally.
2572         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2573         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2574         conditional code.
2575         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2576         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2577         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2578         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2579         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2580         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2581         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2583         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2586         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2589         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2592         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2593         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2595         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2596         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2598         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2599         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2601         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2602         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2604         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2605         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2606         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2607         Remove conditional code.
2608         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2609         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2610         Remove conditional code.
2611         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2612         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2613         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2614         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2615         Remove conditional code.
2616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2617         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2618         Remove conditional code.
2619         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2620         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2621         Remove conditional code.
2622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2623         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2624         Remove conditional code.
2625         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2626         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2627         Remove conditional code.
2628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2629         * sysdeps/unix/sysv/linux/sh/pwrite64.c
2630         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2631         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2632         * sysdeps/unix/sysv/linux/sigaction.c
2633         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2634         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2635         * sysdeps/unix/sysv/linux/sigpending.c
2636         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2637         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2638         * sysdeps/unix/sysv/linux/sigprocmask.c
2639         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2640         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2641         * sysdeps/unix/sysv/linux/sigsuspend.c
2642         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2643         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2644         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2645         (__libc_missing_rt_sigs): Remove.
2646         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2647         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2648         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2649         Remove conditional code.
2650         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2651         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2652         return 1.
2653         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2654         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2655         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2656         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2658 2012-05-14  Andreas Jaeger  <aj@suse.de>
2660         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2661         it's not used in glibc.
2662         (__coshm1): Likewise.
2663         (__acosh1p): Likewise.
2664         (__sgn): Likewise.
2666         * manual/string.texi (Copying and Concatenation): Add missing
2667         variable in concat example.
2668         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2670 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2672         [BZ #14103]
2673         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2674         __builtin_clzl with __builtin_clzll.
2676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2678         [BZ #14104]
2679         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2680         libc_freeres_ptr.
2682 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2684         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2685         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2686         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2687         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2689 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
2691         * NEWS: Update ia64 info.
2693 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
2695         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2696         used as bcopy.
2698 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
2700         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2701         * sysdeps/unix/syscalls.list (dup3): Likewise.
2702         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2703         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2705 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2707         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2708         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2710 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2712         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2713         thread pointer.
2714         (TLS_IE): Use mov/add instead of movq/addq to load thread
2715         pointer.
2716         (TLS_GD_PREFIX): New.
2717         (TLS_GD): Use it.
2719 2012-05-11  David S. Miller  <davem@davemloft.net>
2721         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2722         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2723         (_FPU_SETCW): Likewise.
2725 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2727         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2728         is 32-byte aligned.
2730 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
2732         [BZ #11837]
2733         * iconvdata/gb18030.c: Update tables.
2734         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
2735         characters specially.
2736         (BODY for TO_LOOP): Add encoding of missing ranges.
2738 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
2740         [BZ #13673]
2741         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2742         * sysdeps/mach/hurd/dup3.c: Likewise.
2743         * sysdeps/mach/hurd/readlinkat.c: Likewise.
2744         * sysdeps/powerpc/memmove.c:: Likewise.
2746 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2748         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2749         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2751 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2753         * elf/elf.h (R_X86_64_RELATIVE64): New.
2754         (R_X86_64_NUM): Updated.
2755         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2756         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
2757         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2758         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2759         tst-quad1pie tst-quad2pie
2760         (modules-names): Add tst-quadmod1 tst-quadmod2.
2761         ($(objpfx)tst-quad1): New dependency.
2762         ($(objpfx)tst-quad2): Likewise.
2763         ($(objpfx)tst-quad1pie): Likewise.
2764         ($(objpfx)tst-quad2pie): Likewise.
2765         * sysdeps/x86_64/tst-quad1.c: New file.
2766         * sysdeps/x86_64/tst-quad1pie.c: New file.
2767         * sysdeps/x86_64/tst-quad2.c: Likewise.
2768         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2769         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2770         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2771         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2772         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2776         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2777         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2778         * streams/stropts.h (t_scalar_t): Define type.
2780         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2781         (_PATH_PRESERVE): Set to "/var/lib".
2782         (_PATH_RWHODIR): Set to "/var/spool/rwho".
2784         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2785         instead of int.
2787         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2788         if __dir_mkfile succeeded.
2790         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2791         checking for _hurd_dtablesize.  Unlock it right after having
2792         finished _hurd_dtable allocation.
2794 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2796         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2797         * sysdeps/mach/hurd/configure: Regenerated.
2798         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2799         special-casing to...
2800         * sysdeps/gnu/configure.in: ... this new file.
2801         * sysdeps/unix/sysv/linux/configure: Regenerated.
2802         * sysdeps/gnu/configure: New generated file.
2804         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2805         for Linux: use nsec instead of usec, as well as:
2806         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2807         members of type struct timespec.
2808         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2809         New macros.
2810         (struct stat64): Likewise.
2811         (_STATBUF_ST_NSEC): New macro.
2812         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2814         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2815         __strtoul_internal rather than strtoul.
2817 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2819         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2820         and reject them.
2822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2824         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2825         which preserves existing values.
2826         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2828 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2830         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2831         TIMEOUT values.  Return EINVAL for NFDS values either negative or
2832         greater than FD_SETSIZE.
2834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2836         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2837         allocated, call __vm_protect to finish enabling the existing space, and
2838         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2839         allocate the remainder.
2841 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2843         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2844         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
2846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2848         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2849         sysdeps/mach/hurd/readlink.c.
2851         * posix/tst-sysconf.c (posix_options): Only use
2852         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2853         _POSIX_SYNCHRONIZED_IO when they are defined
2854         * sysdeps/mach/hurd/bits/posix_opt.h:
2855         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2856         (_XOPEN_REALTIME): Undefine macro.
2857         (_XOPEN_REALTIME_THREADS): Undefine macro.
2858         (_XOPEN_SHM): Undefine macro.
2859         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2860         macro to -1.
2861         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2862         macro to -1.
2863         (_POSIX_ASYNC_IO): Undefine macro.
2864         (_POSIX_PRIORITIZED_IO): Undefine macro.
2865         (_POSIX_SPIN_LOCKS): Define macro to -1.
2867         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2868         SA_NODEFER, SA_RESETHAND.
2869         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2870         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2871         F_DUPFD_CLOEXEC.
2873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2875         * elf/Makefile (pldd-modules): Define unconditionally.
2877 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2879         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2883         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2884         Return ENOENT when name is empty.
2885         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2887 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2889         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2891         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2895         Fix mlock in all cases except non-readable pages.
2896         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2897         instead of VM_PROT_ALL as parameter to __vm_wire function.
2899         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2900         (__mkdir): When path is `/', just fail with EEXIST.
2901         * sysdeps/mach/hurd/mkdirat.c: Likewise.
2903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2905         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2906         <sys/uio.h> (for writev).
2907         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2908         and <sys/param.h> (for MIN).
2910 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2912         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2913         REQUESTED_TIME.  Properly set the remaining time and return EINTR
2914         if interrupted.
2916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2918         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2919         Depend on against $(link-rpcuserlibs).
2921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2923         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2924         (__libc_stack_end): Do not use attribute_relro.
2925         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2926         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2927         to libthread-provided value.
2928         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2929         attribute_relro.
2931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2933         [BZ #3748]
2934         * bits/libc-lock.h (__libc_once_get): New macro.
2935         * sysdeps/mach/bits/libc-lock.h: Likewise.
2936         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2937         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2938         instead of using implementation details.
2940         * libio/fileops.c: Unconditionally include <kernel-features.h>.
2941         * libio/freopen.c: Likewise.
2942         * libio/freopen64.c: Likewise.
2943         * misc/syslog.c: Likewise.
2944         * nscd/connections.c: Likewise.
2945         * nscd/netgroupcache.c: Likewise.
2946         * sysdeps/posix/getcwd.c: Likewise.
2948 2012-05-10  Roland McGrath  <roland@hack.frob.com>
2950         * math/w_ilogbf.c: Add #include <limits.h>.
2952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2954         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2955         path instead of returning without unlocking.
2957         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2958         immediate-write ioctls.
2959         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2963         * sysdeps/mach/hurd/i386/init-first.c (init): Use
2964         __builtin_frame_address instead of making assumptions about the
2965         location of the return address relative to DATA.  Force early load of
2966         the return address.
2967         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2968         __builtin_frame_address.
2970         dup3 for GNU Hurd.
2971         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2972         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
2973         implement dup3 and do some further code clean-ups.
2974         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2975         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2979         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2981         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2982         HURD_CRITICAL_END around holding _hurd_dtable_lock.
2983         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2984         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2985         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2986         d->port.lock.
2988         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2989         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
2990         when handler == SIG_ERR, not when handler != SIG_ERR.
2992 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2994         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2995         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2996         definitions.
2998         accept4 for GNU Hurd.
2999         * include/sys/socket.h (__libc_accept4): New prototype.
3000         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
3001         to implement __libc_accept4.
3002         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3003         __libc_accept4.
3004         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3006         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3007         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3008         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3009         signal-defines.sym.
3011 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3013         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3017         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3018         assertion on O_CLOEXEC flag.
3019         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3020         * hurd/intern-fd.c: Likewise.
3021         * hurd/port2fd.c: Likewise.
3023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3025         [BZ #3906]
3026         * bits/in.h (IPV6_PKTINFO): Define new macro.
3027         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3029 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3031         [BZ #13954]
3032         [BZ #13955]
3033         [BZ #13956]
3034         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3035         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3036         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3037         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3038         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3039         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3040         * math/libm-test.inc (logb_test) : Additional logb tests.
3042 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
3043             Andreas Jaeger  <aj@suse.de>
3045         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3046         * configure: Regenerated.
3047         * config.h.in (LINK_OBSOLETE_RPC): New macro.
3048         * config.make.in (link-obsolete-rpc): New substituted variable.
3049         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3050         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3051         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3052         (shared-only-routines): Don't set it under [link-obsolete-rpc],
3053         so that libc.a contains the symbols.
3054         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3055         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3056         * sunrpc/auth_none.c: Likewise.
3057         * sunrpc/auth_unix.c: Likewise.
3058         * sunrpc/authdes_prot.c: Likewise.
3059         * sunrpc/authuxprot.c: Likewise.
3060         * sunrpc/clnt_gen.c: Likewise.
3061         * sunrpc/clnt_perr.c: Likewise.
3062         * sunrpc/clnt_raw.c: Likewise.
3063         * sunrpc/clnt_simp.c: Likewise.
3064         * sunrpc/clnt_tcp.c: Likewise.
3065         * sunrpc/clnt_udp.c: Likewise.
3066         * sunrpc/clnt_unix.c: Likewise.
3067         * sunrpc/des_crypt.c: Likewise.
3068         * sunrpc/des_soft.c: Likewise.
3069         * sunrpc/get_myaddr.c: Likewise.
3070         * sunrpc/key_call.c: Likewise.
3071         * sunrpc/key_prot.c: Likewise.
3072         * sunrpc/netname.c: Likewise.
3073         * sunrpc/pm_getmaps.c: Likewise.
3074         * sunrpc/pm_getport.c: Likewise.
3075         * sunrpc/pmap_clnt.c: Likewise.
3076         * sunrpc/pmap_prot.c: Likewise.
3077         * sunrpc/pmap_prot2.c: Likewise.
3078         * sunrpc/pmap_rmt.c: Likewise.
3079         * sunrpc/publickey.c: Likewise.
3080         * sunrpc/rpc_cmsg.c: Likewise.
3081         * sunrpc/rpc_common.c: Likewise.
3082         * sunrpc/rpc_dtable.c: Likewise.
3083         * sunrpc/rpc_prot.c: Likewise.
3084         * sunrpc/rpc_thread.c: Likewise.
3085         * sunrpc/rtime.c: Likewise.
3086         * sunrpc/svc.c: Likewise.
3087         * sunrpc/svc_auth.c: Likewise.
3088         * sunrpc/svc_raw.c: Likewise.
3089         * sunrpc/svc_run.c: Likewise.
3090         * sunrpc/svc_tcp.c: Likewise.
3091         * sunrpc/svc_udp.c: Likewise.
3092         * sunrpc/svc_unix.c: Likewise.
3093         * sunrpc/svcauth_des.c: Likewise.
3094         * sunrpc/xcrypt.c: Likewise.
3095         * sunrpc/xdr.c: Likewise.
3096         * sunrpc/xdr_array.c: Likewise.
3097         * sunrpc/xdr_float.c: Likewise.
3098         * sunrpc/xdr_intXX_t.c: Likewise.
3099         * sunrpc/xdr_mem.c: Likewise.
3100         * sunrpc/xdr_rec.c: Likewise.
3101         * sunrpc/xdr_ref.c: Likewise.
3102         * sunrpc/xdr_sizeof.c: Likewise.
3103         * sunrpc/xdr_stdio.c: Likewise.
3105 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3107         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3108         change.  Update copyright years.
3110 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3112         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3114 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
3115             Joseph Myers  <joseph@codesourcery.com>
3116             Paul Pluzhnikov  <ppluzhnikov@google.com>
3118         [BZ #14012]
3119         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3120         requiring rpcgen.
3121         [cross-compiling] (extra-libs): Likewise.
3122         [cross-compiling] (extra-libs-others): Likewise.
3123         [cross-compiling] (librpcsvc-routines): Likewise.
3124         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3125         [cross-compiling] (omit-deps): Likewise.
3126         (sunrpc-CPPFLAGS): New variable.
3127         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3128         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3129         (cross-rpcgen-objs): New variable.
3130         (extra-objs): Append $(cross-rpcgen-objs).
3131         ($(cross-rpcgen-objs)): New rule.
3132         ($(objpfx)cross-rpcgen): Likewise.
3133         (rpcgen-cmd): Define to use $(built-program-file).  Expand
3134         comment.
3135         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3136         ($(objpfx)x%.stmp): Likewise.
3137         * sunrpc/proto.h [IS_IN_build] (_): Define.
3138         [IS_IN_build] (_libc_intl_domainname): Likewise.
3140 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3143         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3144         and R_X86_64_TPOFF64.
3146 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
3148         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3149         sysdeps/unix/sysv/syscalls.list.
3150         (stime): Likewise.
3151         (utime): Likewise.
3152         * sysdeps/unix/sysv/syscalls.list: Remove file.
3154 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
3156         [BZ #3440]
3157         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3158         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3159         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3160         (__LC_IDENTIFICATION): Make these macros useful in #if
3161         expressions, as required by C99.
3163 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
3165         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3166         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
3167         after this.
3169 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3171         * stdlib/longlong.h: Updated from GCC.
3173 2012-05-09  Andreas Jaeger  <aj@suse.de>
3175         * nscd/nscd.c (run_modes): Make named enum, reorder so that
3176         default is first entry.
3177         (run_mode): Set type.
3178         (main): Remove informal message about syslog.
3179         (options): Fix typo.
3181         [BZ #14053]
3182         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3183         to asm.
3184         (lrint): Likewise.
3185         (llrintf): Likewise.
3186         (llrint): Likewise.
3187         (rint): Likewise.
3188         (rintf): Likewise.
3189         (nearbyint): Likewise.
3190         (nearbyintf): Likewise.
3192 2012-05-09  Andreas Jaeger  <aj@suse.de>
3193             Pedro Alves  <palves@redhat.com>
3195         * nscd/nscd.c (run_mode): Use enum.
3196         (main): Cleanup coding style issue.
3198 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
3199             Andreas Jaeger  <aj@suse.de>
3201         * nscd/nscd.c (go_background): Replaced with...
3202         (run_mode): ... this.
3203         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3204         (options): Add -F --foreground.
3205         (main): Implement it.
3206         (parse_opt): Parse it.
3208 2012-05-09  Andreas Jaeger  <aj@suse.de>
3210         [BZ #14083]
3211         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3212         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3213         -Wconversion warning.
3214         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3215         Likewise.
3217 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
3219         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
3220         == 0.
3221         (LC_ALL): Use macro-int-constant.
3222         (LC_COLLATE): Likewise.
3223         (LC_CTYPE): Likewise.
3224         (LC_MESSAGES): Likewise.
3225         (LC_MONETARY): Likewise.
3226         (LC_NUMERIC): Likewise.
3227         (LC_TIME): Likewise.
3228         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3229         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3231         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3232         Specify type.
3233         [C99-based standards] (float_t): Expect type.
3234         [C99-based standards] (double_t): Expect type.
3235         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
3236         type.
3237         [C99-based standards] (HUGE_VALL): Likewise.
3238         [C99-based standards] (INFINITY): Likewise.
3239         [C99-based standards] (NAN): Likewise.
3240         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3241         [C99-based standards] (FP_NAN): Likewise.
3242         [C99-based standards] (FP_NORMAL): Likewise.
3243         [C99-based standards] (FP_SUBNORMAL): Likewise.
3244         [C99-based standards] (FP_ZERO): Likewise.
3245         [C99-based standards] (FP_FAST_FMA): Use
3246         optional-macro-int-constant.  Specify type.  Require == 1.
3247         [C99-based standards] (FP_FAST_FMAF): Likewise.
3248         [C99-based standards] (FP_FAST_FMAL): Likewise.
3249         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3250         [C99-based standards] (FP_ILOGBNAN): Likewise.
3251         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3252         Specify type.
3253         [C99-based standards] (MATH_ERREXCEPT): Likewise.
3254         [C99-based standards] (math_errhandling): Specify type.
3255         [ISO99 || ISO11] (signgam): Do not allow.
3256         [non-C99-based standards] (copysignf): Do not allow.
3257         [non-C99-based standards] (exp2f): Likewise.
3258         [non-C99-based standards] (log2f): Likewise.
3259         [non-C99-based standards] (modff): Allow.
3260         [non-C99-based standards] (erff): Do not allow.
3261         [non-C99-based standards] (erfcf): Likewise.
3262         [non-C99-based standards] (gammaf): Likewise.
3263         [non-C99-based standards] (hypotf): Likewise.
3264         [non-C99-based standards] (j0f): Likewise.
3265         [non-C99-based standards] (j1f): Likewise.
3266         [non-C99-based standards] (jnf): Likewise.
3267         [non-C99-based standards] (lgammaf): Likewise.
3268         [non-C99-based standards] (tgammaf): Likewise.
3269         [non-C99-based standards] (y0f): Likewise.
3270         [non-C99-based standards] (y1f): Likewise.
3271         [non-C99-based standards] (ynf): Likewise.
3272         [non-C99-based standards] (isnanf): Likewise.
3273         [non-C99-based standards] (acoshf): Likewise.
3274         [non-C99-based standards] (asinhf): Likewise.
3275         [non-C99-based standards] (atanhf): Likewise.
3276         [non-C99-based standards] (cbrtf): Likewise.
3277         [non-C99-based standards] (expm1f): Likewise.
3278         [non-C99-based standards] (ilogbf): Likewise.
3279         [non-C99-based standards] (log1pf): Likewise.
3280         [non-C99-based standards] (logbf): Likewise.
3281         [non-C99-based standards] (nextafterf): Likewise.
3282         [non-C99-based standards] (remainderf): Likewise.
3283         [non-C99-based standards] (rintf): Likewise.
3284         [non-C99-based standards] (scalbf): Likewise.
3285         [non-C99-based standards] (copysignl): Likewise.
3286         [non-C99-based standards] (exp2l): Likewise.
3287         [non-C99-based standards] (log2l): Likewise.
3288         [non-C99-based standards] (modfl): Allow.
3289         [non-C99-based standards] (erfl): Do not allow.
3290         [non-C99-based standards] (erfcl): Likewise.
3291         [non-C99-based standards] (gammal): Likewise.
3292         [non-C99-based standards] (hypotl): Likewise.
3293         [non-C99-based standards] (j0l): Likewise.
3294         [non-C99-based standards] (j1l): Likewise.
3295         [non-C99-based standards] (jnl): Likewise.
3296         [non-C99-based standards] (lgammal): Likewise.
3297         [non-C99-based standards] (tgammal): Likewise.
3298         [non-C99-based standards] (y0l): Likewise.
3299         [non-C99-based standards] (y1l): Likewise.
3300         [non-C99-based standards] (ynl): Likewise.
3301         [non-C99-based standards] (isnanl): Likewise.
3302         [non-C99-based standards] (acoshl): Likewise.
3303         [non-C99-based standards] (asinhl): Likewise.
3304         [non-C99-based standards] (atanhl): Likewise.
3305         [non-C99-based standards] (cbrtl): Likewise.
3306         [non-C99-based standards] (expm1l): Likewise.
3307         [non-C99-based standards] (ilogbl): Likewise.
3308         [non-C99-based standards] (log1pl): Likewise.
3309         [non-C99-based standards] (logbl): Likewise.
3310         [non-C99-based standards] (nextafterl): Likewise.
3311         [non-C99-based standards] (remainderl): Likewise.
3312         [non-C99-based standards] (rintl): Likewise.
3313         [non-C99-based standards] (scalbl): Likewise.
3314         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3315         [non-C99-based standards] (FP_*): Do not allow.
3316         [C99-based standards] (FP_*): Change to
3317         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3318         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3319         allow.
3320         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3321         (SIG_ERR): Likewise.
3322         [X/Open-based standards] (SIG_HOLD): Likewise.
3323         (SIG_IGN): Likewise.
3324         (SIGABRT): Use macro-int-constant.  Specify type.  Require
3325         positive value.
3326         (SIGFPE): Likewise.
3327         (SIGILL): Likewise.
3328         (SIGINT): Likewise.
3329         (SIGSEGV): Likewise.
3330         (SIGTER): Likewise.
3331         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3332         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3333         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3334         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3335         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3336         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3337         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3338         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3339         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3340         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3341         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3342         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3343         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3344         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3345         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3346         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3347         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3348         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3349         [X/Open-based standards] (SIGTRAP): Likewise.
3350         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3351         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3352         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3353         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3354         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3355         allow.
3357 2012-05-08  Ian Wienand  <ianw@vmware.com>
3359         [BZ #14080]
3360         * time/tzset.c (__tzset_parse_tz): Update default rules for
3361         daylight time changes in the Energy Policy Act of 2005.
3363 2012-05-09  Andreas Jaeger  <aj@suse.de>
3365         [BZ #13983]
3366         * elf/ldconfig.c (parse_conf): Change string to make clear that
3367         ldconfig only issued a warning if ld.so.conf does not exist.
3369 2012-05-08  David S. Miller  <davem@davemloft.net>
3371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3372         movxtod instead of popping the value on the stack.
3374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3376 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
3378         * config.h.in: Add HAVE_ARM_PCS_VFP.
3380 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
3382         [BZ #13979]
3383         * include/features.h: Warn if user requests __FORTIFY_SOURCE
3384         checking but the checks are disabled for any reason.
3386 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3388         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3389         and ELF64_R_TYPE with ELFW(R_TYPE).
3391 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
3393         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3394         (ulimit): Likewise.
3396         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3397         (settimeofday): Likewise.
3399 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
3401         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
3402         a struct th_u2 inside the union, and move tu_block/tu_code into
3403         a new th_u3 union of tu_block/tu_code inside of that.  Move
3404         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
3405         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
3406         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3407         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3408         (th_stuff): Change to th_u1.tu_stuff.
3409         (th_data): Define.
3410         (th_msg): Change to th_u1.th_u2.tu_data.
3412 2012-05-07  David S. Miller  <davem@davemloft.net>
3414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3416         [BZ #14074]
3417         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3418         (SETUP_PIC_REG): Use it.
3419         (SETUP_PIC_REG_LEAF): Use it.
3421 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
3423         [BZ #13885]
3424         [BZ #13923]
3425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3426         USE_AS_EXPM1L.
3427         (EXPL_FINITE): Likewise.
3428         (FLDLOG): Likewise.
3429         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3430         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3431         e_expl.S.
3432         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3433         USE_AS_EXPM1L.
3434         (EXPL_FINITE): Likewise.
3435         (FLDLOG): Likewise.
3436         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3437         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3438         e_expl.S.
3439         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
3440         test of -max_value argument for long double.
3441         * sysdeps/i386/fpu/libm-test-ulps: Update.
3442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3444 2012-05-06  David S. Miller  <davem@davemloft.net>
3446         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3447         quad soft-float symbols whose references which are compiler
3448         generated.
3449         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3451 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
3453         [BZ #13884]
3454         [BZ #13914]
3455         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3456         USE_AS_EXP10L.
3457         (EXPL_FINITE): Likewise.
3458         (FLDLOG): Likewise.
3459         (c0): Likewise.
3460         (c1): Likewise.
3461         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3462         Adjust comments for base varying.
3463         (__expl_finite): Change alias to EXPL_FINITE.
3464         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3465         e_expl.S.
3466         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3467         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3468         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3469         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3470         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3471         USE_AS_EXP10L.
3472         (EXPL_FINITE): Likewise.
3473         (FLDLOG): Likewise.
3474         (c0): Likewise.
3475         (c1): Likewise.
3476         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3477         Adjust comments for base varying.
3478         (__expl_finite): Change alias to EXPL_FINITE.
3479         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
3480         tests for bugs.
3481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3483         [BZ #14064]
3484         * math/libm-test.inc (check_float_internal): Correct ulp
3485         calculation for subnormal expected results.
3487 2012-05-06  Andreas Jaeger  <aj@suse.de>
3489         * Makeconfig (+math-flags): New, set to -frounding-math.
3490         (+cflags): Add +math-flags so that all of glibc gets compiled with
3491         it.
3493         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3495 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
3497         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3498         Disable one test.
3500         [BZ #13787]
3501         [BZ #13922]
3502         [BZ #14036]
3503         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3504         (__ieee754_expl): Allow for and saturate large arguments.
3505         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3506         (u_threshold): Likewise.
3507         (__exp): Call __ieee754_exp before checking for overflow and
3508         underflow.
3509         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3510         (u_threshold): Likewise.
3511         (__expf): Call __ieee754_expf before checking for overflow and
3512         underflow.
3513         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3514         (u_threshold): Likewise.
3515         (__expl): Call __ieee754_expl before checking for overflow and
3516         underflow.
3517         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3518         (__ieee754_expl): Allow for and saturate large arguments.
3519         * math/libm-test.inc (exp_test): Add another test.  Do not allow
3520         missing overflow exception on overflow.
3521         (expm1_test): Do not allow missing overflow exception on overflow.
3523         * sysdeps/i386/fpu/e_expl.c: Move to ...
3524         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
3525         rather than using inline asm.
3526         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3527         * sysdeps/x86_64/fpu/e_expl.S: Copy from
3528         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3530         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3531         (nice): Likewise.
3532         (poll): Likewise.
3533         (signal): Likewise.
3534         (time): Likewise.
3535         (times): Likewise.
3537 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3539         * sysdeps/unix/syscalls.list (adjtime): Add entry from
3540         sysdeps/unix/common/syscalls.list.
3541         (fchmod): Likewise.
3542         (fchown): Likewise.
3543         (ftruncate): Likewise.
3544         (getrusage): Likewise.
3545         (gettimeofday): Likewise.
3546         (setpgid): Likewise.
3547         (setregid): Likewise.
3548         (setreuid): Likewise.
3549         (sigaction): Likewise.
3550         (truncate): Likewise.
3551         (vhangup): Likewise.
3552         * sysdeps/unix/common/syscalls.list: Remove file.
3553         * sysdeps/unix/bsd/Implies: Don't include unix/common.
3554         * sysdeps/unix/sysv/linux/Implies: Likewise.
3556 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3558         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3560         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3561         Moved to ...
3562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3563         Here.
3564         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3565         to ...
3566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3567         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3568         to ...
3569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3570         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3571         to ...
3572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3573         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3574         to ...
3575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3576         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3577         to ...
3578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3579         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3580         to ...
3581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3582         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3583         to ...
3584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3585         Here.
3586         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3587         to ...
3588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3589         Here.
3590         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3591         to ...
3592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3593         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3594         Moved to ...
3595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3596         Here.
3597         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3598         to ...
3599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3601 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3603         * sysdeps/unix/common/bits/dirent.h: Remove file.
3604         * sysdeps/unix/common/bits/fcntl.h: Likewise.
3606         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3607         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3608         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3609         * sysdeps/unix/bsd/isatty.c: Likewise.
3610         * sysdeps/unix/bsd/tcdrain.c: Likewise.
3611         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3612         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3614 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3616         [BZ #13563]
3617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3618         long double comparison inaccuracies.
3619         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3622 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
3624         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3625         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3627 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3629         [BZ #14049]
3630         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3631         nonzero digits before rounding a hex value.
3632         * stdlib/tst-strtod.c (tests): Add another test.
3634 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3636         * sysdeps/s390/fpu/libm-test-ulps: Update.
3638 2012-05-03  Andreas Jaeger  <aj@suse.de>
3640         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3641         does not get optimized out.
3642         (malloc_opt_barrier): New.
3644 2012-05-03  Andreas Jaeger  <aj@suse.de>
3645             Roland McGrath  <roland@hack.frob.com>
3647         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3648         intermediate file deletion.
3649         (generated): Add .symlist files.
3651 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
3653         [BZ #13775]
3654         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3655         Redirect under this condition.
3656         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3657         [__USE_GNU] (__dprintf_chk): Not under this condition.
3658         [__USE_GNU] (__vdprintf_chk): Likewise.
3659         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3660         under this condition.
3661         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3662         [__USE_XOPEN2K8] (dprintf): Define under this condition.
3663         [__USE_XOPEN2K8] (vdprintf): Likewise.
3664         [__USE_GNU] (__dprintf_chk): Not under this condition.
3665         [__USE_GNU] (__vdprintf_chk): Likewise.
3666         [__USE_GNU] (dprintf): Likewise.
3667         [__USE_GNU] (vdprintf): Likewise.
3669 2012-05-03  Roland McGrath  <roland@hack.frob.com>
3671         * elf/Makefile (common-generated): Set this instead of generated for
3672         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
3673         $(all-built-dso)-derived lists.
3675 2012-05-03  Andreas Jaeger  <aj@suse.de>
3677         * sysdeps/i386/fpu/libm-test-ulps: Update.
3679         * FAQ: Removed.
3680         * FAQ.in: Likewise.
3681         * scripts/gen-FAQ.pl: Likewise.
3682         * manual/install.texi (Installation): Point to online location of
3683         FAQ.
3684         * Makefile (files-for-dist): Remove FAQ.
3685         (FAQ): Remove.
3687 2012-05-02  Allan McRae  <allan@archlinux.org>
3689         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3690         (LDFLAGS-reldepmod5.so): Likewise.
3691         (LDFLAGS-reldep6mod1.so): Likewise.
3692         (LDFLAGS-reldep6mod4.so): Likewise.
3693         (LDFLAGS-reldep8mod3.so): Likewise.
3694         (LDFLAGS-unload4mod1.so): Likewise.
3695         (LDFLAGS-unload4mod2.so): Likewise.
3696         (LDFLAGS-tst-initorder): Likewise.
3697         (LDFLAGS-tst-initordera2.so): Likewise.
3698         (LDFLAGS-tst-initordera3.so): Likewise.
3699         (LDFLAGS-tst-initordera4.so): Likewise.
3700         (LDFLAGS-tst-initorderb2.so): Likewise.
3701         (LDFLAGS-noload): Likewise.
3702         (LDFLAGS-next): Likewise.
3703         (LDFLAGS-order2mod1.so): Likewise.
3704         (LDFLAGS-order2mod2.so): Likewise.
3705         (LDFLAGS-tst-initorder2): Likewise.
3706         (LDFLAGS-tst-initorder2a.so): Likewise.
3707         (LDFLAGS-tst-initorder2b.so): Likewise.
3708         (LDFLAGS-tst-initorder2c.so): Likewise.
3709         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3711 2012-05-02  David S. Miller  <davem@davemloft.net>
3713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3715 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3717         [BZ #14055]
3718         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3720 2012-05-02  Andreas Jaeger  <aj@suse.de>
3722         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3723         since we manipulate rounding mode.
3724         (CPPFLAGS-test-idouble.c): Likewise.
3725         (CPPFLAGS-test-ifloat.c): Likewise.
3726         (CFLAGS-test-ldouble.c): Likewise.
3727         (CFLAGS-test-double.c): Likewise.
3728         (CFLAGS-test-float.c): Likewise.
3729         (CFLAGS-test-misc.c): Likewise.
3730         (CFLAGS-test-test-fenv.c): Likewise.
3732 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3734         [BZ #2550]
3735         [BZ #2570]
3736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3737         comparisons to determine direction to adjust input.
3739 2012-05-01  Roland McGrath  <roland@hack.frob.com>
3741         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3742         output to the target.
3744         * scripts/localplt.awk: New file.
3745         * elf/Makefile ($(objpfx)check-localplt): Target removed.
3746         (check-localplt-CFLAGS): Variable removed.
3747         ($(all-built-dso:=.jmprel)): New static pattern rule.
3748         (generated): Add those targets.
3749         (localplt-built-dso): New variable.
3750         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3752         * elf/check-localplt.c: File removed.
3754         * scripts/check-execstack.awk: New file.
3755         * elf/Makefile ($(objpfx)check-execstack): Target removed.
3756         (check-execstack-CFLAGS): Variable removed.
3757         ($(objpfx)check-execstack.h): Target removed.
3758         ($(objpfx)execstack-default): New target.
3759         (generated): Add that instead of check-execstack.h.
3760         ($(all-built-dso:=.phdr)): New static pattern rule.
3761         (generated): Add those targets.
3762         * elf/check-execstack.c: File removed.
3764         * scripts/check-textrel.awk: New file.
3765         * elf/Makefile ($(objpfx)check-textrel): Target removed.
3766         (check-textrel-CFLAGS): Variable removed.
3767         (all-built-dso): Use := to define.o
3768         ($(all-built-dso:=.dyn)): New static pattern rule.
3769         (generated): Add those targets.
3770         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3771         * config.make.in (READELF): New substituted variable.
3772         * elf/check-textrel.c: File removed.
3774 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
3776         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3777         allow.
3778         * conform/data/ctype.h-data [C99-based standards] (isblank):
3779         Expect function.
3780         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3781         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3782         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3783         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3784         Specify type.  Require positive value.
3785         (EILSEQ): Likewise.
3786         (ERANGE): Likewise.
3787         [ISO || POSIX] (EILSEQ): Do not expect.
3788         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3789         Specify type.  Require positive value.
3790         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3791         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3792         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3793         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3794         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3795         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3796         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3797         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3798         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3799         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3800         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3801         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3802         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3803         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3804         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3805         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3806         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3807         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3808         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3809         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3810         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3811         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3812         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3813         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3814         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3815         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3816         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3817         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3818         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3819         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3820         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3821         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3822         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3823         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3824         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3825         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3826         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3827         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3828         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3829         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3830         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3831         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3832         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3833         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3834         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3835         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3836         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3837         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3838         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3839         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3840         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3841         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3842         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3843         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3844         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3845         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3846         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3847         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3848         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3849         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3850         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3851         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3852         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3853         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3854         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3855         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3856         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3857         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3858         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3859         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3860         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3861         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3862         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3863         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3864         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3865         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3866         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3867         Require >= 2.
3868         (FLT_ROUNDS): Expect as macro, not constant.
3869         (FLT_MANT_DIG): Use macro-int-constant.
3870         (DBL_MANT_DIG): Likewise.
3871         (LDBL_MANT_DIG): Likewise.
3872         (FLT_DIG): Likewise.
3873         (DBL_DIG): Likewise.
3874         (LDBL_DIG): Likewise.
3875         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
3876         (DBL_MIN_EXP): Likewise.
3877         (LDBL_MIN_EXP): Likewise.
3878         (FLT_MAX_EXP): Use macro-int-constant.
3879         (DBL_MAX_EXP): Likewise.
3880         (LDBL_MAX_EXP): Likewise.
3881         (FLT_MAX_10_EXP): Likewise.
3882         (DBL_MAX_10_EXP): Likewise.
3883         (LDBL_MAX_10_EXP): Likewise.
3884         (FLT_MAX): Use macro-constant.
3885         (DBL_MAX): Likewise.
3886         (LDBL_MAX): Likewise.
3887         (FLT_EPSILON): Use macro-constant.  Give upper bound.
3888         (DBL_EPSILON): Likewise.
3889         (LDBL_EPSILON): Likewise.
3890         (FLT_MIN): Likewise.
3891         (DBL_MIN): Likewise.
3892         (LDBL_MIN): Likewise.
3893         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3894         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3895         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3896         [ISO11] (FLT_HAS_SUBNORM): Likewise.
3897         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3898         [ISO11] (DBL_DECIMAL_DIG): Likewise.
3899         [ISO11] (FLT_DECIMAL_DIG): Likewise.
3900         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3901         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3902         [ISO11] (FLT_TRUE_MIN): Likewise.
3903         [ISO11] (LDBL_TRUE_MIN): Likewise.
3904         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3905         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3906         (SCHAR_MIN): Use macro-int-constant.  Specify type.
3907         (SCHAR_MAX): Likewise.
3908         (UCHAR_MAX): Likewise.
3909         (CHAR_MIN): Likewise.
3910         (CHAR_MAX): Likewise.
3911         (MB_LEN_MAX): Use macro-int-constant.
3912         (SHRT_MIN): Use macro-int-constant.  Specify type.
3913         (SHRT_MAX): Likewise.
3914         (USHRT_MAX): Likewise.
3915         (INT_MAX): Likewise.
3916         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
3917         bound negative.
3918         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3919         bound with "U".
3920         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3921         bound with "L".
3922         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
3923         bound negative.  Suffix upper bound with "L".
3924         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3925         bound with "UL".
3926         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3927         Specify type.
3928         [C99-based standards] (LLONG_MAX): Likewise.
3929         [C99-based standards] (ULLONG_MAX): Likewise.
3930         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
3931         == 0.
3932         [ISO11] (max_align_t): Require type.
3933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3935         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3936         from $CFLAGS, without defining away __attribute__ calls.
3937         (checknamespace): Use $CFLAGS_namespace.
3939         * conform/conformtest.pl (@keywords): Only include C99 keywords
3940         for standards based on C99 or C11.
3942         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3943         Disable tests.
3944         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3945         UNIX98]: Likewise.
3947         * conform/conformtest.pl: Handle "macro-int-constant" and test for
3948         usability of symbols in #if.
3950         * conform/conformtest.pl: If macro or constant types start
3951         "promoted:", expect the symbol to be of the following type
3952         promoted by the integer promotions.
3954         * conform/conformtest.pl: Parse all "constant" and "macro" lines
3955         in one place.  Also handle "macro-constant".
3957         * conform/conformtest.pl: Only accept expected macro values with
3958         "==".  Parse all "macro" lines in one place.
3959         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3961         * conform/conformtest.pl: Handle braced types on "constant" lines
3962         instead of handling "typed-constant".
3963         * conform/data/signal.h-data: Use "constant" instead of
3964         "typed-constant".
3966         * conform/conformtest.pl: Handle "optional-" at start of lines in
3967         one place rather than duplicating several cases.  Handle each
3968         format of "macro" line with initial "optional-".
3970         * conform/conformtest.pl: Only accept expected constant or
3971         optional-constant values with "==".  Parse all "constant" lines in
3972         one place.  Parse all "optional-constant" lines in one place.
3973         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3974         * conform/data/fmtmsg.h-data: Likewise.
3975         * conform/data/netinet/in.h-data: Likewise.
3976         * conform/data/tar.h-data: Likewise.
3977         * conform/data/limits.h-data: Use "==" form on "constant" and
3978         "optional-constant" lines.
3980         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3981         Use -std=c99 for XOPEN2K.
3982         (@knownproblems): Remove.
3983         (newtoken): Don't check %isknown.
3985         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3986         Do not expect macro.
3987         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3988         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3989         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3990         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3991         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3992         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3993         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3994         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3995         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3996         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3997         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3998         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3999         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4000         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4001         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4002         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4003         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4004         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4005         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4006         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4007         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4008         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4009         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4010         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4011         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4012         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4013         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4014         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4015         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4016         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4017         [XPG3] (acosh): Likewise.
4018         [XPG3] (asinh): Likewise.
4019         [XPG3] (atanh): Likewise.
4020         [XPG3] (cbrt): Likewise.
4021         [XPG3] (expm1): Likewise.
4022         [XPG3] (ilogb): Likewise.
4023         [XPG3] (log1p): Likewise.
4024         [XPG3] (logb): Likewise.
4025         [XPG3] (nextafter): Likewise.
4026         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4027         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4028         [XPG3] (remainder): Likewise.
4029         [XPG3] (rint): Likewise.
4030         [XPG3 || XPG4 || UNIX98] (round): Likewise.
4031         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4032         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4033         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4034         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4035         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4036         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4037         [UNIX98 || XOPEN2K] (scalb): Expect.
4038         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4039         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4040         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4041         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4042         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4043         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4044         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4045         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4046         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4047         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4048         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4049         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4050         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4051         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4052         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4053         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4054         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4055         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4056         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4057         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4058         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4059         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4060         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4061         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4062         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4063         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4064         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4065         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4066         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4067         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4068         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4069         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4070         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4071         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4072         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4073         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4074         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4075         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4076         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4077         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4078         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4079         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4080         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4081         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4082         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4083         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4084         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4085         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4086         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4087         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4088         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4089         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4090         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4091         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4092         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4093         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4094         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4095         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4096         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4097         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4098         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4099         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4100         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4101         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4102         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4103         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4104         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4105         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4106         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4107         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4108         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4109         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4110         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4111         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4112         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4113         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4114         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4115         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4116         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4117         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4118         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4119         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4120         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4121         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4122         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4123         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4124         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4125         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4126         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4127         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4128         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4129         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4130         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4131         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4132         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4133         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4134         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4135         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4136         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4137         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4138         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4139         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4140         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4141         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4142         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4143         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4144         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4145         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4146         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4147         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4148         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4149         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4150         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4151         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4152         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4153         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4154         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4155         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4156         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4157         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4158         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4159         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4160         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4161         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4162         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4163         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4164         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4165         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4166         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4167         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4168         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4169         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4170         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4171         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4172         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4173         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4174         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4176         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4177         _XOPEN_SOURCE_EXTENDED for XPG4.
4179         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4181         * Makeconfig (localtime): Remove variable.
4182         (inst_localtime-file): Likewise.
4184 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4187         Update.
4188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4189         Update.
4190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4191         Update.
4192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4193         Update.
4194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4195         Update.
4196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4197         Update.
4198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4199         Update.
4200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4201         Update.
4202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4203         Update.
4205 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4207         [BZ #2550]
4208         [BZ #2570]
4209         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4210         comparisons to determine direction to adjust input.
4211         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4212         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4213         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4214         Likewise.
4215         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4216         Likewise.
4217         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4218         Likewise.
4219         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4220         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4221         Likewise.
4222         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4223         Likewise.
4224         * math/libm-test.inc (nexttoward_test): Add more tests.
4226 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4228         [BZ #14040]
4229         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4230         in version GLIBC_2.1, not GLIBC_2.0.
4231         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4232         Likewise.
4234 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
4236         [BZ #13942]
4237         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4238         (1 - x) * (1 + x).
4239         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4240         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4241         * math/libm-test.inc (acos_test): Add more tests.
4242         (asin_test): Likewise.
4243         * sysdeps/i386/fpu/libm-test-ulps: Update.
4244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246         [BZ #14034]
4247         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4248         of square root.
4249         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4250         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4251         * math/libm-test.inc (acos_test_tonearest): New function.
4252         (acos_test_towardzero): Likewise.
4253         (acos_test_downward): Likewise.
4254         (acos_test_upward): Likewise.
4255         (asin_test_tonearest): Likewise.
4256         (asin_test_towardzero): Likewise.
4257         (asin_test_downward): Likewise.
4258         (asin_test_upward): Likewise.
4259         (main): Call the new functions.
4260         * sysdeps/i386/fpu/libm-test-ulps: Update.
4261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4263         [BZ #13884]
4264         [BZ #13924]
4265         * math/e_exp10.c: Include <float.h>.
4266         (__ieee754_exp10): Handle underflow here rather than multiplying
4267         large negative argument by M_LN10.
4268         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4269         of __ieee754_expf.
4270         * math/e_exp10l.c: Include <float.h>.
4271         (__ieee754_exp10l): Handle underflow here rather than multiplying
4272         large negative argument by M_LN10l.
4273         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
4274         spurious overflow exception on underflow.
4276 2012-04-29  Marek Polacek  <polacek@redhat.com>
4278         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4279         (__fortify_function): New macro.
4280         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4281         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4282         __extern_always_inline.
4283         * libio/bits/stdio2.h: Likewise.
4284         * libio/bits/stdio.h: Likewise.
4285         * string/string.h: Likewise.
4286         * string/bits/string3.h: Likewise.
4287         * include/stdio.h: Likewise.
4288         * stdlib/bits/stdlib.h: Likewise.
4289         * stdlib/stdlib.h: Likewise.
4290         * rt/bits/mqueue2.h: Likewise.
4291         * rt/mqueue.h: Likewise.
4292         * posix/bits/unistd.h: Likewise.
4293         * posix/unistd.h: Likewise.
4294         * io/bits/poll2.h: Likewise.
4295         * io/bits/fcntl2.h: Likewise.
4296         * io/fcntl.h: Likewise.
4297         * io/sys/poll.h: Likewise.
4298         * misc/bits/syslog.h: Likewise.
4299         * misc/bits/syslog-ldbl.h: Likewise.
4300         * misc/sys/syslog.h: Likewise.
4301         * socket/bits/socket2.h: Likewise.
4302         * socket/sys/socket.h: Likewise.
4303         * debug/tst-chk1.c: Likewise.
4304         * wcsmbs/bits/wchar2.h: Likewise.
4305         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4306         * wcsmbs/wchar.h: Likewise.
4308 2012-04-29  Andreas Jaeger  <aj@suse.de>
4310         * Makerules (tests): Remove enable-check-abi protection.
4311         (check-abi-warn): Remove.
4312         (check-abi-%): Remove check-abi-warn usage.
4314         * configure.in: Remove check-abi configure option.
4315         * configure: Regenerated.
4316         * config.make.in (enable-check-abi): Remove.
4318 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
4320         [BZ #14033]
4321         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4322         double functions to double *_finite functions.
4324         [BZ #13941]
4325         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4326         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4327         LDBL_MIN_EXP.
4328         * stdio-common/Makefile (tests): Add tst-sprintf3.
4329         * stdio-common/tst-sprintf3.c: New file.
4331         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4332         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4334 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4336         * conform/conformtest.pl: Remove duplicate typed-constant
4337         handling.
4339 2012-04-28  David S. Miller  <davem@davemloft.net>
4341         * Makerules (%.abilist): Add vpath on sysdep_dirs.
4342         (check-abi-%): Remove AWK script prerequisite and explicit
4343         abilist directory.
4344         (check-abi): Rewrite to just diff the symlist with the abilist.
4345         (config-tls, config-abi-config): Delete, no longer used.
4346         (update-abi-%): Remove AWK script and explicit abilist directory.
4347         (update-abi): Rewrite to simply compare and conditionally copy the
4348         symlist and the sysdep abilist file.  Remove update-abi-config
4349         checks.
4350         * abilist/ld.abilist: Remove.
4351         * abilist/libBrokenLocale.abilist: Remove.
4352         * abilist/libanl.abilist: Remove.
4353         * abilist/libcrypt.abilist: Remove.
4354         * abilist/libdl.abilist: Remove.
4355         * abilist/librt.abilist: Remove.
4356         * abilist/libthread_db.abilist: Remove.
4357         * abilist/libutil.abilist: Remove.
4358         * scripts/extract-abilist.awk: Remove.
4359         * scripts/merge-abilist.awk: Remove.
4360         * sysdeps/generic/libcidn.abilist: New file.
4361         * sysdeps/generic/libnss_compat.abilist: New file.
4362         * sysdeps/generic/libnss_db.abilist: New file.
4363         * sysdeps/generic/libnss_dns.abilist: New file.
4364         * sysdeps/generic/libnss_files.abilist: New file.
4365         * sysdeps/generic/libnss_hesiod.abilist: New file.
4366         * sysdeps/generic/libnss_nis.abilist: New file.
4367         * sysdeps/generic/libnss_nisplus.abilist: New file.
4368         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4369         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4370         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4371         file.
4372         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4373         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4374         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4375         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4376         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4377         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4378         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4379         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4380         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4381         file.
4382         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4383         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4384         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4385         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4386         file.
4387         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4388         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4389         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4390         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4391         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4392         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4393         file.
4394         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4395         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4396         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4397         file.
4398         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4399         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4400         New file.
4401         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4402         New file.
4403         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4404         New file.
4405         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4406         New file.
4407         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4408         New file.
4409         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4410         New file.
4411         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4412         New file.
4413         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4414         New file.
4415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4416         New file.
4417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4418         New file.
4419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4420         New file.
4421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4422         New file.
4423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4424         New file.
4425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4426         file.
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4428         New file.
4429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4430         New file.
4431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4432         file.
4433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4434         New file.
4435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4436         New file.
4437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4438         file.
4439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4440         New file.
4441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4442         New file.
4443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4444         New file.
4445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4446         New file.
4447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4448         New file.
4449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4450         New file.
4451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4453         file.
4454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4455         New file.
4456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4457         file.
4458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4459         file.
4460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4461         file.
4462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4463         file.
4464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4465         file.
4466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4467         New file.
4468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4469         file.
4470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4471         file.
4472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4473         New file.
4474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4475         file.
4476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4478         file.
4479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4480         New file.
4481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4482         file.
4483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4484         file.
4485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4486         file.
4487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4488         file.
4489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4490         file.
4491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4492         New file.
4493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4494         file.
4495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4496         file.
4497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4498         New file.
4499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4500         file.
4501         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4502         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4503         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4504         file.
4505         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4506         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4507         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4508         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4509         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4510         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4511         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4512         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4513         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4514         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4517         file.
4518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4519         New file.
4520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4521         file.
4522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4523         file.
4524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4525         file.
4526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4527         file.
4528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4529         file.
4530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4531         New file.
4532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4533         New file.
4534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4535         file.
4536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4537         New file.
4538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4539         file.
4540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4542         file.
4543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4544         New file.
4545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4546         file.
4547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4548         file.
4549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4550         file.
4551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4552         file.
4553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4554         file.
4555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4556         New file.
4557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4558         New file.
4559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4560         file.
4561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4562         New file.
4563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4564         file.
4566 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4568         * conform/conformtest.pl: Fix typo in handling typed-constant from
4569         allow-header.
4571 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4573         * README: Cut down references to pre-2.6 Linux kernels and
4574         Linuxthreads.  Update lists of configurations in libc and ports
4575         and sort alphabetically.  Say "or newer" with Linux kernel version
4576         requirements.
4578         * config.h.in [IS_IN_build]: Allow compiling without optimization.
4580 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4582         [BZ #887]
4583         * math/libm-test.inc (logb_test_downward): New test to expose
4584         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4585         rounding mode.
4587 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4589         [BZ #14027]
4590         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4591         to be done.
4592         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4593         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4595 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
4597         * sysdeps/unix/i386/brk.S: Remove file.
4598         * sysdeps/unix/i386/dl-brk.S: Likewise.
4599         * sysdeps/unix/i386/pipe.S: Likewise.
4600         * sysdeps/unix/i386/sigreturn.S: Likewise.
4601         * sysdeps/unix/i386/syscall.S: Likewise.
4602         * sysdeps/unix/i386/vfork.S: Likewise.
4603         * sysdeps/unix/i386/wait.S: Likewise.
4605         * sysdeps/unix/common/tcsendbrk.c: Move to ...
4606         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4608         * configure.in (arm*-none*): Do not allow without
4609         --enable-hacker-mode.
4610         (netbsd*): Remove case setting base_os.
4611         (386bsd*): Likewise.
4612         (freebsd*): Likewise.
4613         (bsdi*): Likewise.
4614         (osf*): Likewise.
4615         (sunos*): Likewise.
4616         (ultrix*): Likewise.
4617         (newsos*): Likewise.
4618         (dynix*): Likewise.
4619         (*bsd*): Likewise.
4620         (sysv*): Likewise.
4621         (isc*): Likewise.
4622         (esix*): Likewise.
4623         (sco*): Likewise.
4624         (minix*): Likewise.
4625         (irix4*): Likewise.
4626         (irix6*): Likewise.
4627         (solaris[2-9]*): Likewise.
4628         (none): Likewise.
4629         * configure: Regenerated.
4631 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4633         [BZ #11521]
4634         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4635         overflow or cancellation in calculating denominator.
4636         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4637         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4638         down expression to avoid unexpected rounding in newer GCCs.
4639         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4641 2012-04-26  David S. Miller  <davem@davemloft.net>
4643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4644         long-double compat symbols.
4645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4659 2012-04-25  David S. Miller  <davem@davemloft.net>
4661         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4662         HWCAP_* values only after the memory barriers have been defined.
4663         (atomic_full_barrier): Define.
4664         (atomic_read_barrier): Define.
4665         (atomic_write_barrier): Define.
4667 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4669         * shlib-versions: Add libgcc_s version information.
4670         * sysdeps/generic/libgcc_s.h: Remove.
4671         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4672         libgcc_s.h.
4673         * sysdeps/gnu/unwind-resume.c: Likewise.
4674         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4676 2012-04-25  David S. Miller  <davem@davemloft.net>
4678         * sysdeps/unix/sparc/brk.S: Delete.
4679         * sysdeps/unix/sparc/dl-brk.S: Delete.
4680         * sysdeps/unix/sparc/pipe.S: Delete.
4681         * sysdeps/unix/sparc/sysdep.S: Delete.
4682         * sysdeps/unix/sparc/sysdep.h: Delete.
4683         * sysdeps/unix/sparc/vfork.S: Delete.
4684         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4685         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4686         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4687         ret_ERRVAL, r0, r1, MOVE): Define.
4688         (JUMPTARGET): Remove.
4689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4690         sysdeps/unix/sparc/sysdep.h
4691         (ENTRY, END): Remove.
4692         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4694 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
4696         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4697         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4698         -DIS_IN_build.
4700         * timezone/README: Update upstream location and email address for
4701         tzcode and tzdata.
4702         * timezone/zdump.c: Update from tzcode 2012b.
4703         * timezone/zic.c: Likewise.
4705         * configure.in (libc_cv_as_needed): Remove test.
4706         * configure: Regenerated.
4707         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4708         conditional definition.
4709         [$(have-as-needed) != yes] (no-as-needed): Likewise.
4710         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4711         * config.make.in (have-as-needed): Remove variable.
4713 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4714             Paul Pluzhnikov  <ppluzhnikov@google.com>
4716         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4717         strings correctly.
4719 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4721         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4722         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4723         * sysdeps/sh/strlen.S: Likewise.
4725 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4727         * sysdeps/unix/fork.S: Remove file.
4728         * sysdeps/unix/i386/fork.S: Likewise.
4729         * sysdeps/unix/sparc/fork.S: Likewise.
4731         * sysdeps/unix/system.c: Remove file.
4732         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4734         * sysdeps/unix/getegid.S: Remove file.
4735         * sysdeps/unix/geteuid.S: Likewise.
4737 2012-04-24  Roland McGrath  <roland@hack.frob.com>
4739         * scripts/check-localplt.awk: New file.
4740         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4741         of diff.
4742         * scripts/data/localplt-generic.data: Add a comment.
4744         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4745         NODE when __dir_mkfile failed.
4746         * sysdeps/mach/hurd/symlinkat.c: Likewise.
4747         Reported by Ludovic Courtès <ludo@gnu.org>.
4749 2012-04-24  Andreas Jaeger  <aj@suse.de>
4751         * Makerules (common-clean): Also remove gen-as-const-headers
4752         files.
4754 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4756         * Makerules (native-compile): Do not change working directory for
4757         build.  Use $(OUTPUT_OPTION) in command.
4758         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4760 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4762         [BZ #13886]
4763         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4764         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4765         * math/libm-test.inc (floor_test): Add more tests.
4766         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4768 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4770         * sysdeps/unix/getdents.c: Remove file.
4771         * sysdeps/unix/sysv/getdents.c: Likewise.
4772         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4774         * sysdeps/unix/syscalls.list (madvise): Add syscall from
4775         sysdeps/unix/mman/syscalls.list.
4776         (mmap): Likewise.
4777         (mprotect): Likewise.
4778         (msync): Likewise.
4779         (munmap): Likewise.
4780         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4781         * sysdeps/unix/mman/syscalls.list: Remove.
4782         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4784         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4785         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4786         * configure: Regenerated.
4787         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4788         $(libgcc_s_suffix).
4789         * config.make.in (libgcc_s_suffix): Remove variable.
4791 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
4793         * sysdeps/unix/sysv/gethostname.c: Move to ...
4794         * sysdeps/posix/gethostname.c: ... here.
4796         * sysdeps/unix/execve.S: Remove file.
4798         * sysdeps/unix/_exit.S: Remove file.
4800 2012-04-23  Andreas Jaeger  <aj@suse.de>
4802         [BZ #13739]
4803         * manual/Makefile: Remove make dist support, there's no
4804         need for a stand-alone documentation tar ball.
4805         (TEXI2DVI): Define always, it's not in Makeconfig.
4806         (dist): Removed.
4807         (tar-it): Removed.
4808         (edition): Removed.
4809         (glibc-doc-$(edition).tar): Removed
4810         (%.Z): Removed.
4811         (%.gz): Removed.
4812         (%.uu): Removed.
4813         (ETAGS): Remove, it's in Makeconfig.
4814         (move-if-change): Remove, it's in Makeconfig.
4816 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
4818         [BZ #13970]
4819         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4820         (strtod, strtof, strtold, strtol, strtoul, strtoq)
4821         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4822         (strtod_l, strtof_l, strtold_l): Remove __wur.
4823         It is not necessarily an error to ignore strtol's return value.
4824         One can reliably look at the stored endptr to decide whether
4825         the number had valid syntax.
4827 2012-04-21  Andreas Jaeger  <aj@suse.de>
4829         [BZ #13739]
4830         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4832 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
4834         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4835         * sysdeps/unix/sysv/Versions: Remove file.
4837 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
4839         [BZ #13927]
4840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4842 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
4844         [BZ #7064]
4845         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4846         version from __vm86.
4848 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
4850         * sysdeps/unix/common/lxstat.c: Remove file.
4851         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4853         * sysdeps/unix/sysv/Makefile: Remove file.
4855         * sysdeps/unix/sysv/direct.h: Remove file.
4857         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4858         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4859         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4860         * sysdeps/unix/sysv/bits/signum.h: Likewise.
4861         * sysdeps/unix/sysv/bits/stat.h: Likewise.
4862         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4863         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4865         * sysdeps/unix/sysv/setrlimit.c: Remove file.
4867         * sysdeps/unix/xmknod.c: Remove file.
4868         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4870         * sysdeps/unix/sysv/settimeofday.c: Remove file.
4872         * sysdeps/unix/sysv/i386/time.S: Remove file.
4874         * sysdeps/unix/fxstat.c: Remove file.
4875         * sysdeps/unix/xstat.c: Likewise.
4876         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4878         * sysdeps/unix/sysv/sigaction.c: Remove file.
4880         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4881         (sysdep_headers): Remove variable.
4882         [termio.h not in sysdep_headers] (generated): Likewise.
4883         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4884         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4885         * sysdeps/unix/sysv/tcdrain.c: Likewise.
4886         * sysdeps/unix/sysv/tcflow.c: Likewise.
4887         * sysdeps/unix/sysv/tcflush.c: Likewise.
4888         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4889         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4890         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4891         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4892         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4894         * sysdeps/unix/siglist.c: Remove file.
4896         * sysdeps/unix/getppid.S: Remove file.
4898         * sysdeps/unix/mkdir.c: Remove file.
4899         * sysdeps/unix/rmdir.c: Likewise.
4901 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
4903         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4904         ERR_MAX value.
4905         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4906         errlist-compat value.
4908 2012-04-18  David S. Miller  <davem@davemloft.net>
4910         * sysdeps/generic/memcopy.h (reg_char): Delete.
4911         * debug/strcat_chk.c: Use char, not reg_char.
4912         * debug/strcpy_chk.c: Likewise.
4913         * debug/strncat_chk.c: Likewise.
4914         * debug/strncpy_chk.c: Likewise.
4915         * string/memchr.c: Likewise.
4916         * string/memrchr.c: Likewise.
4917         * string/rawmemchr.c: Likewise.
4918         * string/strcat.c: Likewise.
4919         * string/strchr.c: Likewise.
4920         * string/strchrnul.c: Likewise.
4921         * string/strcmp.c: Likewise.
4922         * string/strcpy.c: Likewise.
4923         * string/strncat.c: Likewise.
4924         * string/strncmp.c: Likewise.
4925         * string/strncpy.c: Likewise.
4927 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4929         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4930         __builtin_memcopy is called when src and dest ranges are known to not
4931         overlap.
4933 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4935         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4936         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4937         fwd_align_merge macro call.
4938         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4939         bwd_align_merge macro call.
4940         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4942 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4944         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4945         bwd_align_merge macros.
4946         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4947         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4948         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4950 2012-04-18  David S. Miller  <davem@davemloft.net>
4952         * sysdeps/sparc/sparc64/memcopy.h: Delete.
4954 2012-04-18  Andreas Jaeger  <aj@suse.de>
4956         [BZ# 6794]
4957         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4958         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4959         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4961         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4962         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4963         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4965         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4966         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4967         Adjust for changed ldbl-128 files.
4969         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4970         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4971         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4973 2012-04-17  David S. Miller  <davem@davemloft.net>
4975         * sysdeps/sparc/sparc32/memcopy.h: Delete.
4977 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
4979         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4980         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4981         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4982         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4983         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4984         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4986 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4988         [BZ #6794]
4989         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4990         * math/libm-test.inc: Add ilogb errno and exception tests.
4991         * math/w_ilogb.c: New file: ilogb wrapper.
4992         * math/w_ilogbf.c: New file: ilogbf wrapper.
4993         * math/w_ilogbl.c: New file: ilogbl wrapper.
4994         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4995         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4996         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4997         exception being thrown with 0.0 as argument.
4998         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4999         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5000         exception being thrown with 0.0 as argument.
5001         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5002         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5003         exception being thrown with 0.0 as argument.
5004         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5005         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5006         exception being thrown with 0.0 as argument.
5007         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5008         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5009         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5010         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5011         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5012         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5013         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5014         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5015         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5017 2012-04-17  Petr Baudis  <pasky@ucw.cz>
5019         * include/sys/uio.h: Change __vector to __iovec to avoid clash
5020         with altivec.
5022 2012-04-16  Marek Polacek  <polacek@redhat.com>
5024         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5026 2012-04-16  Marek Polacek  <polacek@redhat.com>
5028         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5029         operands of fdivp instruction.
5031 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5033         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5034         * elf/tst-auditmod3b.c: Likewise.
5035         * elf/tst-auditmod4b.c: Likewise.
5036         * elf/tst-auditmod5b.c: Likewise.
5037         * elf/tst-auditmod6b.c: Likewise.
5038         * elf/tst-auditmod6c.c: Likewise.
5039         * elf/tst-auditmod7b.c: Likewise.
5040         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5041         * sysdeps/x86_64/preconfigure.in: Likewise.
5042         * sysdeps/x86_64/preconfigure: Regenerated.
5044 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5046         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5047         __ILP32__.
5049 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
5051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5052         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5054 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
5056         [BZ #13973]
5057         * locale/iso-639.def: Fix gl language name. Spotted by
5058         Yaron Shahrabani.
5060 2012-04-12  Roland McGrath  <roland@hack.frob.com>
5062         [BZ #2074]
5063         * libio/libio.h (__io_write_fn): Update comment.
5065 2012-04-12  Petr Baudis  <pasky@ucw.cz>
5067         [BZ #2074]
5068         * stdio.texi (Hook Functions): The user provided writer function
5069         is not allowed to return -1.
5071 2012-04-11  David S. Miller  <davem@davemloft.net>
5073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5075 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
5077         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5078         Add a leading slash to rtkaio.
5080 2012-04-11  Jim Meyering  <meyering@redhat.com>
5082         [BZ #11959]
5083         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5084         It is not necessarily an error to ignore fwrite's return
5085         value.  One can reliably use ferror to test for errors after
5086         the fact.
5088 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5090         * bits/types.h (__snseconds_t): New type.
5091         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5093         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5095         (__SNSECONDS_T_TYPE): Likewise.
5096         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5097         (__SNSECONDS_T_TYPE): Likewise.
5098         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5099         (__SNSECONDS_T_TYPE): Likewise.
5101 2012-04-10  Andreas Jaeger  <aj@suse.de>
5103         [BZ #2636]
5104         * manual/time.texi (Processor Time): Return type of times is
5105         elapsed real time since an arbitrary point in the past.
5106         (CPU Time): Move CLK_TCK from here...
5107         (Processor Time): ...to here.  Correct description.
5108         * manual/conf.texi (Constants for Sysconf): Correct description of
5109         _SC_CLK_TCK.
5111 2012-04-10  David S. Miller  <davem@davemloft.net>
5113         [BZ #13967]
5114         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5115         where the is a gap between DT_REL(A) and DT_JMPREL.
5117 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5119         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5120         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5121         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5123 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5125         * elf/dl-support.c (_dl_inhibit_cache): New variable.
5126         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5127         (dl_main): Handle --inhibit-cache.
5128         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5129         _dl_inhibit_cache.
5130         * elf/dl-load.c (_dl_map_object): Use it.
5131         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5133 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5135         [BZ #13872]
5136         * sysdeps/i386/fpu/e_powl.S (p78): New object.
5137         (__ieee754_powl): Saturate large exponents rather than testing for
5138         overflow of y*log2(x).
5139         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5140         * math/libm-test.inc (pow_test): Do not permit spurious overflow
5141         exceptions.
5143         [BZ #11521]
5144         * math/s_ctan.c: Include <float.h>.
5145         (__ctan): Avoid internal overflow or cancellation in calculating
5146         denominator.
5147         * math/s_ctanf.c: Likewise.
5148         * math/s_ctanl.c: Likewise.
5149         * math/s_ctanh.c: Likewise.
5150         * math/s_ctanhf.c: Likewise.
5151         * math/s_ctanhl.c: Likewise.
5152         * math/libm-test.inc (ctan_test): Add more tests.
5153         (ctanh_test): Likewise.
5154         * sysdeps/i386/fpu/libm-test-ulps: Update.
5155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5157 2012-04-09  Andreas Jaeger  <aj@suse.de>
5159         [BZ #6894]
5160         * manual/filesys.texi (Directory Entries): Mention that d_namlen
5161         is an optional BSD extension.
5163         [BZ #10254]
5164         * manual/stdio.texi (Opening Streams): Document additional fopen
5165         parameters.
5167 2012-04-09  Roland McGrath  <roland@hack.frob.com>
5169         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5170         %eax without telling the compiler.
5172 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
5174         [BZ # 13963]
5175         * manual/install.texi: Use sourceware.org.
5177 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
5179         [BZ #13873]
5180         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5181         (__ieee754_pow): Generate overflow and underflow using huge*huge
5182         and tiny*tiny rather than just returning constant infinity or zero
5183         for large exponents.
5184         * math/libm-test.inc (pow_test): Require overflow exceptions for
5185         applicable cases of large exponents.
5187         [BZ #706]
5188         * sysdeps/i386/fpu/e_pow.S (p10): New object.
5189         (__ieee754_pow): Use iterative multiplication algorithm only for
5190         integer exponents with absolute value below 1024.  Check for odd
5191         integer exponents when using algorithm for real exponents.
5192         * math/libm-test.inc (pow_test): Add more tests.
5193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5195 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
5197         [BZ #13705]
5198         * math/libm-test.inc (exp_test): Do not allow overflow exception
5199         on underflow test.
5201 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
5203         [BZ #13705]
5204         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5205         instead of __kernel_standard_f.
5207 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
5209         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5210         * sysdeps/x86_64/memset_chk.S: Likewise.
5212 2012-04-08  Andreas Jaeger  <aj@suse.de>
5214         [BZ #10153]
5215         * manual/startup.texi (Environment Access): Describe return value
5216         for putenv and setenv.
5218         [BZ #6895]
5219         * manual/filesys.texi (Directory Entries): Add description for
5220         DT_LNK.
5222         [BZ #6890]
5223         * manual/filesys.texi (Directory Entries): Clarify that it's file
5224         system not operating system in the description of DT_UNKNOWN.
5226         [BZ #6578]
5227         * manual/syslog.texi (closelog): Fix reference, it's openlog.
5229 2012-04-08  Stephen Compall  <s11@member.fsf.org>
5231         [BZ #6649]
5232         * manual/llio.texi (Opening and Closing Files): Add cross
5233         reference to explain mode argument.
5235 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
5237         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5238         * sysdeps/x86_64/memset_chk.S: Likewise.
5240 2012-04-07  David S. Miller  <davem@davemloft.net>
5242         * elf/elf.h (R_SPARC_WDISP10): Define.
5243         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5244         R_SPARC_SIZE32.
5245         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5246         R_SPARC_SIZE64 and R_SPARC_H34.
5248 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
5250         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5251         conditions and remove no longer applicable assertion.
5253 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5255         * bits/byteswap.h: Include <features.h>.
5256         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5257         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5259 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
5261         * bits/byteswap.h (__bswap_16): Removed.
5262         Include <bits/byteswap-16.h> to get __bswap_16.
5263         * sysdeps/i386/bits/byteswap.h: Likewise.
5264         * sysdeps/s390/bits/byteswap.h: Likewise.
5265         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5266         * bits/byteswap-16.h: New file.
5267         * sysdeps/i386/bits/byteswap-16.h: Likewise.
5268         * sysdeps/s390/bits/byteswap-16.h: Likewise.
5269         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5270         * string/Makefile (headers): Add bits/byteswap-16.h.
5272 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5274         [BZ #13895]
5275         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5276         extra indirection.
5277         * nss/Makefile (tests-static, tests): Add tst-nss-static.
5278         * nss/tst-nss-static.c: New.
5280 2012-04-06  Robert Millan  <rmh@gnu.org>
5282         [BZ #6486]
5283         * manual/llio.texi (File Position Primitive): lseek
5284         refers to WHENCE when it really means OFFSET.
5286 2012-04-06  Andreas Jaeger  <aj@suse.de>
5288         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5289         strncmp declarations.
5291         * abilist/libc.abilist: Add __poll and __ppoll.
5293 2012-04-05  David S. Miller  <davem@davemloft.net>
5295         * scripts/check-local-headers.sh: Accept a host triplet in the
5296         path matched by the exclude regexp.
5298         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5299         definition.
5300         * sysdeps/powerpc/powerpc32/dl-machine.h
5301         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5302         * sysdeps/s390/s390-32/dl-machine.h
5303         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5304         * sysdeps/sparc/sparc32/dl-machine.h
5305         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5306         * sysdeps/sparc/sparc64/dl-machine.h
5307         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5309         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5310         lazy binding.
5311         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5312         undefined symbol errors.
5314         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5315         DT_NEEDED entries.
5317 2012-04-05  Michael Matz  <matz@suse.de>
5319         [BZ #13592]
5320         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5322 2012-04-05  Andreas Jaeger  <aj@suse.de>
5324         [BZ #13908]
5325         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5326         comment.
5328 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5330         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5331         which ROUND is no valid rounding mode.
5333 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5335         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5336         read again.
5337         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5339 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5341         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5342         an exception using FPU order intentionally.
5344 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5346         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5347         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5348         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5349         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5351 2012-04-05  Simon Josefsson  <simon@josefsson.org>
5353         [BZ #12340]
5354         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5355         EINVAL when BUFLEN is too smal.
5357 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5359         [BZ #13553]
5360         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5361         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5363 2012-04-03  Andreas Jaeger  <aj@suse.de>
5365         [BZ #13938]
5366         * manual/setjmp.texi (System V contexts): Fix sentence.
5368         [BZ #13926]
5369         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5370         New macro for this case.
5371         [!__GNUC__] (__bswap_64): New inline function for this case.
5372         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5373         * bits/byteswap.h: Likewise.
5374         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5375         ull, guard with __GLIBC_HAVE_LONG_LONG.
5377         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5378         __GLIBC_HAVE_LONG_LONG.
5380         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5381         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5383 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5385         [BZ #13691]
5386         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5387         inptr and inend, rather than using last_ch.
5389 2012-04-02  David S. Miller  <davem@davemloft.net>
5391         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5392         * stdio-common/printf-parse.h (read_int): Change return type to
5393         'int', return -1 on INT_MAX overflow.
5394         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5395         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
5396         overflows INT_MAX.  Check for overflow of in-format-string precision
5397         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
5398         SIZE_MAX not INT_MAX for integer overflow test.
5399         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5400         skip the construct in the format string but do not record anything.
5401         * stdio-common/bug22.c: Adjust to test both width/prevision
5402         INT_MAX overflow as well as total length INT_MAX overflow.  Check
5403         explicitly for proper errno values.
5405 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5407         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5408         CHAR_MAX.
5409         * string/test-strcmp.c [! WIDE]: Likewise.
5410         * time/tst-mktime2.c: Likewise for INT_MAX.
5411         * string/test-string.h: #include <sys/param.h> for MIN.
5413         * csu/init-first.c (__libc_init_first): Call __ctype_init.
5414         * sysdeps/i386/init-first.c (init): Likewise.
5415         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5416         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5417         * sysdeps/sh/init-first.c (init): Likewise.
5419 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
5421         * po/ru.po: Update from translation team.
5422         * po/vi.po: Likewise.
5424 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5426         * resolv/nss_dns/dns-host.c: Merge copyright years.
5428 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5430         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5431         Optimize memcpy with prefetch if
5432         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
5433         src, dst pointers have unequal 16 byte alignments.
5435 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5437         [BZ #13928]
5438         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5439         from a CNAME entry and return the minimum ttl for the query.
5440         (gaih_getanswer_slice): Likewise.
5442 2012-03-30  Jeff Law  <law@redhat.com>
5444         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5445         due to long keys.
5446         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5447         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5449         * resolv/nss_dns/dns-host.c: Update copyright year.
5451 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
5453         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5454         requests to save a system call.  Fix check that all bytes are sent.
5456         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5457         comments for sendmmsg.
5459 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5461         [BZ #13691]
5462         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5463         with only 1 character between 0x0041 and 0x01b0.
5464         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5465         * wcsmbs/tst-mbsnrtowcs.c: New file.
5467 2012-03-29  David S. Miller  <davem@davemloft.net>
5469         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5470         small copies by hand.
5472 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5474         [BZ #13761]
5475         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5476         _nss_compat_initgroups_dyn): Fall back to malloc/free
5477         for large group memberships.
5479 2012-03-28  David S. Miller  <davem@davemloft.net>
5481         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5482         that branches into memcpy.
5483         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5486         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5487         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5488         bits.
5489         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5490         implementation too.
5491         * sysdeps/sparc/mempcpy.S: New file.
5493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5494         the IFUNC routine in the libc case.
5495         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5497         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5498         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5499         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5500         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5501         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5502         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5503         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5504         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5506         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5507         loop to 256 bytes instead of 64 bytes and fix test signedness.
5509         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5510         * sysdeps/sparc/sparc32/Makefile: rather than here...
5511         * sysdeps/sparc/sparc64/Makefile: and here.
5513 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
5515         * malloc/mallocbug.c: Avoid warnings about unused variables.
5517 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5519         [BZ #13760]
5520         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5521         in the right place. Discard and retry query if response is
5522         larger than input buffer size.
5524 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
5526         [BZ #369]
5527         [BZ #2678]
5528         [BZ #3866]
5529         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5530         x for large integer exponent.
5531         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5532         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
5533         sign of result as needed afterwards.
5534         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5535         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5536         result for underflowing pow the same as for overflow.
5537         (__kernel_standard_l): Handle powl overflow and underflow here
5538         rather than calling __kernel_standard.
5539         * math/libm-test.inc (pow_test): Add more tests.
5541         [BZ #3868]
5542         [BZ #13879]
5543         [BZ #13910]
5544         [BZ #13911]
5545         [BZ #13912]
5546         [BZ #13913]
5547         [BZ #13915]
5548         [BZ #13916]
5549         [BZ #13917]
5550         [BZ #13918]
5551         [BZ #13919]
5552         [BZ #13920]
5553         [BZ #13921]
5554         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5555         * sysdeps/ieee754/k_standard.c: Include <float.h>.
5556         (__kernel_standard_l): New function.
5557         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5558         __kernel_standard.
5559         * math/w_acosl.c (__acosl): Likewise.
5560         * math/w_asinl.c (__asinl): Likewise.
5561         * math/w_atan2l.c (__atan2l): Likewise.
5562         * math/w_atanhl.c (__atanhl): Likewise.
5563         * math/w_coshl.c (__coshl): Likewise.
5564         * math/w_exp10l.c (__exp10l): Likewise.
5565         * math/w_exp2l.c (__exp2l): Likewise.
5566         * math/w_fmodl.c (__fmodl): Likewise.
5567         * math/w_hypotl.c (__hypotl): Likewise.
5568         * math/w_j0l.c (__j0l, __y0l): Likewise.
5569         * math/w_j1l.c (__j1l, __y1l): Likewise.
5570         * math/w_jnl.c (__jnl, __ynl): Likewise.
5571         * math/w_lgammal.c (__lgammal): Likewise.
5572         * math/w_log10l.c (__log10l): Likewise.
5573         * math/w_log2l.c (__log2l): Likewise.
5574         * math/w_logl.c (__logl): Likewise.
5575         * math/w_powl.c (__powl): Likewise.
5576         * math/w_remainderl.c (__remainderl): Likewise.
5577         * math/w_scalbl.c (sysv_scalbl): Likewise.
5578         * math/w_sinhl.c (__sinhl): Likewise.
5579         * math/w_sqrtl.c (__sqrtl): Likewise.
5580         * math/w_tgammal.c (__tgammal): Likewise.
5581         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5582         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5583         * math/libm-test.inc (acos_test): Add more tests.
5584         (acosh_test): Likewise.
5585         (asin_test): Likewise.
5586         (atanh_test): Likewise.
5587         (exp_test): Likewise.
5588         (exp10_test): Likewise.
5589         (exp2_test): Likewise.
5590         (expm1_test): Likewise.
5591         (lgamma_test): Likewise.
5592         (log_test): Likewise.
5593         (log10_test): Likewise.
5594         (log1p_test): Likewise.
5595         (log2_test): Likewise.
5596         (pow_test): Do not allow some spurious overflow exceptions.
5597         (sqrt_test): Add more tests.
5598         (tgamma_test): Likewise.
5599         (y0_test): Likewise.
5600         (y1_test): Likewise.
5601         (yn_test): Likewise.
5603 2012-03-27  Anton Blanchard  <anton@samba.org>
5605         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5606         MAP_HUGETLB.
5607         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5608         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5609         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5611 2012-03-27  David S. Miller  <davem@davemloft.net>
5613         * conform/Makefile: Run run-conformtest.sh using $(BASH).
5615         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5616         have-as-vis3 check.
5618 2012-03-27  Andreas Jaeger  <aj@suse.de>
5620         * sysdeps/x86_64/elf/configure.in: Moved to ...
5621         * sysdeps/x86_64/configure.in: ... here.
5622         * sysdeps/x86_64/elf/start.S: Moved to ...
5623         * sysdeps/x86_64/start.S: ... here.
5624         * sysdeps/x86_64/elf/configure: Delete.
5626         * sysdeps/x86_64/configure.in: Merge contents from
5627         sysdeps/i386/configure.in (without i686 check).
5629         * sysdeps/i386/elf/Versions: Merge into ...
5630         * sysdeps/i386/Versions: ... this.
5631         * sysdeps/i386/elf/Versions: Delete file.
5632         * sysdeps/i386/elf/start.S: Moved to ...
5633         * sysdeps/i386/start.S: ...here.
5634         * sysdeps/i386/elf/configure.in: Merge into...
5635         * sysdeps/i386/configure.in: ...here.
5636         * sysdeps/i386/elf/configure.in: Delete file.
5637         * sysdeps/i386/elf/configure: Delete file.
5639         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5640         * debug/backtracesyms.c: ... here.
5641         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5642         * debug/backtracesymsfd.c: ... here.
5643         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5644         * sysdeps/generic/ifunc-sel.h: ... here.
5646         * sysdeps/unix/i386/start.c: Delete file.
5647         * sysdeps/unix/sparc/start.c: Delete file.
5648         * sysdeps/unix/start.c: Delete file.
5650         * sysdeps/sh/elf/configure.in: Moved to ...
5651         * sysdeps/sh/configure.in: ... here.
5652         * sysdeps/sh/elf/start.S: Moved to ...
5653         * sysdeps/sh/start.S: ... here.
5654         * sysdeps/sh/elf/configure: Delete file.
5656         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5657         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5658         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5659         * sysdeps/powerpc/powerpc64/entry.h: ... here.
5660         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5661         * sysdeps/powerpc/powerpc64/start.S: here.
5662         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5663         * sysdeps/powerpc/powerpc64/Makefile: ... this.
5664         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5665         * sysdeps/powerpc/powerpc64/configure.in: ... this.
5666         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5668         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5669         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5670         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5671         * sysdeps/powerpc/powerpc32/start.S: ... here.
5672         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5673         * sysdeps/powerpc/powerpc32/configure.in: ... this.
5674         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5676         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5677         * sysdeps/powerpc/ifunc-sel.h: ... here.
5678         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5679         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5681         * sysdeps/sparc/elf/configure.in: Moved to ...
5682         * sysdeps/sparc/configure.in: ... here.
5683         * sysdeps/sparc/elf/configure: Delete file.
5684         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5685         * sysdeps/sparc/sparc32/start.S: ... here.
5686         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5687         * sysdeps/sparc/sparc64/start.S: ... here.
5688         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5689         * sysdeps/sparc/sparc32/Makefile: ... this.
5690         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5691         * sysdeps/sparc/sparc64/Makefile: ... this.
5693         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5694         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5695         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5696         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5697         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5698         * sysdeps/s390/s390-32/setjmp.S: ... here.
5699         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5700         * sysdeps/s390/s390-32/configure.in: ... here.
5701         * sysdeps/s390/s390-32/elf/configure: Delete file.
5702         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5703         * sysdeps/s390/s390-32/start.S: ... here.
5705         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5706         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5707         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5708         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5709         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5710         * sysdeps/s390/s390-64/setjmp.S: ... here.
5711         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5712         * sysdeps/s390/s390-64/configure.in: ... here
5713         * sysdeps/s390/s390-64/elf/configure: Delete file.
5714         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5715         * sysdeps/s390/s390-64/start.S: ... here.
5716         * sysdeps/s390/s390-64/elf/configure: Delete.
5718         * configure.in: Remove support for elf directories in sysdeps.
5720         * configure: Regenerated.
5721         * sysdeps/i386/configure: Regenerated.
5722         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5723         * sysdeps/powerpc/powerpc64/configure: Regenerated.
5724         * sysdeps/s390/s390-32/configure: Regenerated.
5725         * sysdeps/s390/s390-64/configure: Regenerated.
5726         * sysdeps/sh/configure: Regenerated.
5727         * sysdeps/sparc/configure: Regenerated.
5728         * sysdeps/x86_64/configure: Regenerated.
5730 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
5732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5735         denormal result into account.
5737 2012-03-25  Roland McGrath  <roland@hack.frob.com>
5739         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5740         Reported by Allan McRae <allan@archlinux.org>.
5742 2012-03-23  Jeff Law  <law@redhat.com>
5744         * nss/getnssent.c (__nss_getent): Fix typo.
5746 2012-03-23  David S. Miller  <davem@davemloft.net>
5748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5750 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
5752         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5753         to pad to uint64_t for each field.
5754         (dl_tls_index): Replace unsigned long with uint64_t.
5756 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
5757         Paul Pluzhnikov  <ppluzhnikov@google.com>
5759         [BZ #6528]
5760         * grp/Makefile (otherlibs): Don't set it.
5761         * inet/Makefile (otherlibs): Likewise.
5762         * login/Makefile (otherlibs): Likewise.
5763         * nscd/Makefile (otherlibs): Likewise.
5764         * posix/Makefile (otherlibs): Likewise.
5765         * pwd/Makefile (otherlibs): Likewise.
5766         * rt/Makefile (otherlibs): Likewise.
5767         * sunrpc/Makefile (otherlibs): Likewise.
5768         * nss/Makefile (otherlibs): Likewise.
5769         Add libnss_files to routines and static-only-routines.
5770         ($(objpfx)getent): Remove rule.
5771         * resolv/Makefile: Add libnss_dns and libresolv to routines and
5772         static-only-routines.
5774 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
5776         [BZ #13892]
5777         * math/s_cexp.c: Include <float.h>.
5778         (__cexp): Handle exp result overflowing not necessarily
5779         overflowing both real and imaginary parts of result.
5780         * math/s_cexpf.c: Likewise.
5781         * math/s_cexpl.c: Likewise.
5782         * math/libm-test.inc (cexp_test): Add more tests.
5783         * sysdeps/i386/fpu/libm-test-ulps: Update.
5784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5786 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5788         * include/link.h (ELFW): New macro.
5789         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5790         Replace ELF64_R_TYPE with ELFW(R_TYPE).
5792 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5794         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5795         with uint64_t.
5797 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5799         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5800         declaration.
5801         (struct La_x32_retval): Likewise.
5803 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5805         * sysdeps/x86_64/preconfigure.in: New file.
5806         * sysdeps/x86_64/preconfigure: New generated file.
5808 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
5810         [BZ #13824]
5811         * math/e_exp2l.c: Include <float.h>.
5812         (__ieee754_exp2l): Handle overflow and underflow cases
5813         separately.  Only pass fractional part of argument to
5814         __ieee754_expl.
5815         * math/libm-test.inc (exp2_test): Add more tests.
5817         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5818         negating x to take absolute value.
5819         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5820         Likewise.
5821         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5822         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5823         Likewise.
5824         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5825         computing low part if x was negated.
5826         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5828 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5830         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5831         la_x32_gnu_pltexit.
5832         (pltexit): Cast int_retval to ptrdiff_t.
5833         * elf/tst-auditmod3b.c: Likewise.
5834         * elf/tst-auditmod4b.c: Likewise.
5835         * elf/tst-auditmod5b.c: Likewise.
5836         * elf/tst-auditmod6b.c: Likewise.
5837         * elf/tst-auditmod6c.c: Likewise.
5838         * elf/tst-auditmod7b.c: Likewise.
5840         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5841         and x32_gnu_pltexit.
5843         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5844         __ELF_NATIVE_CLASS.
5845         (La_x32_regs): New macro.
5846         (La_x32_retval): Likewise.
5847         (la_x32_gnu_pltenter): New function prototype.
5848         (la_x32_gnu_pltexit): Likewise.
5850 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
5852         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5853         exponent.
5855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5857         * configure.in (libc_cv_cc_nofma): Check for option to disable
5858         generation of FMA instructions.
5859         * configure: Regenerate.
5860         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5861         * sysdeps/ieee754/dbl-64/Makefile: New file.
5862         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5863         Remove brandred-fma4.
5864         (CFLAGS-brandred-fma4.c): Remove.
5865         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5866         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5867         define.
5868         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5869         define.
5871 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5873         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5874         LLONG_MAX != LONG_MAX.
5875         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5876         (_fitoa_word): Likewise.
5877         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5878         LLONG_MAX != LONG_MAX.
5879         * stdio-common/_itowa.h: Include <_itoa.h>.
5880         (_itowa_word): Use _ITOA_WORD_TYPE on value.
5881         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
5882         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
5883         only if not defined.
5884         (_ITOA_WORD_TYPE): Likewise.
5885         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5886         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5888 2012-03-21  David S. Miller  <davem@davemloft.net>
5890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5892 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5894         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5895         of x86_64 when setting libc_cv_slibdir, libdir and
5896         libc_cv_localedir.
5897         * sysdeps/unix/sysv/linux/configure: Regenerated.
5899 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5901         * manual/lang.texi (Old Varargs): Remove section.
5902         (How Variadic): Update menu.
5903         (va_start): Do not mention varargs.h.
5905 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5906             Joseph Myers  <joseph@codesourcery.com>
5908         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5909         link test.
5910         * configure: Regenerated.
5912 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5914         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5915         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5916         conformtest.pl
5918 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5920         * NOTES: Remove.
5921         * Makefile (files-for-dist): Remove NOTES.
5922         (NOTES): Remove rule.
5923         * README: Don't refer to NOTES.
5924         * manual/creature.texi: Don't include macros.texi.
5925         * manual/intro.texi (creature.texi): Remove comment referring to
5926         NOTES.
5928         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5929         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5930         * configure: Regenerated.
5931         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5932         LIBC_TRY_CC_OPTION.
5933         (libc_cv_as_i686): Likewise.
5934         (libc_cv_cc_avx): Likewise.
5935         (libc_cv_cc_sse2avx): Likewise.
5936         (libc_cv_cc_fma4): Likewise.
5937         (libc_cv_cc_novzeroupper): Likewise.
5938         * sysdeps/i386/configure: Regenerated.
5940         [BZ #13883]
5941         * sysdeps/i386/fpu/s_cexp.S: Remove.
5942         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5943         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5944         * math/libm-test.inc (cexp_test): Add more tests.
5945         * sysdeps/i386/fpu/libm-test-ulps: Update.
5946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5948 2012-03-21  Allan McRae  <allan@archlinux.org>
5950         * timezone/Makefile: Do not install iso3166.tab and zone.tab
5952 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5954         [BZ #13871]
5955         * math/w_exp2.c: Do not include <float.h>.
5956         (o_threshold, u_threshold): Remove.
5957         (__exp2): Calculate result before checking finiteness and calling
5958         __kernel_standard.
5959         * math/w_exp2f.c: Likewise.
5960         * math/w_exp2l.c: Likewise.
5961         * math/libm-test.inc (exp2_test): Require overflow exception for
5962         1e6 input.
5964         [BZ #3866]
5965         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5966         range of signed 64-bit integers before using fistpll.  Remove
5967         checks for whether integers fit in mantissa bits.
5968         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5969         the range of signed 32-bit integers before using fistpl.  Remove
5970         checks for whether integers fit in mantissa bits.
5971         * sysdeps/i386/fpu/e_powl.S (p64): New object.
5972         (__ieee754_powl): Test for y outside the range of signed 64-bit
5973         integers before using fistpll.  Reduce 64-bit values to 63-bit
5974         ones as needed.
5975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5976         divide-by-zero is raised for zero to large negative powers.
5977         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5978         (__ieee754_powl): Test for y outside the range of signed 64-bit
5979         integers before using fistpll.  Reduce 64-bit values to 63-bit
5980         ones as needed.
5981         * math/libm-test.inc (pow_test): Add more tests.
5983 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5985         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5986         <stdio-common/_itoa.h>.
5987         * debug/segfault.c: Likewise.
5988         * elf/dl-cache.c: Likewise.
5989         * elf/dl-minimal.c: Likewise.
5990         * elf/dl-misc.c: Likewise.
5991         * elf/dl-sysdep.c: Likewise.
5992         * elf/dl-version.c: Likewise.
5993         * elf/rtld.c: Likewise.
5994         * hurd/hurdsock.c: Likewise.
5995         * hurd/lookup-retry.c: Likewise.
5996         * malloc/malloc.c: Likewise.
5997         * malloc/mtrace.c: Likewise.
5998         * nscd/nscd_getgr_r.c: Likewise.
5999         * nscd/nscd_getpw_r.c: Likewise.
6000         * nscd/nscd_getserv_r.c: Likewise.
6001         * posix/getopt_init.c: Likewise.
6002         * posix/wordexp.c: Likewise.
6003         * stdio-common/_itoa.c: Likewise.
6004         * stdio-common/printf_fphex.c: Likewise.
6005         * stdio-common/vfprintf.c: Likewise.
6006         * string/_strerror.c: Likewise.
6007         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6008         * sysdeps/i386/i686/hp-timing.h: Likewise.
6009         * sysdeps/mach/_strerror.c: Likewise.
6010         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6011         * sysdeps/mach/hurd/sethostid.c: Likewise.
6012         * sysdeps/mach/hurd/xmknodat.c: Likewise.
6013         * sysdeps/mach/xpg-strerror.c: Likewise.
6014         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6015         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6016         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6017         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6018         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6019         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6020         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6021         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6022         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6023         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6024         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6025         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6026         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6027         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6028         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6029         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6030         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6031         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6032         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6033         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6034         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6036         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6038         * stdio-common/_itoa.h: Moved to ...
6039         * sysdeps/generic/_itoa.h: Here.
6041         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6043         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6044         instead of "_itoa.h" and "_itowa.h".
6045         * stdio-common/vfprintf.: Likewise.
6047 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6049         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6050         <bits/wordsize.h>.
6051         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6052         (__signbit): Likwise.
6053         (llrintf): Likwise.
6054         (llrint): Likwise.
6056 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6058         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6059         __WORDSIZE != 64.
6061 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
6063         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6064         OVERFLOW_EXCEPTION_OK.
6065         * math/libm-test.inc ("Philosophy"): Update comment about
6066         exception testing.
6067         (OVERFLOW_EXCEPTION): Define.
6068         (OVERFLOW_EXCEPTION_OK): Likewise.
6069         (INVALID_EXCEPTION_OK): Renumber.
6070         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6071         (IGNORE_ZERO_INF_SIGN): Likewise.
6072         (test_exceptions): Handle FE_OVERFLOW.
6073         (exp10_test): Expect overflow exceptions.
6074         (exp2_test): Likewise.
6075         (expm1_test): Likewise.
6076         (nextafter_test): Likewise.
6077         (pow_test): Likewise.
6078         (scalbn_test): Likewise.
6079         (scalbln_test): Likewise.
6081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6083         * sysdeps/x86_64/bits/atomic.h
6084         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6085         64bit integer.
6086         (atomic_exchange_acq): Likewise.
6087         (__arch_exchange_and_add_body): Likewise.
6088         (__arch_add_body): Likewise.
6089         (atomic_add_negative): Likewise.
6090         (atomic_add_zero): Likewise.
6092 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6094         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6095         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6097 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6099         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6100         Check __x86_64__ instead of __WORDSIZE.
6102 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6104         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6106 2012-03-19  David S. Miller  <davem@davemloft.net>
6108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6110         * sysdeps/sparc/fpu/fenv_private.h: New file.
6111         * sysdeps/sparc/fpu/math_private.h: Use it.
6112         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6113         Remove.
6114         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6115         (libc_feholdexcept_setroundl): Remove.
6116         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6117         Remove.
6118         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6119         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6121 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6123         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6124         int64_t instead of long int.
6125         (INSERT_WORDS64): Likwise.
6127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
6129         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6130         _Unwind_GetCFA return to _Unwind_Ptr first.
6132 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
6134         [BZ #13629]
6135         * math/s_clog.c: Include <float.h>.
6136         (__clog): Scale large or subnormal inputs.
6137         * math/s_clogf.c: Likewise.
6138         * math/s_clogl.c: Likewise.
6139         * math/s_clog10.c: Include <float.h>.
6140         (M_LOG10_2): Define.
6141         (__clog10): Scale large or subnormal inputs.
6142         * math/s_clog10f.c: Likewise.
6143         * math/s_clog10l.c: Likewise.
6144         * math/libm-test.inc (clog_test): Add more tests.
6145         (clog10_test): Likewise.
6146         * sysdeps/i386/fpu/libm-test-ulps: Update.
6147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6149         [BZ #11451]
6150         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6151         x and y.
6152         * math/libm-test.inc (atan2_test): Add another test.
6154         * Makerules (common-objdir-compile): Remove.
6155         * sysdeps/unix/Makefile (config-generated): Do not add
6156         $(unix-generated) to variable.
6157         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6158         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6159         Remove rule.
6160         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6161         Likewise.
6162         [generic bits/local_lim.h] (before-compile): Do not append to
6163         variable.
6164         [generic bits/local_lim.h] (common-generated): Likewise.
6165         [generic sys/param.h] (before-compile): Do not append to variable.
6166         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6167         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6168         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6169         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6170         include.
6171         [generic sys/param.h] (sys/param.h-includes): Remove variable.
6172         [generic sys/param.h] (sys/param.h-includes): Remove rule.
6173         [generic sys/param.h] ($(addprefix
6174         $(common-objpfx),$(sys/param.h-includes))): Likewise.
6175         [generic sys/param.h] (common-generated): Do not append to
6176         variable.
6177         [generic sys/param.h] (sysdep_headers): Likewise.
6178         [generic bits/errno.h] (before-compile): Do not append to
6179         variable.
6180         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6181         rule.
6182         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6183         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6184         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6185         [generic bits/errno.h] (common-generated): Do not append to
6186         variable.
6187         [generic bits/ioctls.h] (before-compile): Do not append to
6188         variable.
6189         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6190         rule.
6191         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6192         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6193         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6194         rule.
6195         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6196         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6197         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6198         [generic bits/ioctls.h] (common-generated): Do not append to
6199         variable.
6200         [generic sys/syscall.h] (syscall.h): Remove variable.
6201         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6202         rule.
6203         [generic sys/syscall.h] (before-compile): Do not append to
6204         variable.
6205         [generic sys/syscall.h] (common-generated): Likewise.
6206         * sysdeps/unix/errnos-tmpl.c: Remove file.
6207         * sysdeps/unix/errnos.awk: Likewise.
6208         * sysdeps/unix/ioctls-tmpl.c: Likewise.
6209         * sysdeps/unix/ioctls.awk: Likewise.
6210         * sysdeps/unix/mk-local_lim.c: Likewise.
6211         * sysdeps/unix/snarf-ioctls: Likewise.
6213 2012-03-19  Richard Henderson  <rth@twiddle.net>
6215         * sysdeps/i386/fpu/fenv_private.h: New file.
6216         * sysdeps/i386/fpu/math_private.h: Use it.
6217         (math_opt_barrier, math_force_eval): Remove.
6218         (libc_feholdexcept_setround_53bit): Remove.
6219         (libc_feupdateenv_53bit): Remove.
6220         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6221         (math_opt_barrier, math_force_eval): Remove.
6222         (libc_feholdexcept): Remove.
6223         (libc_feholdexcept_setround): Remove.
6224         (libc_fetestexcept, libc_fesetenv): Remove.
6225         (libc_feupdateenv_test): Remove.
6226         (libc_feupdateenv, libc_feholdsetround): Remove.
6227         (libc_feresetround): Remove.
6229         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6230         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6232         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6233         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6234         (libc_feupdateenv_testl): New.
6235         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6236         (libc_feupdateenv_testf): New.
6237         (libc_feupdateenv): Use libc_feupdateenv_test.
6238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6239         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6241         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6242         (libc_feholdsetroundf, libc_feholdsetroundl): New.
6243         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6244         (libc_feresetround_noex): New.
6245         (libc_feresetround_noexf): New.
6246         (libc_feresetround_noexl): New.
6247         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6248         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6249         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6250         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6251         SET_RESTORE_ROUND.
6252         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6254         (__cos): Likewise.
6255         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6256         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6257         SET_RESTORE_ROUND_NOEX.
6258         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6259         SET_RESTORE_ROUND_NOEXF.
6260         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6261         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6262         (libc_feholdsetroundf): New.
6263         (libc_feresetround, libc_feresetroundf): New.
6265         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6266         (libc_feholdexcept_setround_53bit): Convert from macro to function.
6267         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
6269         * sysdeps/generic/math_private.h: Include <fenv.h>.
6270         (default_libc_feholdexcept): New.
6271         (default_libc_feholdexcept_setround): New.
6272         (default_libc_fesetenv, default_libc_feupdateenv): New.
6273         (libc_feholdexcept): Only define if undefined.
6274         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6275         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6276         (libc_feholdexcept_setroundl): Likewise.
6277         (libc_feholdexcept_setround_53bit): Likewise.
6278         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6279         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6280         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6281         (libc_feupdateenv_53bit): Likewise.
6282         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6283         (libc_feholdexcept): Convert from macro to inline function.
6284         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6285         (libc_fesetenv, libc_feupdateenv): Likewise.
6287         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6288         not previously defined.
6289         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6290         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6291         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6292         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6293         * sysdeps/ieee754/flt-32/math_private.h: New file.
6294         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6295         math_private.h below SET_FLOAT_WORD.
6296         (__isnan, __isinf_ns, __finite): Remove.
6297         (__isnanf, __isinf_nsf, __finitef): Remove.
6299 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
6301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6303 2012-03-17  David S. Miller  <davem@davemloft.net>
6305         [BZ #6471]
6306         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6307         for 2.16.
6309 2012-03-16  David S. Miller  <davem@davemloft.net>
6311         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6312         warnings.
6314         [BZ #6471]
6315         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6316         properly.
6317         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6318         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6319         sysdep_routines when subdir is sysvipc.
6320         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6321         __getshmlba helper.
6323         * sysdeps/sparc/fpu/libm-test/ulps: Update.
6325 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6327         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6328         [__LP64__].
6330 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6332         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6333         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6334         (__lround): Renamed to ...
6335         (__llround): This.  Replace long int with long long int.
6336         Define lround functions as aliases of llround functions.
6337         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6339 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6341         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6342         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
6343         adresses to uintptr_t.  Replace "long int" and "unsigned long
6344         int" with "greg_t" on va_arg.
6346 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6348         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6349         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6351         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6352         Move e_machine check before EI_CLASS check.  Handle x32
6353         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6354         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6355         SKIP_EM_IA_64 and include
6356         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6358         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6359         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6360         (add_system_dir): New macro.
6362         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6363         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6365 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6367         [BZ #2551]
6368         [BZ #2552]
6369         [BZ #2553]
6370         [BZ #2554]
6371         [BZ #2562]
6372         [BZ #2563]
6373         [BZ #2565]
6374         [BZ #2566]
6375         [BZ #2576]
6376         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6377         (y0): Likewise.
6378         * math/w_j0f.c (j0f): Likewise.
6379         (y0f): Likewise.
6380         * math/w_j0l.c (__j0l): Likewise.
6381         (__y0l): Likewise.
6382         * math/w_j1.c (j1): Likewise.
6383         (y1): Likewise.
6384         * math/w_j1f.c (j1f): Likewise.
6385         (y1f): Likewise.
6386         * math/w_j1l.c (__j1l): Likewise.
6387         (__y1l): Likewise.
6388         * math/w_jn.c (jn): Likewise.
6389         (yn): Likewise.
6390         * math/w_jnf.c (jnf): Likewise.
6391         (ynf): Likewise.
6392         * math/w_jnl.c (__jnl): Likewise.
6393         (__ynl): Likewise.
6394         * math/libm-test.inc (j0_test): Add more tests.
6395         (j1_test): Likewise.
6396         (jn_test): Likewise.  Add trailing semicolon to existing test.
6397         (y0_test): Likewise.
6398         (y1_test): Likewise.
6399         * sysdeps/i386/fpu/libm-test-ulps: Update.
6400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6402         [BZ #13851]
6403         [BZ #13854]
6404         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6405         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6406         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6407         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6408         (__tanl): Set errno for infinite argument.
6409         * sysdeps/i386/fpu/mptan.c: Remove.
6410         * sysdeps/i386/fpu/s_tan.S: Likewise.
6411         * sysdeps/i386/fpu/s_tanl.S: Likewise.
6412         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6413         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6414         * math/libm-test.inc (tan_test): Add more tests and enable more
6415         tests for double and long double.
6416         * sysdeps/i386/fpu/libm-test-ulps: Update.
6417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6419 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6421         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6422         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6424 2012-03-16  Roland McGrath  <roland@hack.frob.com>
6426         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6427         * configure.in: Use it for both main tree and add-ons.
6428         * configure: Regenerated.
6430 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6432         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6434 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6436         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6437         in comment.
6439         [BZ #13851]
6440         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6441         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6442         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6443         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6444         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6445         infinite argument.
6446         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6447         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6448         != 0 for prec == 2.
6449         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6450         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6451         * sysdeps/i386/fpu/s_cosl.S: Likewise.
6452         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6453         * sysdeps/i386/fpu/s_sinl.S: Likewise.
6454         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6455         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6456         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6457         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6458         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6459         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6460         * math/libm-test.inc (cos_test): Add more tests and enable more
6461         tests for long double.
6462         (sin_test): Likewise.
6463         (sincos_test): Likewise.
6464         * sysdeps/i386/fpu/libm-test-ulps: Update.
6465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6467 2012-03-16  David S. Miller  <davem@davemloft.net>
6469         * sysdeps/sparc/fpu/math_private.h: New file.
6471 2012-03-15  David S. Miller  <davem@davemloft.net>
6473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6474         file.
6475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6477         file.
6478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6483         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6484         sysdep routines.
6485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6487         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6488         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6490         * sysdeps/sparc/sparc-ifunc.h: New file.
6491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6492         sparc-ifunc.h
6493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6495         Likewise.
6496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6497         Likewise.
6498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6502         Likewise.
6503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6508         Likewise.
6509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6510         Likewise.
6511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6515         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6517         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6518         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6532         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6533         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6534         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6536 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6538         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6539         scaling.
6540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6542 2012-03-15  Andreas Jaeger  <aj@suse.de>
6544         [BZ #13852]
6545         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6546         ieee754/flt-32 implementation for sin, cos and sincos.
6547         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6548         * sysdeps/i386/fpu/s_cosf.S: Likewise.
6549         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6550         * sysdeps/i386/fpu/s_sinf.S: Likewise.
6551         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6552         ieee754/flt-32 implementation for tan.
6554         * math/libm-test.inc (cos_test): Enable some large input tests for
6555         float as well
6556         (sin_test): Likewise.
6557         (sincos_test): Likewise.
6558         (tan_test): Add tests for large input.
6560         * sysdeps/i386/fpu/libm-test-ulps: Update.
6562 2012-03-15  Andreas Jaeger  <aj@suse.de>
6564         [BZ #13658]
6565         * math/libm-test.inc (cos_test): Add more test cases.
6566         (sin_test): Likewise.
6567         (sincos_test): Likewise.
6569 2012-03-15  Andreas Jaeger  <aj@suse.de>
6571         [BZ #13837]
6572         * math/libm-test.inc (cos_test): Add a test case for large input
6573         value.
6574         (sin_test): Likewise.
6575         (sincos_test): Likewise.
6577 2012-03-15  Andreas Jaeger  <aj@suse.de>,
6578         Joseph Myers  <joseph@codesourcery.com>
6580         [BZ #13658]
6581         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6582         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6583         * sysdeps/i386/fpu/branred.c: Likewise.
6584         * sysdeps/i386/fpu/dosincos.c: Likewise.
6585         * sysdeps/i386/fpu/mpa.c: Likewise.
6586         * sysdeps/i386/fpu/s_cos.S: Likewise.
6587         * sysdeps/i386/fpu/s_sin.S: Likewise.
6588         * sysdeps/i386/fpu/s_sincos.S: Likewise.
6589         * sysdeps/i386/fpu/sincos32.c: Likewise.
6591         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6592         Define.
6593         (libc_feupdateenv_53bit): Define.
6594         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6595         Define.
6596         (libc_feupdateenv_53bit): Define.
6598         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6599         53 bit (without extend i386 double precision).
6601         * math/libm-test.inc (sincos_test): Add tests for large input.
6602         (sin): Likewise.
6603         (cos): Likewise.
6605         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6607 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6611 2012-03-15  David S. Miller  <davem@davemloft.net>
6613         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6614         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6615         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6616         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6626         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6629         file.
6630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6632         file.
6633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6635         file.
6636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6638         file.
6639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6640         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6641         fmin/fmax sysdep routines.
6642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6644 2012-03-14  David S. Miller  <davem@davemloft.net>
6646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6649         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6650         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6651         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6652         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6653         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6658         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6659         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6665         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6666         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6667         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6668         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6669         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6670         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6671         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6672         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6673         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6674         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6675         routines.
6676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6677         file.
6678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6680         file.
6681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6683         file.
6684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6686         file.
6687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6689         file.
6690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6692         file.
6693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6694         file.
6695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6696         file.
6697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6698         file.
6699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6700         New file.
6701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6702         file.
6703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6704         file.
6705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6707         file.
6708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6710         file.
6711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6713         file.
6714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6716         VIS3 routines.
6718         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6719         New file.
6721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6723         * sysdeps/sparc/configure.in: New file.
6724         * sysdeps/sparc/configure: Generate.
6725         * configure.in (libc_cv_sparc_as_vis3): Substitute.
6726         * configure: Regenerate.
6727         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6728         * config.make.in (have-as-vis3): New.
6729         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6730         available use -Av9d instead of -Av9a.
6731         * sysdeps/sparc/sparc64/Makefile: Likewise.
6732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6734         New file.
6735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6736         file.
6737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6738         New file.
6739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6740         file.
6741         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6742         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6743         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6744         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6745         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6747         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6748         fzeros/fnegs to load 0x80000000 into a float register instead of
6749         using the stack.
6750         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6752 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
6754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6755         bits/syscall.h.
6756         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6757         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6758         ($(inst_includedir)/bits/syscall.h): Remove rule.
6759         ($(objpfx)bits/syscall.d): Include instead of
6760         $(objpfx)syscall-list.d.
6761         (generated): Change syscall-list.h and syscall-list.d to
6762         bits/syscall.h and bits/syscall.d.
6764 2012-03-14  Roland McGrath  <roland@hack.frob.com>
6766         [BZ #13846]
6767         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6769 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
6771         [BZ #13841]
6772         * math/s_csqrt.c: Include <float.h>.
6773         (__csqrt): Scale large or subnormal inputs.
6774         * math/s_csqrtf.c: Likewise.
6775         * math/s_csqrtl.c: Likewise.
6776         * math/libm-test.inc (csqrt_test): Add more tests.
6777         * sysdeps/i386/fpu/libm-test-ulps: Update.
6778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6780         [BZ #13840]
6781         * math/libm-test.inc (hypot_test): Add more tests.
6783 2012-03-13  David S. Miller  <davem@davemloft.net>
6785         [BZ #13840]
6786         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6787         double-precision for the calculation instead of scaling.
6789 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
6791         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6792         manipulate bits before adding and subtracting TWO52[sx].
6793         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6794         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6795         Likewise.
6796         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6798 2012-03-13  David S. Miller  <davem@davemloft.net>
6800         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6801         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6802         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6803         rtld-global-offsets.h
6804         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6806         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6807         large parameters.
6809         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6811         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6812         'err' in the ifdef scope in which it is actually used.
6814         * nss/nss_db/db-init.c: Include string.h
6816 2012-03-12  David S. Miller  <davem@davemloft.net>
6818         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6819         masking out of the most significant byte of random value used.
6820         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6821         Fix coding style in previous change.
6823         * sysdeps/unix/sysv/linux/kernel-features.h
6824         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6825         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6826         expression.
6827         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6828         later.
6830 2012-03-11  David S. Miller  <davem@davemloft.net>
6832         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6833         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6834         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6835         for 'resultvar' otherwise things get truncated on 64-bit.
6837         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6838         Fix masking out of the most significant byte of random value used.
6840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6842 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
6844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6846 2012-03-09  David S. Miller  <davem@davemloft.net>
6848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6849         variables with appropriate CPP guards.
6850         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6851         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
6852         on resulting framesize and the management of the outregs buffer for pltexit.
6853         Preserve floating point return values across _dl_call_pltexit call.
6854         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6855         framesize and the management of the outregs buffer for pltexit.
6856         Preserve floating point return values across _dl_call_pltexit
6857         call.
6858         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6859         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6860         (print_exit): Fix format string for return register value.
6862 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
6864         * sunrpc/Makefile (others): Add rpcgen.
6865         ($(objpfx)rpcgen): Remove special build rule and dependency on
6866         libc.
6867         * sunrpc/rpcgen.c: New file.
6869 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
6871         [BZ #13673]
6872         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6873         * stdio-common/bug-vfprintf-nargs.c: Likewise.
6874         * sysdeps/i386/crti.S: Likewise.
6875         * sysdeps/i386/crtn.S: Likewise.
6876         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6877         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6878         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6879         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6880         * sysdeps/sh/crti.S: Likewise.
6881         * sysdeps/sh/crtn.S: Likewise.
6882         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6884         [BZ #13673]
6885         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6886         with URL.
6887         * locale/programs/locfile-kw.gperf: Likewise.
6888         * locale/programs/charmap-kw.h: Regenerated.
6889         * locale/programs/locfile-kw.h: Likewise.
6891         [BZ #13673]
6892         * intl/plural.y: Replace FSF snail mail address with URL.
6893         * intl/plural.c: Regenerated.
6895 2012-03-09  Richard Henderson  <rth@twiddle.net>
6897         * include/math_private.h: Remove file.
6898         * math/math_private.h: Move file ...
6899         * sysdeps/generic/math_private.h: ... here.
6901         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6902         * sysdeps/powerpc/fpu/math_private.h: Likewise.
6903         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6905         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6906         and <math_private.h>.
6907         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6908         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6909         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6910         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6911         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6912         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6913         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6914         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6915         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6916         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6918         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6919         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6920         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6921         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6922         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6923         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6924         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6925         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6926         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6928         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6929         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6931         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6932         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6933         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6934         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6936         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6937         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6938         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6939         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6940         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6941         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6942         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6943         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6944         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6945         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6946         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6947         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6948         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6949         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6950         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6951         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6952         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6953         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6954         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6955         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6956         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6957         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6958         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6959         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6960         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6961         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6962         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6963         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6964         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6965         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6966         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6967         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6968         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6969         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6970         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6971         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6972         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6973         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6974         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6975         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6976         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6977         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6978         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6979         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6980         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6981         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6982         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6985         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6986         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6987         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6988         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6989         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6990         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6991         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6992         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6994         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6995         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6996         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6997         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6998         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6999         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7000         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7001         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7002         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7003         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7004         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7005         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7006         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7007         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7008         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7009         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7010         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7011         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7012         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7013         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7014         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7015         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7016         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7017         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7018         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7019         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7020         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7021         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7022         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7023         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7024         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7025         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7026         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7027         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7028         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7029         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7030         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7031         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7032         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7033         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7034         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7035         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7036         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7037         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7038         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7039         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7040         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7041         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7042         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7043         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7044         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7045         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7046         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7047         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7048         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7049         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7050         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7051         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7052         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7053         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7054         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7055         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7056         * sysdeps/ieee754/k_standard.c: Likewise.
7057         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7058         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7059         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7060         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7061         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7062         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7063         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7064         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7065         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7066         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7067         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7068         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7069         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7070         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7071         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7072         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7073         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7074         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7075         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7076         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7077         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7078         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7079         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7080         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7081         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7082         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7083         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7084         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7085         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7086         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7087         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7088         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7089         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7090         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7091         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7092         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7093         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7094         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7095         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7096         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7097         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7098         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7099         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7100         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7101         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7102         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7103         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7104         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7105         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7106         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7107         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7108         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7109         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7110         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7111         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7112         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7113         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7114         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7115         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7116         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7117         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7118         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7119         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7120         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7121         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7122         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7123         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7124         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7125         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7127         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7129         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7130         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7131         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7132         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7133         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7134         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7135         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7136         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7137         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7138         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7139         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7140         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7141         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7142         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7143         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7144         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7145         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7147         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7148         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7149         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7150         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7151         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7152         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7153         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7154         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7155         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7156         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7158         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7159         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7160         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7161         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7164         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7165         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7166         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7167         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7168         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7169         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7170         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7171         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7172         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7173         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7174         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7175         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7176         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7177         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7178         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7179         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7180         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7181         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7182         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7183         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7184         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7185         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7186         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7187         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7188         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7189         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7190         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7191         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7192         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7193         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7194         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7195         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7196         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7197         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7198         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7199         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7200         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7201         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7202         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7203         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7204         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7205         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7206         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7207         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7208         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7209         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7210         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7211         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7212         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7213         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7214         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7215         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7216         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7217         * sysdeps/ieee754/s_lib_version.c: Likewise.
7218         * sysdeps/ieee754/s_matherr.c: Likewise.
7219         * sysdeps/ieee754/s_signgam.c: Likewise.
7220         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7221         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7222         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7223         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7224         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7225         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7226         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7227         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7228         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7229         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7230         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7231         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7232         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7233         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7234         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7235         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7236         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7237         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7238         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7239         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7240         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7242 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7244         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7245         * sunrpc/rpc_main.c: Likewise.
7246         * sunrpc/rpc_svcout.c: Likewise.
7248 2012-03-09  David S. Miller  <davem@davemloft.net>
7250         * include/math_private.h: New file.
7252 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
7254         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7255         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7256         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7257         from <bits/socket_type.h>.
7258         (enum __socket_type): Don't define here.
7259         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7261         bits/socket_type.h.
7263         [BZ #13566]
7264         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7265         checking __USE_GNU.
7267         * Makerules ($(inst_includedir)/%.h): New rule.
7268         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7269         (install-others): Remove variable setting.
7270         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7272 2012-03-08  Richard Henderson  <rth@twiddle.net>
7274         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7275         from macro to inline function; merge with the
7276         !__LIBC_INTERNAL_MATH_INLINES version.
7277         (__ieee754_sqrtf): Likewise.
7279         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7280         to inline function.
7281         (__rintf, __floor, __floorf): Likewise.
7283         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7284         macro to inline function.
7285         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7287         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7288         not <math/math_private.h>.
7290 2012-03-08  David S. Miller  <davem@davemloft.net>
7292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7293         copyright year.
7294         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7296 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
7298         * resolv/gai_misc.c (handle_requests): Fix struct timespec
7299         normalization.
7300         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7301         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7303 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
7305         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
7306         be defined individually, they must be defined as a block.  Define
7307         S for printing a string instead of hidint the different by using a
7308         macro for adding the 'l'.
7309         * stdio-common/tst-fphex-wide.c: Adjust.
7311 2012-03-07  Marek Polacek  <polacek@redhat.com>
7313         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7315 2012-03-08  Marek Polacek  <polacek@redhat.com>
7317         [BZ #13806]
7318         * stdio-common/Makefile (tests): Add tst-fphex-wide.
7319         * stdio-common/tst-fphex.c: Define a few macros to make the
7320         test reusable.  Use them.
7321         * stdio-common/tst-fphex-wide.c: New file.
7323 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
7325         [BZ #6911]
7326         * manual/macros.texi (gnusystems): New macro.
7327         (nongnusystems): Likewise.
7328         (gnulinuxhurdsystems): Likewise.
7329         (gnuhurdsystems): Likewise..
7330         (gnulinuxsystems): Likewise.
7331         * manual/charset.texi: Use new macros or @theglibc{} to refer to
7332         variants of the GNU system, not "GNU system".
7333         * manual/conf.texi: Likewise.
7334         * manual/errno.texi: Likewise.  Update example of errno macro
7335         expansion.
7336         * manual/filesys.texi: Likewise.
7337         (getumask): Document as specific to GNU/Hurd.
7338         * manual/install.texi: Likewise.  Reword some references to
7339         GNU/Linux.
7340         * manual/intro.texi: Likewise.
7341         * manual/io.texi: Likewise.
7342         (File Name Portability): Detail which constraints are inapplicable
7343         to all GNU systems and which are only inapplicable to GNU/Hurd.
7344         * manual/job.texi: Likewise.
7345         * manual/llio.texi: Likewise.
7346         (O_NOCTTY): Document as present on GNU/Linux.
7347         * manual/maint.texi: Likewise.
7348         * manual/memory.texi: Likewise.
7349         * manual/pattern.texi: Likewise.
7350         * manual/pipe.texi: Likewise.
7351         * manual/process.texi: Likewise.
7352         * manual/resource.texi: Likewise.
7353         (RUSAGE_CHILDREN): Remove statement about specifying a particular
7354         child on GNU/Hurd.
7355         * manual/setjmp.texi: Likewise.
7356         * manual/signal.texi: Likewise.
7357         * manual/startup.texi: Likewise.
7358         * manual/stdio.texi: Likewise.
7359         * manual/terminal.texi: Likewise.
7360         (ONLCR): Document as POSIX.
7361         (OXTABS): Document availability on GNU/Linux as XTABS.
7362         (ONOEOT): Document availability separately from other bits.
7363         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7364         * manual/time.texi: Likewise.
7365         * manual/users.texi: Likewise.
7366         * INSTALL: Regenerated.
7367         * sysdeps/gnu/errlist.c: Regenerated.
7369         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7370         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7371         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
7372         puts.
7373         * configure: Regenerated.
7375 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
7377         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7378         default includes instead of AC_HEADER_CHECK.
7379         * sysdeps/i386/configure: Regenerated.
7381         [BZ #10716]
7382         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7383         * math/s_cacoshf.c (__cacoshf): Likewise.
7384         * math/s_cacoshl.c (__cacoshl): Likewise.
7385         * math/s_casinh.c (__casinh): Set signs of result from argument.
7386         * math/s_casinhf.c (__casinhf): Likewise.
7387         * math/s_casinhl.c (__casinhl): Likewise.
7388         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7389         (casinh_test): Add more tests.
7390         * sysdeps/i386/fpu/libm-test-ulps: Update.
7391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7393 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
7395         * po/zh_TW.po: Update from translation team.
7397         * login/Makefile (distribute): Remove variable.
7398         * catgets/Makefile: Likewise.
7399         * mach/Makefile: Likewise.
7400         * malloc/Makefile: Likewise.
7401         * misc/Makefile: Likewise.
7402         * iconv/Makefile: Likewise.
7403         * nscd/Makefile: Likewise.
7404         * hurd/Makefile: Likewise.
7405         * manual/Makefile: Likewise.
7406         * locale/Makefile: Likewise.
7407         * intl/Makefile: Likewise.
7408         * conform/Makefile: Likewise.
7409         * nss/Makefile: Likewise.
7410         * time/Makefile: Likewise.
7411         * soft-fp/Makefile: Likewise.
7412         * dirent/Makefile: Likewise.
7413         * gmon/Makefile: Likewise.
7414         * po/Makefile: Likewise.
7415         * rt/Makefile: Likewise.
7416         * socket/Makefile: Likewise.
7417         * math/Makefile: Likewise.
7418         * signal/Makefile: Likewise.
7419         * debug/Makefile: Likewise.
7420         * elf/Makefile: Likewise.
7421         * timezone/Makefile: Likewise.
7422         * stdlib/Makefile: Likewise.
7423         * iconvdata/Makefile: Likewise.
7424         * sunrpc/Makefile: Likewise.
7425         * io/Makefile: Likewise.
7426         * argp/Makefile: Likewise.
7427         * inet/Makefile: Likewise.
7428         * hesiod/Makefile: Likewise.
7429         * grp/Makefile: Likewise.
7430         * csu/Makefile: Likewise.
7431         * wctype/Makefile: Likewise.
7432         * crypt/Makefile: Likewise.
7433         * libio/Makefile: Likewise.
7434         * string/Makefile: Likewise.
7435         * nis/Makefile: Likewise.
7436         * resolv/Makefile: Likewise.
7437         * stdio-common/Makefile: Likewise.
7438         * wcsmbs/Makefile: Likewise.
7439         * dlfcn/Makefile: Likewise.
7440         * posix/Makefile: Likewise.
7442         [BZ #6959]
7443         * timezone/Makefile: Don't install timezone files, just the programs
7444         and scripts.
7446 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
7448         * nss/databases.def: Add missing gshadow entry.
7450         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
7452 2012-03-06  Marek Polacek  <polacek@redhat.com>
7454         [BZ #13726]
7455         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7456         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7457         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7458         * stdio-common/tst-long-dbl-fphex.c: New file.
7460 2012-03-06  David S. Miller  <davem@davemloft.net>
7462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7463         (set_obp_int): New function.
7464         (get_obp_int): New function.
7465         (__get_clockfreq_via_dev_openprom): Likewise.
7466         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7467         Avoid unused variable warnings on 'val' and use builtin_expect.
7468         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7469         __builtin_expect.
7470         (INLINE_CLONE_SYSCALL): Likewise.
7472 2012-03-05  David S. Miller  <davem@davemloft.net>
7474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7476 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
7478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7480         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7481         only for |x| >= 40.
7482         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7484 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7487         Replace gettimeofday with __vdso_gettimeofday.
7489         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7490         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7491         __vdso_clock_gettime and __vdso_getcpu.
7493         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7494         time with __vdso_time.
7496 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7498         * manual/lang.texi (size_t): Note types to which size_t may be
7499         equivalent with the GNU C Library, but do not describe when
7500         differences between them are significant.
7502 2012-03-05  Andreas Jaeger  <aj@suse.de>
7504         * sysdeps/i386/fpu/libm-test-ulps: Update.
7506 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7508         [BZ #3976]
7509         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7510         (__ieee754_pow): Save and restore rounding mode and use
7511         round-to-nearest for main computations.
7512         * math/libm-test.inc (pow_test_tonearest): New function.
7513         (pow_test_towardzero): Likewise.
7514         (pow_test_downward): Likewise.
7515         (pow_test_upward): Likewise.
7516         (main): Call the new functions.
7517         * sysdeps/i386/fpu/libm-test-ulps: Update.
7518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7520         [BZ #3976]
7521         * math/libm-test.inc (cosh_test_tonearest): New function.
7522         (cosh_test_towardzero): Likewise.
7523         (cosh_test_downward): Likewise.
7524         (cosh_test_upward): Likewise.
7525         (sinh_test_tonearest): Likewise.
7526         (sinh_test_towardzero): Likewise.
7527         (sinh_test_downward): Likewise.
7528         (sinh_test_upward): Likewise.
7529         (main): Call the new functions.
7530         * sysdeps/i386/fpu/libm-test-ulps: Update.
7531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7533 2012-03-05  Tom de Vries  <tom@codesourcery.com>
7535         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7536         default stack guard is set in last bytes.
7537         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7539 2012-03-05  Kees Cook  <keescook@chromium.org>
7541         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7543         [BZ #13656]
7544         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7545         possibly allocate from heap instead of stack.
7546         * stdio-common/bug-vfprintf-nargs.c: New file.
7547         * stdio-common/Makefile (tests): Add nargs overflow test.
7549 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
7551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7553 2012-03-03  Marek Polacek  <polacek@redhat.com>
7555         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7556         * math/math_private.h: Likewise.
7557         * stdlib/tst-strtod.c: Likewise.
7558         * sysdeps/i386/i486/bits/atomic.h: Likewise.
7559         * sysdeps/x86_64/bits/atomic.h: Likewise.
7561 2012-03-02  David S. Miller  <davem@davemloft.net>
7563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7567         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7568         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7569         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7570         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7572 2012-03-02  Roland McGrath  <roland@hack.frob.com>
7574         [BZ #13792]
7575         * manual/examples/README: New file, says the example source files
7576         can be used under GPL>=2.
7577         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7578         line containing just "*/".
7579         * manual/examples/add.c: Add copyright header (GPL>=2).
7580         * manual/examples/argp-ex1.c: Likewise.
7581         * manual/examples/argp-ex2.c: Likewise.
7582         * manual/examples/argp-ex3.c: Likewise.
7583         * manual/examples/argp-ex4.c: Likewise.
7584         * manual/examples/atexit.c: Likewise.
7585         * manual/examples/db.c: Likewise.
7586         * manual/examples/dir.c: Likewise.
7587         * manual/examples/dir2.c: Likewise.
7588         * manual/examples/execinfo.c: Likewise.
7589         * manual/examples/filecli.c: Likewise.
7590         * manual/examples/filesrv.c: Likewise.
7591         * manual/examples/fmtmsgexpl.c: Likewise.
7592         * manual/examples/genpass.c: Likewise.
7593         * manual/examples/inetcli.c: Likewise.
7594         * manual/examples/inetsrv.c: Likewise.
7595         * manual/examples/isockad.c: Likewise.
7596         * manual/examples/longopt.c: Likewise.
7597         * manual/examples/memopen.c: Likewise.
7598         * manual/examples/memstrm.c: Likewise.
7599         * manual/examples/mkfsock.c: Likewise.
7600         * manual/examples/mkisock.c: Likewise.
7601         * manual/examples/mygetpass.c: Likewise.
7602         * manual/examples/pipe.c: Likewise.
7603         * manual/examples/popen.c: Likewise.
7604         * manual/examples/rprintf.c: Likewise.
7605         * manual/examples/search.c: Likewise.
7606         * manual/examples/select.c: Likewise.
7607         * manual/examples/setjmp.c: Likewise.
7608         * manual/examples/sigh1.c: Likewise.
7609         * manual/examples/sigusr.c: Likewise.
7610         * manual/examples/stpcpy.c: Likewise.
7611         * manual/examples/strdupa.c: Likewise.
7612         * manual/examples/strftim.c: Likewise.
7613         * manual/examples/strncat.c: Likewise.
7614         * manual/examples/subopt.c: Likewise.
7615         * manual/examples/swapcontext.c: Likewise.
7616         * manual/examples/termios.c: Likewise.
7617         * manual/examples/testopt.c: Likewise.
7618         * manual/examples/testpass.c: Likewise.
7619         * manual/examples/timeval_subtract.c: Likewise.
7621         [BZ #13792]
7622         * manual/time.texi (Elapsed Time): Move timeval_subtract example
7623         function to ...
7624         * manual/timeval_subtract.c.texi: ... here, new file.
7626 2012-03-02  David S. Miller  <davem@davemloft.net>
7628         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7630 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
7632         [BZ #3976]
7633         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7634         (__sin): Save and restore rounding mode and use round-to-nearest
7635         for all computations.
7636         (__cos): Save and restore rounding mode and use round-to-nearest
7637         for all computations.
7638         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7639         <fenv.h>.
7640         (tan): Save and restore rounding mode and use round-to-nearest for
7641         all computations.
7642         * math/libm-test.inc (cos_test_tonearest): New function.
7643         (cos_test_towardzero): Likewise.
7644         (cos_test_downward): Likewise.
7645         (cos_test_upward): Likewise.
7646         (sin_test_tonearest): Likewise.
7647         (sin_test_towardzero): Likewise.
7648         (sin_test_downward): Likewise.
7649         (sin_test_upward): Likewise.
7650         (tan_test_tonearest): Likewise.
7651         (tan_test_towardzero): Likewise.
7652         (tan_test_downward): Likewise.
7653         (tan_test_upward): Likewise.
7654         (main): Call the new functions.
7655         * sysdeps/i386/fpu/libm-test-ulps: Update.
7656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7658         [BZ #10135]
7659         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7660         small n, then large n, before computing and testing k+n.
7661         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7663         Likewise.
7664         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7665         Likewise.
7666         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7667         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7668         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7669         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7670         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7671         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7672         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7673         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7674         * math/libm-test.inc (scalbn_test): Add more tests.
7675         (scalbln_test): Likewise.
7677         * manual/filesys.texi (mode_t): Describe constraints on size and
7678         signedness, not exact equivalence to a particular type.
7679         (ino_t): Likewise.
7680         (ino64_t): Likewise.
7681         (dev_t): Likewise.
7682         (nlink_t): Likewise.
7683         (blkcnt_t): Likewise.
7684         (blkcnt64_t): Likewise.
7685         * manual/llio.texi (off_t): Likewise.
7687         [BZ #3976]
7688         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7689         (__ieee754_exp): Save and restore rounding mode and use
7690         round-to-nearest for all computations.
7691         * math/libm-test.inc (exp_test_tonearest): New function.
7692         (exp_test_towardzero): Likewise.
7693         (exp_test_downward): Likewise.
7694         (exp_test_upward): Likewise.
7695         (main): Call the new functions.
7696         * sysdeps/i386/fpu/libm-test-ulps: Update.
7697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7699 2012-03-01  Chris Demetriou  <cgd@google.com>
7701         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7702         have predictable order.
7704 2012-03-01  David S. Miller  <davem@davemloft.net>
7706         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7708         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7709         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7710         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7711         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7713         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7714         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7715         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7717         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7718         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7719         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7720         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7721         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7725         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7726         * sysdeps/sparc/fpu/libm-test-ulps: to here.
7727         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7729         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7730         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7731         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7732         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7733         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7734         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7735         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7736         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7737         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7738         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7739         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7740         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7742         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7743         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7745         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7746         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7747         * sysdeps/sparc/elf/configure: Regenerated.
7749 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
7751         * configure.in (AS, LD): Require binutils 2.20 or later.
7752         * configure: Regenerated.
7753         * manual/install.texi (Tools for Compilation): Give binutils 2.20
7754         as required minimum version.
7755         * INSTALL: Regenerated.
7757         [BZ #2541]
7758         [BZ #4108]
7759         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7760         before squaring exponent.
7761         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7762         bottom long double and 27 bits of top long double before squaring
7763         exponent.
7764         * math/libm-test.inc (erfc_test): Add more tests.
7765         * sysdeps/i386/fpu/libm-test-ulps: Update.
7766         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7769 2012-03-01  Kai Tietz  <ktietz@redhat.com>
7771         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7772         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7773         containing bit-fields.
7774         * soft-fp/extended.h (_FP_UNION_E): Likewise.
7775         * soft-fp/single.h (_FP_UNION_S): Likewise.
7776         * soft-fp/double.h (_FP_UNION_D): Likewise.
7778 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
7780         [BZ #13786]
7781         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7782         not include ../strcmp.S.
7783         [USE_AS_STRNCASECMP_L]: Likewise.
7784         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7785         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7786         * sysdeps/i386/i686/multiarch/strncase_l-c.c
7787         (__strncasecmp_l_ia32): Define as alias to
7788         __strncasecmp_l_nonascii.
7790         [BZ #5794]
7791         * math/libm-test.inc (expm1_test): Add test for bug 5794.
7792         * sysdeps/i386/fpu/libm-test-ulps: Update.
7793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7795         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798 2012-02-29  Jeff Law  <law@redhat.com>
7800         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7801         out of bounds read.
7803 2012-02-29  Marek Polacek  <polacek@redhat.com>
7805         [BZ #13706]
7806         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7807         * elf/Makefile: Add rules to run tst-unused-dep.out.
7809 2012-02-28  David S. Miller  <davem@davemloft.net>
7811         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7812         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7813         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7814         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7815         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7816         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7818 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
7820         * math/libm-test.inc (llround_test): Move one test from
7821         lround_test.  Use TEST_f_L in moved test.
7822         (lround_test): Move misplaced test to llround_test.  Add testcase
7823         from bug 2561.
7825 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
7827         * sysdeps/x86_64/fpu/e_expf.S: New file.
7828         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7830 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
7832         [BZ #13637]
7833         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7834         of remain_len that may cause incomplete multi-byte character and
7835         false match.
7836         * posix/bug-regex33.c: New file.
7837         * posix/Makefile (tests): Add bug-regex33.
7839 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
7841         * manual/macros.texi: New file.
7842         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7843         * manual/libc.texinfo: Include macros.texi.
7844         * manual/creatute.texi: Likewise.
7845         * manual/install.texi: Likewise.
7846         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7847         @glibcadj{} in references to the GNU C Library.
7848         * manual/charset.texi: Likewise.
7849         * manual/conf.texi: Likewise.
7850         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
7851         when not using those macros.
7852         * manual/creature.texi: Likewise.
7853         * manual/crypt.texi: Likewise.
7854         * manual/errno.texi: Likewise.
7855         * manual/filesys.texi: Likewise.
7856         * manual/header.texi: Likewise.
7857         * manual/install.texi: Likewise.
7858         * manual/intro.texi: Likewise.
7859         * manual/io.texi: Likewise.
7860         * manual/job.texi: Likewise.
7861         * manual/lang.texi: Likewise.
7862         * manual/libc.texiinfo: Likewise.
7863         * manual/llio.texi: Likewise.
7864         * manual/locale.texi: Likewise.
7865         * manual/maint.texi: Likewise.
7866         * manual/math.texi: Likewise.
7867         * manual/memory.texi: Likewise.
7868         * manual/message.texi: Likewise.
7869         * manual/nss.texi: Likewise.
7870         * manual/pattern.texi: Likewise.
7871         * manual/process.texi: Likewise.
7872         * manual/resource.texi: Likewise.
7873         * manual/search.texi: Likewise.
7874         * manual/setjmp.texi: Likewise.
7875         * manual/signal.texi: Likewise.
7876         * manual/socket.texi: Likewise.
7877         * manual/startup.texi: Likewise.
7878         * manual/stdio.texi: Likewise.
7879         * manual/string.texi: Likewise.
7880         * manual/sysinfo.texi: Likewise.
7881         * manual/syslog.texi: Likewise.
7882         * manual/terminal.texi: Likewise.
7883         * manual/time.texi: Likewise.
7884         * manual/users.texi: Likewise.
7885         * INSTALL: Regenerated.
7886         * NOTES: Regenerated.
7887         * sysdeps/gnu/errlist.c: Regenerated.
7889 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7891         * include/dirent.h: Include <dirstream.h> before
7892         <dirent/dirent.h>.
7894 2012-02-28  David S. Miller  <davem@davemloft.net>
7896         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7897         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7898         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7899         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7901 2012-02-27  David S. Miller  <davem@davemloft.net>
7903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7905         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7906         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7909         frame pointer instead of stack pointer relative arg slot.
7910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7911         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7912         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7914 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
7916         [BZ #3992]
7917         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7919 2012-02-27  David S. Miller  <davem@davemloft.net>
7921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7925         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7926         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7927         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7928         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7930 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7932         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7933         later.  Allow versions 5-9.
7934         * configure: Regenerated.
7935         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7936         required minimum version and 4.6 as recommended version.  Do not
7937         mention bugs in GCC 2.7 and 2.8.
7938         * INSTALL: Regenerated.
7940 2012-02-27  David S. Miller  <davem@davemloft.net>
7942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7946         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7947         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7948         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7949         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7951         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7952         manipulate bits before adding and subtracting TWO112[sx].
7953         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7955 2012-02-27  Roland McGrath  <roland@hack.frob.com>
7957         [BZ #13775]
7958         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7959         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7960         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7961         being in POSIX, because they are in 1003.1-2008.
7963         * rt/tst-aio.c: Include <fcntl.h>.
7964         * rt/tst-aio7.c: Likewise.
7965         * rt/tst-aio64.c: Likewise.
7967         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7969 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7971         * manual/install.texi (--with-headers): Describe headers as
7972         interface headers, not private headers.
7973         (Specific advice for GNU/Linux systems): Describe use of headers
7974         from "make headers_install", not private headers from older
7975         kernels.
7976         * INSTALL: Regenerated.
7977         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7978         Change to 2.6.19.
7979         * sysdeps/unix/sysv/linux/configure: Regenerated.
7981         * manual/llio.texi (fclean): Remove documentation.
7983         * manual/Makefile (libc-texi-generated): New variable.  Include
7984         version.texi.
7985         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7986         $(libc-texi-generated), not duplicated list of files.
7987         (version.texi, stamp-version): New rules.
7988         (realclean): Remove $(libc-texi-generated), not individual files
7989         from that list.  Do not remove dir-add.texinfo.
7990         * manual/libc.texinfo: Comment out uses of edition numbers and
7991         references to printed manual.  Remove last-updated dates.
7992         (EDITION): Comment out.
7993         (ISBN): Likewise.
7994         (VERSION, UPDATED): Remove.
7995         (version.texi): Include.
7997 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
7999         * sysdeps/posix/spawni.c: Include <signal.h>.
8000         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8001         * sysdeps/pthread/aio_fsync.c: Likewise.
8003 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
8005         * conform/Makefile (tests): Run only when not cross-compiling and
8006         when fast-check is not defined.
8008         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8009         * conform/data/limits.h-data: Fixes for POSIX2008.
8010         * conform/run-conformtest.sh: Run all tests.
8011         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8012         headers.
8013         * include/bits/dlfcn.h: Likewise.
8014         * include/langinfo.h: Likewise.
8015         * include/monetary.h: Likewise.
8016         * include/sys/poll.h: Likewise.
8018         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8019         for __USE_GNU.
8020         * posix/spawn.h: Define __need_sigset_t.
8021         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8022         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8023         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
8024         to get sigevent_t only.
8025         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8026         only for __USE_GNU.
8027         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8028         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8029         process_vm_writev only for __USE_GNU.
8030         * termios/termios.h: Declare tcgetsid also for POSIX2008.
8032         * conform/Makefile: For now ignore errors from run-conformtest.
8033         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
8034         POSIX to avoid namespace pollution.  Don't prepend headers.
8035         * conform/data/aio.h-data: Fixes for POSIX testing.
8036         * conform/data/fcntl.h-data: Likewise.
8037         * conform/data/glob.h-data: Likewise.
8038         * conform/data/grp.h-data: Likewise.
8039         * conform/data/pthread.h-data: Likewise.
8040         * conform/data/pwd.h-data: Likewise.
8041         * conform/data/signal.h-data: Likewise.
8042         * conform/data/spawn.h-data: Likewise.
8043         * conform/data/stdio.h-data: Likewise.
8044         * conform/data/stdlib.h-data: Likewise.
8045         * conform/data/stropts.h-data: Likewise.
8046         * conform/data/sys/mman.h-data: Likewise.
8047         * conform/data/sys/stat.h-data: Likewise.
8048         * conform/data/sys/types.h-data: Likewise.
8049         * conform/data/sys/wait.h-data: Likewise.
8050         * conform/data/time.h-data: Likewise.
8051         * conform/data/unistd.h-data: Likewise.
8052         * conform/data/utime.h-data: Likewise.
8054         * io/sys/stat.h: fchmod was always in POSIX.
8055         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8056         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8057         * rt/aio.h: Define __need_timespec before including <time.h>.
8058         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8059         struct.  Add forward declaration of pthread_attr_t and use it in
8060         sigevent.
8061         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8062         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8063         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8064         always remove CLK_TCK definition.
8066 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
8068         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8070 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
8072         * conform/run-conformtest.sh: New file.
8073         * conform/Makefile: Run run-conformtest for tests.
8074         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
8075         support.
8077         * conform/data/uchar.h-data: New file.
8078         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8079         * conform/data/arpa/inet.h-data: Likewise.
8080         * conform/data/assert.h-data: Likewise.
8081         * conform/data/complex.h-data: Likewise.
8082         * conform/data/cpio.h-data: Likewise.
8083         * conform/data/ctype.h-data: Likewise.
8084         * conform/data/dirent.h-data: Likewise.
8085         * conform/data/dlfcn.h-data: Likewise.
8086         * conform/data/errno.h-data: Likewise.
8087         * conform/data/fcntl.h-data: Likewise.
8088         * conform/data/float.h-data: Likewise.
8089         * conform/data/fmtmsg.h-data: Likewise.
8090         * conform/data/fnmatch.h-data: Likewise.
8091         * conform/data/ftw.h-data: Likewise.
8092         * conform/data/glob.h-data: Likewise.
8093         * conform/data/grp.h-data: Likewise.
8094         * conform/data/iconv.h-data: Likewise.
8095         * conform/data/inttypes.h-data: Likewise.
8096         * conform/data/langinfo.h-data: Likewise.
8097         * conform/data/libgen.h-data: Likewise.
8098         * conform/data/limits.h-data: Likewise.
8099         * conform/data/locale.h-data: Likewise.
8100         * conform/data/math.h-data: Likewise.
8101         * conform/data/monetary.h-data: Likewise.
8102         * conform/data/mqueue.h-data: Likewise.
8103         * conform/data/ndbm.h-data: Likewise.
8104         * conform/data/net/if.h-data: Likewise.
8105         * conform/data/netdb.h-data: Likewise.
8106         * conform/data/netinet/in.h-data: Likewise.
8107         * conform/data/nl_types.h-data: Likewise.
8108         * conform/data/poll.h-data: Likewise.
8109         * conform/data/pthread.h-data: Likewise.
8110         * conform/data/pwd.h-data: Likewise.
8111         * conform/data/regex.h-data: Likewise.
8112         * conform/data/sched.h-data: Likewise.
8113         * conform/data/search.h-data: Likewise.
8114         * conform/data/semaphore.h-data: Likewise.
8115         * conform/data/setjmp.h-data: Likewise.
8116         * conform/data/signal.h-data: Likewise.
8117         * conform/data/spawn.h-data: Likewise.
8118         * conform/data/stdarg.h-data: Likewise.
8119         * conform/data/stdio.h-data: Likewise.
8120         * conform/data/stdlib.h-data: Likewise.
8121         * conform/data/string.h-data: Likewise.
8122         * conform/data/strings.h-data: Likewise.
8123         * conform/data/stropts.h-data: Likewise.
8124         * conform/data/sys/ipc.h-data: Likewise.
8125         * conform/data/sys/mman.h-data: Likewise.
8126         * conform/data/sys/msg.h-data: Likewise.
8127         * conform/data/sys/resource.h-data: Likewise.
8128         * conform/data/sys/select.h-data: Likewise.
8129         * conform/data/sys/sem.h-data: Likewise.
8130         * conform/data/sys/shm.h-data: Likewise.
8131         * conform/data/sys/socket.h-data: Likewise.
8132         * conform/data/sys/stat.h-data: Likewise.
8133         * conform/data/sys/statvfs.h-data: Likewise.
8134         * conform/data/sys/time.h-data: Likewise.
8135         * conform/data/sys/timeb.h-data: Likewise.
8136         * conform/data/sys/times.h-data: Likewise.
8137         * conform/data/sys/types.h-data: Likewise.
8138         * conform/data/sys/uio.h-data: Likewise.
8139         * conform/data/sys/un.h-data: Likewise.
8140         * conform/data/sys/utsname.h-data: Likewise.
8141         * conform/data/sys/wait.h-data: Likewise.
8142         * conform/data/syslog.h-data: Likewise.
8143         * conform/data/tar.h-data: Likewise.
8144         * conform/data/termios.h-data: Likewise.
8145         * conform/data/utime.h-data: Likewise.
8146         * conform/data/utmpx.h-data: Likewise.
8147         * conform/data/varargs.h-data: Likewise.
8148         * conform/data/wchar.h-data: Likewise.
8149         * conform/data/wctype.h-data: Likewise.
8150         * conform/data/wordexp.h-data: Likewise.
8152         * include/stropts.h: New file.
8153         * include/uchar.h: New file.
8154         * include/aio.h: Changes to allow conformtest.pl to use the headers.
8155         * include/assert.h: Likewise.
8156         * include/ctype.h: Likewise.
8157         * include/dirent.h: Likewise.
8158         * include/dlfcn.h: Likewise.
8159         * include/fcntl.h: Likewise.
8160         * include/fnmatch.h: Likewise.
8161         * include/glob.h: Likewise.
8162         * include/grp.h: Likewise.
8163         * include/libio.h: Likewise.
8164         * include/locale.h: Likewise.
8165         * include/math.h: Likewise.
8166         * include/net/if.h: Likewise.
8167         * include/netdb.h: Likewise.
8168         * include/netinet/in.h: Likewise.
8169         * include/pthread.h: Likewise.
8170         * include/pwd.h: Likewise.
8171         * include/regex.h: Likewise.
8172         * include/sched.h: Likewise.
8173         * include/search.h: Likewise.
8174         * include/setjmp.h: Likewise.
8175         * include/signal.h: Likewise.
8176         * include/stdio.h: Likewise.
8177         * include/stdlib.h: Likewise.
8178         * include/string.h: Likewise.
8179         * include/sys/cdefs.h: Likewise.
8180         * include/sys/mman.h: Likewise.
8181         * include/sys/msg.h: Likewise.
8182         * include/sys/resource.h: Likewise.
8183         * include/sys/select.h: Likewise.
8184         * include/sys/socket.h: Likewise.
8185         * include/sys/stat.h: Likewise.
8186         * include/sys/statvfs.h: Likewise.
8187         * include/sys/time.h: Likewise.
8188         * include/sys/times.h: Likewise.
8189         * include/sys/uio.h: Likewise.
8190         * include/sys/utsname.h: Likewise.
8191         * include/sys/wait.h: Likewise.
8192         * include/termios.h: Likewise.
8193         * include/time.h: Likewise.
8194         * include/ulimit.h: Likewise.
8195         * include/unistd.h: Likewise.
8196         * include/utime.h: Likewise.
8197         * include/wchar.h: Likewise.
8198         * include/wctype.h: Likewise.
8199         * include/wordexp.h: Likewise.
8201         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8203         * time/time.h: TIME_UTC must be a macro.
8204         Make timespec_get available for ISO C11 only as well.
8206 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
8208         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8209         Reported by Peng Haitao <penght@cn.fujitsu.com>.
8211 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8213         * configure.in: Use -o not -a in test for unsupported multi-arch.
8215 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8217         * manual/texinfo.tex: Update to version 2012-01-19.16.
8219 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
8221         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8223 2012-02-24  Roland McGrath  <roland@hack.frob.com>
8225         [BZ #13738]
8226         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8227         * manual/fdl-1.3.texi: New file.
8228         * manual/fdl-1.1.texi: File removed.
8230         [BZ #13738]
8231         * manual/libc.texinfo (FDL_VERSION): New @set.
8232         Use it for mention of FDL in cover text.
8233         (Documentation License): Use it in @include file name.
8235 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8236             Roland McGrath  <roland@hack.frob.com>
8238         [BZ #5461]
8239         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8240         not LONG_LONG_MAX and LONG_LONG_MIN.
8241         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8242         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
8243         name.
8244         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8246 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8248         [BZ #2547]
8249         [BZ #11365]
8250         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8251         manipulate bits before adding and subtracting TWO23[sx].
8252         * math/libm-test.inc (nearbyint_test): Add more tests.
8254 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8256         [BZ #2548]
8257         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8258         bits before adding and subtracting TWO23[sx].
8259         * math/libm-test.inc (rint_test): Add more tests.
8260         (rint_test_tonearest): Likewise.
8261         (rint_test_towardzero): Likewise.
8262         (rint_test_downward): Likewise.
8263         (rint_test_upward: Likewise.
8265 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8267         [BZ #10110]
8268         * include/stdc-predef.h: New file.  Extracted from features.h.
8269         * include/features.h: Include stdc-predef.h.
8270         * Makefile (headers): Add stdc-predef.h.
8271         * CONFORMANCE (Compiler limitations): Update.
8273 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
8275         * manual/libc.texinfo (VERSION, UPDATED): Revert.
8277 2012-02-21  David S. Miller  <davem@davemloft.net>
8279         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8280         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8282 2012-02-20  David S. Miller  <davem@davemloft.net>
8284         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8285         using a normal save/restore sequence, rather than allocating a
8286         dummy stack frame just to store a frame pointer and restore.
8287         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8289 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8291         * manual/install.texi: Fix stray word in line-wrapped comment.
8293 2012-02-20  David S. Miller  <davem@davemloft.net>
8295         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8296         both binutils and gcc support GOTDATA.
8298         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8299         "rd %pc" in the PIC register setup sequences.
8301         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8302         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8303         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8304         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8305         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8307         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8308         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8310         (SYSCALL_ERROR_HANDLER): Likewise.
8311         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8312         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8314         (SYSCALL_ERROR_HANDLER): Likewise.
8316         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8317         (HAVE_GCC_GOTDATA): New.
8318         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8319         relocation support in both binutils and gcc.
8320         * sysdeps/sparc/elf/configure: Regenerate.
8322         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8323         * sysdeps/sparc/sparc32/elf/configure: Delete.
8324         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8325         * sysdeps/sparc/sparc64/elf/configure: Delete.
8326         * sysdeps/sparc/elf/configure.in: New file.
8327         * sysdeps/sparc/elf/configure: Generate.
8329         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8330         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8331         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8332         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8333         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8335 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8337         * manual/install.texi: Do not mention specific glibc version
8338         numbers.
8339         * manual/libc.texinfo (VERSION, UPDATED): Update.
8340         (@copying): Use @copyright{} and range of years.
8342 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
8344         [BZ #13695]
8345         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8346         [crti.S not in sysdirs] (generated): Do not append.
8347         [crti.S not in sysdirs] (omit-deps): Likewise.
8348         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8349         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8350         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8351         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8352         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8353         Likewise.
8354         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8355         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8356         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8357         * csu/defs.awk: Remove file.
8358         * sysdeps/generic/initfini.c: Likewise.
8359         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8360         variable.
8361         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8362         Likewise.
8364 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8366         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8367         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8368         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8369         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8370         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8371         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8372         <bits/epoll.h>.
8373         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8374         (__EPOLL_PACKED): Define to empty if not defined by
8375         <bits/epoll.h>.
8376         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8378         bits/epoll.h.
8380 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8382         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8383         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8384         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8385         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8386         <bits/timerfd.h>.
8387         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8389         bits/timerfd.h.
8391 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8393         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8394         in C locale.
8395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8396         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8397         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
8402         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8403         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8405 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
8407         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8408         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8409         defined.
8410         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8411         Likewise.
8412         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8413         entry for 2.16.
8415 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
8417         * math/w_acos.c: Use non-signaling floating-point comparisons.
8418         * math/w_acosf.c: Likewise.
8419         * math/w_acosh.c: Likewise.
8420         * math/w_acoshf.c: Likewise.
8421         * math/w_acoshl.c: Likewise.
8422         * math/w_acosl.c: Likewise.
8423         * math/w_asin.c: Likewise.
8424         * math/w_asinf.c: Likewise.
8425         * math/w_asinl.c: Likewise.
8426         * math/w_atanh.c: Likewise.
8427         * math/w_atanhf.c: Likewise.
8428         * math/w_atanhl.c: Likewise.
8429         * math/w_exp2.c: Likewise.
8430         * math/w_exp2f.c: Likewise.
8431         * math/w_exp2l.c: Likewise.
8432         * math/w_j0.c: Likewise.
8433         * math/w_j0f.c: Likewise.
8434         * math/w_j0l.c: Likewise.
8435         * math/w_j1.c: Likewise.
8436         * math/w_j1f.c: Likewise.
8437         * math/w_j1l.c: Likewise.
8438         * math/w_jn.c: Likewise.
8439         * math/w_jnf.c: Likewise.
8440         * math/w_log.c: Likewise.
8441         * math/w_log10.c: Likewise.
8442         * math/w_log10f.c: Likewise.
8443         * math/w_log10l.c: Likewise.
8444         * math/w_log2.c: Likewise.
8445         * math/w_log2f.c: Likewise.
8446         * math/w_log2l.c: Likewise.
8447         * math/w_logf.c: Likewise.
8448         * math/w_logl.c: Likewise.
8449         * math/w_sqrt.c: Likewise.
8450         * math/w_sqrtf.c: Likewise.
8451         * math/w_sqrtl.c: Likewise.
8452         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8453         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8454         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8455         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8456         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8458 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8460         [BZ #9739]
8461         * manual/string.texi (strnlen): Use correct parameter name in
8462         equivalent expression.
8464 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8466         [BZ #11174]
8467         * manual/users.texi (seteuid): Consistently use neweuid for
8468         argument name.
8470 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8472         [BZ #13704]
8473         * manual/nss.texi (Services in the NSS configuration): Correct
8474         list of services in example configuration file.
8476 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
8478         [BZ #11322]
8479         * manual/arith.texi: Remove statements about negative zero
8480         behaving identically to zero.
8482 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8484         [BZ #5993]
8485         * manual/install.texi: Do not document upgrading from libc5.
8487 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8489         [BZ #4596]
8490         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8492 2012-02-18  David S. Miller  <davem@davemloft.net>
8494         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8495         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8496         %o7 across the call.
8497         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8498         instead.
8499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8500         SETUP_PIC_REG_LEAF.
8501         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8502         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8503         * sysdeps/sparc/crtn.S: Likewise.
8505 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
8507         * aout/Makefile: Remove.
8509 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
8511         [BZ #13058]
8512         * manual/examples/argp-ex1.c (main): Format definition in GNU
8513         style.
8514         * manual/examples/argp-ex2.c (main): Likewise.
8515         * manual/examples/argp-ex3.c (main): Likewise.
8516         * manual/examples/argp-ex4.c (main): Likewise.
8517         * manual/examples/longopt.c (main): Use new-style prototype
8518         definition.
8519         * manual/examples/strncat.c (main): Specify return type and use
8520         (void) for arguments.
8521         * manual/examples/subopt.c (main): Use char **argv argument.
8523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8525         [BZ #5077]
8526         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8527         rounding modes.
8529 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
8531         [BZ #6907]
8532         * manual/string.texi (strchr): Change when strchrnul is
8533         recommended.
8535 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
8537         [BZ #174]
8538         * manual/locale.texi (setlocale): Document LOCPATH.
8540 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8542         [BZ #10210]
8543         * manual/process.texi (execle): Move @dots{} before last argument.
8545 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
8547         [BZ #12047]
8548         * manual/charset.texi (Generic Charset Conversion): Fix typo
8549         (LC_TYPE -> LC_CTYPE).
8551 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
8553         [BZ #5805]
8554         * manual/arith.texi (scalbn): Use @var{} on parameter names.
8555         (scalbnf): Likewise.
8556         (scalbnl): Likewise.
8557         (scalbln): Likewise.
8558         (scalblnf): Likewise.
8559         (scalblnl): Likewise.
8560         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8561         (vwarnx): Likewise.
8562         (verr): Likewise.
8563         (verrx): Likewise.
8564         * manual/filesys.texi (telldir): Use braces around return type.
8565         * manual/llio.texi (mmap): Add space after comma.
8566         (mmap64): Likewise.
8567         * manual/math.texi (jn): Use @var{} on parameter names.
8568         (jnf): Likewise.
8569         (jnl): Likewise.
8570         (yn): Likewise.
8571         (ynf): Likewise.
8572         (ynl): Likewise.
8573         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8574         line.
8575         * manual/resource.texi (ulimit): Use @dots{} instead of literal
8576         "...".
8577         (sched_get_priority_min): Remove semicolon on @deftypefun line.
8578         (sched_get_priority_max): Likewise.
8579         * manual/signal.texi (sigvec): Add space after comma.
8580         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8581         names.
8582         (if_indextoname): Likewise.
8583         (if_freenameindex): Likewise.
8584         (sendto): Use ',' instead of '.' in prototype.
8585         * manual/startup.texi (syscall): Use @dots{} instead of literal
8586         "...".
8587         * manual/stdio.texi (__fpending): Separate initial words of
8588         paragraph from @deftypefun line.
8589         * manual/syslog.texi (syslog): Use @dots{} instead of literal
8590         "...".
8591         (vsyslog): Use @var{} on parameter names.
8592         * manual/terminal.texi (stty): Use @var{} on parameter names.
8593         * manual/users.texi (getutmp): Use @var{} on parameter names.
8594         (getutmpx): Likewise.
8596 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8598         [BZ #6884]
8599         * manual/stdio.texi (fopen): Fix typos in description of
8600         ",ccs=STRING".
8602 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
8604         [BZ #4026]
8605         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8606         get clock_id definition.
8608 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
8610         [BZ #4822]
8611         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8612         (madvise): Cast every argument to void on its own.
8614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8616         [BZ #9902]
8617         * manual/startup.texi (Exit Status): Fix typo.
8619 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8621         [BZ #10140]
8622         * manual/examples/argp-ex1.c: Include <stdlib.h>.
8623         * manual/examples/argp-ex2.c: Likewise.
8624         * manual/examples/argp-ex3.c: Likewise.
8626 2012-02-16  Richard Henderson  <rth@redhat.com>
8628         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8629         * sysdeps/s390/s390-32/initfini.c: Remove.
8630         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8631         * sysdeps/s390/s390-64/initfini.c: Remove.
8633 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8635         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8636         compiler output for sysdeps/generic/initfini.c.
8637         * sysdeps/sh/elf/initfini.c: Remove file.
8639 2012-02-16  David S. Miller  <davem@davemloft.net>
8641         [BZ #11494]
8642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8644         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8645         * sysdeps/sparc/crti.S: New file.
8646         * sysdeps/sparc/crtn.S: New file.
8647         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8648         * sysdeps/sparc/sparc64/Makefile: Likewise.
8650 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
8652         [BZ #3335]
8653         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8655 2012-02-15  Roland McGrath  <roland@hack.frob.com>
8657         [BZ #4822]
8658         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8660         * mach/devstream.c (cookie_io_functions_t): Macro removed.
8661         (write, read, close): Likewise.
8662         Patch by Aurelien Jarno <aurelien@aurel32.net>.
8664 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
8666         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8667         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8668         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8669         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8670         <bits/signalfd.h>.
8671         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8673         bits/signalfd.h.
8675 2012-02-14  Marek Polacek  <polacek@redhat.com>
8677         * sysdeps/x86_64/crti.S: New file.
8678         * sysdeps/x86_64/crtn.S: New file.
8679         * sysdeps/x86_64/elf/initfini.c: Remove file.
8681 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8683         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8684         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8685         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8686         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8687         <bits/inotify.h>.
8688         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8690         bits/inotify.h.
8692 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8694         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8695         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8696         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8697         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8698         <bits/eventfd.h>.
8699         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8701         bits/eventfd.h.
8703 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
8705         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8706         __feraiseexcept instead of feraiseexcept.
8708         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8709         nanosleep invocations.
8710         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8711         strings, and add error checking for a nanosleep invocations.
8713 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8715         Replace FSF snail mail address with URLs, as per GNU coding standards.
8716         Most of the snail mail addresses were wrong anyway, and omitting
8717         them makes the source code easier to maintain.  Almost all of the
8718         changes are to license notices and to locale LC_IDENTIFICATION
8719         addresses, except for this one:
8720         * manual/libc.texinfo: In "Published by", give the FSF's URL,
8721         not its snail mail address.
8723 2012-02-09  Richard Henderson  <rth@twiddle.net>
8725         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8726         of kernel-features.h.
8728         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8730 2012-02-08  Marek Polacek  <polacek@redhat.com>
8732         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8733         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8734         * sysdeps/gnu/_G_config.h: Likewise.
8735         * sysdeps/generic/_G_config.h: Likewise.
8737 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
8739         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8740         tests.
8741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8743         * sysdeps/powerpc/powerpc32/crti.S: New file.
8744         * sysdeps/powerpc/powerpc32/crtn.S: New file.
8745         * sysdeps/powerpc/powerpc64/crti.S: New file.
8746         * sysdeps/powerpc/powerpc64/crtn.S: New file.
8748         * Makeconfig (have-initfini): Don't set.
8749         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8750         * configure.in (nopic_initfini): Don't substitute.
8751         * config.h.in (HAVE_INITFINI): Don't #undef.
8752         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8753         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8755 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
8757         Support crti.S and crtn.S provided directly by architectures.
8758         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8759         [crti.S in sysdirs] (omit-deps): Likewise.
8760         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8761         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8762         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8763         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8764         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8765         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8766         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8767         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8768         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8769         compiler output for sysdeps/generic/initfini.c.
8770         * sysdeps/i386/elf/Makefile: Remove file.
8771         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8773 2012-02-07  Marek Polacek  <polacek@redhat.com>
8775         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8776         * sysdeps/gnu/_G_config.h: Likewise.
8777         * sysdeps/mach/hurd/_G_config.h: Likewise.
8779 2012-02-07  Marek Polacek  <polacek@redhat.com>
8781         * math/Makefile (tests): Add tst-CMPLX2.
8782         * math/tst-CMPLX2.c: New file.
8784 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
8786         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8788         * math/libm-test.inc (jn_test): Add missing L suffix.
8790 2012-02-06  Marek Polacek  <polacek@redhat.com>
8792         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8793         * sysdeps/i386/fpu/e_powf.S: Likewise.
8794         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8795         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8796         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8797         * sysdeps/i386/fpu/e_pow.S: Likewise.
8798         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8799         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8800         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8801         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8802         * sysdeps/i386/fpu/e_log2.S: Likewise.
8803         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8804         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8805         * sysdeps/i386/fpu/e_powl.S: Likewise.
8806         * sysdeps/i386/fpu/s_log1p.S: Likewise.
8807         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8808         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8809         * sysdeps/i386/fpu/e_logl.S: Likewise.
8810         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8811         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8812         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8813         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8814         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8815         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8816         * sysdeps/i386/fpu/e_log.S: Likewise.
8817         * sysdeps/i386/fpu/s_cexp.S: Likewise.
8818         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8819         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8820         * sysdeps/i386/fpu/e_logf.S: Likewise.
8821         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8822         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8823         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8824         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8825         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8826         * sysdeps/i386/fpu/e_log10.S: Likewise.
8827         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8828         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8829         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8830         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8831         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8832         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8833         * sysdeps/i386/asm-syntax.h: Likewise.
8834         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8835         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8836         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8837         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8838         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8839         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8840         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8841         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8842         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8843         * sysdeps/powerpc/sysdep.h: Likewise.
8844         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8845         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8847 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8849         [BZ #411]
8850         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8852 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8854         * sysdeps/i386/sysdep.h: Include <features.h>.
8855         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8856         version.
8858 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
8860         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8861         Define.
8862         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8863         LOAD_PIC_REG_STR.
8865 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8867         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8868         (SETUP_PIC_REG): Use GET_PC_THUNK.
8869         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8870         macro.
8872 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8874         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8875         for non-PIC compilation.
8876         (SETUP_PIC_REG): Add .p2align directive.
8877         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8878         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8879         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8880         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8881         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8882         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8883         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8884         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8885         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8886         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8887         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8888         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8889         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8890         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8891         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8892         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8893         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8894         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8895         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8896         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8897         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8898         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8899         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8900         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8901         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8902         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8903         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8904         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8905         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8906         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8907         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8908         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8909         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8910         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8911         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8912         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8913         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8914         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8915         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8916         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8917         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8919 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8921         * math/tst-CMPLX.c: Include <stdio.h>.
8923 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
8925         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8926         float.
8927         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8928         * sysdeps/sparc/bits/mathdef.h: Likewise.
8930 2012-01-31  Marek Polacek  <polacek@redhat.com>
8932         * libio/libio.h: Don't define _PARAMS.
8933         * locale/programs/config.h: Don't define PARAMS.
8934         * stdlib/strtol_l.c: Likewise.
8935         (__strtol_l): Remove PARAMS from the prototype.
8937 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
8939         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
8940         names.  Just use the correct names.  Remove unnecessary wrapper
8941         functions.
8942         * malloc/arena.c: Likewise.
8943         * malloc/hooks.c: Likewise.
8945         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8946         ARENA_TEST says not to.  Simplify test for creation of a new arena.
8947         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8949 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
8951         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8952         into tail calls.
8953         (update_get_addr): New function.
8954         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8955         GET_ADDR_MODULE parameter.
8957 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8959         * crypt/cert.c: Remove __STDC__ conditionals.
8960         * crypt/crypt-entry.c: Likewise.
8961         * crypt/crypt_util.c: Likewise.
8962         * libio/filedoalloc.c: Likewise.
8963         * libio/fileops.c: Likewise.
8964         * libio/genops.c: Likewise.
8965         * libio/iofclose.c: Likewise.
8966         * libio/iofdopen.c: Likewise.
8967         * libio/iofopen.c: Likewise.
8968         * libio/iofopen64.c: Likewise.
8969         * libio/iogetdelim.c: Likewise.
8970         * libio/iopopen.c: Likewise.
8971         * libio/obprintf.c: Likewise.
8972         * libio/oldfileops.c: Likewise.
8973         * libio/oldiofclose.c: Likewise.
8974         * libio/oldiofdopen.c: Likewise.
8975         * libio/oldiofopen.c: Likewise.
8976         * libio/oldiopopen.c: Likewise.
8977         * libio/wfiledoalloc.c: Likewise.
8978         * libio/wgenops.c: Likewise.
8979         * locale/programs/xmalloc.c: Likewise.
8980         * misc/syslog.c: Likewise.
8981         * stdio-common/xbug.c: Likewise.
8982         * string/memchr.c: Likewise.
8983         * string/memcmp.c: Likewise.
8984         * string/memrchr.c: Likewise.
8985         * string/rawmemchr.c: Likewise.
8986         * sysdeps/posix/getcwd.c: Likewise.
8987         * time/strftime_l.c: Likewise.
8989 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8991         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8992         * config.make.in (config-cflags-sse2avx): Define.
8993         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8994         Fix typo.
8996 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
8998         * scripts/config.guess: Update from upstream config git repository.
8999         * scripts/config.sub: Likewise.
9001 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
9003         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9004         (EM_NUM): Update.
9005         (R_TILEPRO_*, R_TILEGX_*): New macros.
9007         * scripts/firstversions.awk: Fix bug in version range handling.
9009         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9011         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9013         * include/sys/epoll.h: New file.
9014         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9015         libc_hidden_def.
9017 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
9019         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9020         Avoid unnecessary __WORDSIZE == 64 test.
9021         (fmaxf): Use VEX format if possible.
9022         (fmax): Likewise.
9023         (fminf): Likewise.
9024         (fmin): Likewise.
9026         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9027         * math/math_private.h: Remove libc_fegetround* and
9028         libc_fesetround*.
9029         * sysdeps/i386/configure.in: Check for -msse2avx.
9030         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9031         also if SSE2AVX is defined.
9032         Remove libc_fegetround* and libc_fesetround*.
9033         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9034         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
9035         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9036         of HAS_YMM_USABLE.
9037         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9038         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9039         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9040         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9041         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9043         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9045 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9047         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9048         size is not set.
9049         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9051 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
9053         [BZ #13618]
9054         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9055         relocation.
9056         * Makeconfig (libm): Define.
9057         * elf/Makefile: Add rules to build and run tst-relsort1.
9058         * elf/tst-relsort1.c: New file.
9059         * elf/tst-relsort1mod1.c: New file.
9060         * elf/tst-relsort1mod2.c: New file.
9062 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
9064         * math/s_ldexp.c: Remove __STDC__ conditionals.
9065         * math/s_ldexpf.c: Likewise.
9066         * math/s_ldexpl.c: Likewise.
9067         * math/s_nextafter.c: Likewise.
9068         * math/s_nexttowardf.c: Likewise.
9069         * math/s_significand.c: Likewise.
9070         * math/s_significandf.c: Likewise.
9071         * math/s_significandl.c: Likewise.
9072         * math/w_jnl.c: Likewise.
9073         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9074         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9075         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9076         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9077         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9079         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9080         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9081         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9082         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9083         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9084         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9085         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9086         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9087         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9088         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9089         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9090         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9091         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9092         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9093         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9094         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9095         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9097         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9098         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9099         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9100         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9101         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9102         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9103         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9104         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9105         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9106         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9107         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9108         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9109         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9110         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9111         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9112         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9113         * sysdeps/ieee754/k_standard.c: Likewise.
9114         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9115         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9116         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9117         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9118         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9119         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9120         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9121         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9122         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9123         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9124         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9125         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9126         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9127         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9128         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9129         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9130         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9131         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9132         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9133         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9134         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9135         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9136         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9137         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9138         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9139         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9140         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9141         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9143         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9144         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9145         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9146         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9147         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9148         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9149         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9150         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9151         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9152         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9153         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9154         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9155         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9156         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9157         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9158         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9159         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9160         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9162         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9163         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9164         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9165         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9166         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9167         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9168         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9169         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9170         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9171         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9172         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9173         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9174         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9175         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9176         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9177         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9178         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9179         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9180         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9181         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9182         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9183         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9184         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9185         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9186         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9187         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9188         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9189         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9190         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9191         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9192         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9193         * sysdeps/ieee754/s_matherr.c: Likewise.
9194         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9195         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9196         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9197         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9199 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9201         * crypt/md5.h: Remove __STDC__ conditionals.
9202         * libio/libioP.h: Likewise.
9203         * locale/programs/config.h: Likewise.
9204         * sysdeps/generic/sysdep.h: Likewise.
9205         * sysdeps/i386/asm-syntax.h: Likewise.
9206         * sysdeps/s390/asm-syntax.h: Likewise.
9207         * sysdeps/unix/sysdep.h: Likewise.
9208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9211 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
9213         * libio/libio.h: Remove __STDC__ conditionals.
9214         * malloc/obstack.h: Likewise.
9215         * math/complex.h: Likewise.
9216         * math/math.h: Likewise.
9217         * sysdeps/generic/_G_config.h: Likewise.
9218         * sysdeps/gnu/_G_config.h: Likewise.
9219         * sysdeps/mach/hurd/_G_config.h: Likewise.
9220         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9221         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9222         * sysdeps/sparc/bits/mathdef.h: Likewise.
9224 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
9226         [BZ #13583]
9227         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9228         Clean up HAS_* macros.
9229         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9230         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9231         possible.
9232         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9233         HAS_AVX.
9234         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9235         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9236         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9237         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9238         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9240 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
9242         * elf/tst-unique3.cc (gets): Remove declaration.
9243         * elf/tst-unique3lib.cc (gets): Likewise.
9244         * elf/tst-unique3lib2.cc (gets): Likewise.
9245         * elf/tst-unique4.cc (gets): Likewise.
9247 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
9249         * include/stdio.h: Add C++ protection.  Add gets declarations and
9250         definitions.
9251         * debug/tst-chk1.c: Don't declare gets here.
9252         * stdio-common/tst-gets.c: Likewise.
9254 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9256         * posix/glob: Remove directory.
9258 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
9260         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9262 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
9264         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9265         of the non-standard EPFNOSUPPORT.
9267 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9269         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9270         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9271         ANYWHERE set to 1 only on KERN_NO_SPACE error.
9273 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
9275         * wcsmbs/uchar.h: Test __STDC_VERSION__.
9277 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
9279         * nscd/aicache.c (addhstaiX): Do not cache negative results of
9280         transient errors.
9281         * nscd/grpcache.c (cache_addgr): Likewise.
9282         * nscd/hstcache.c (cache_addhst): Likewise.
9283         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9284         * nscd/pwdcache.c (cache_addpw): Likewise.
9285         * nscd/servicescache.c (cache_addserv): Likewise.
9287 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
9289         * malloc/malloc.c: Various cleanups.
9290         * malloc/hooks.c: Likewise.
9292         * stdlib/Makefile (tests): Add bug-fmtmsg1.
9293         * stdlib/bug-fmtmsg1.c: New file.
9295         * stdlib/fmtmsg.c (init): Add missing unlock.
9296         Patch by Peng Haitao <penght@cn.fujitsu.com>.
9298 2012-01-12  Marek Polacek  <polacek@redhat.com>
9300         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9301         and _GNU_SOURCE.
9303 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9305         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9306         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9307         macro to ensure uniqueness of label name.
9308         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9309         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9311 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
9313         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9315         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9316         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9317         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9318         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9320 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
9322         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9324         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9325         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9326         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9328         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9330         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9331         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9332         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9333         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9335         * math/bits/math-finite.h: Add ldexp support.
9337 2012-01-10  Marek Polacek  <polacek@redhat.com>
9339         * locale/programs/localedef.h (show_archive_content): Add noreturn
9340         attribute.
9342 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
9344         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9346 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9348         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9350         * io/Makefile (headers): Add bits/poll2.h.
9352 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
9354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9355         typo #include statement.
9357 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9359         * include/sys/cdefs.h: Define __attribute_alloc_size.
9360         * catgets/gencat.c: Add alloc_size attribute and apply consistently
9361         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9362         * elf/pldd.c: Likewise.
9363         * iconv/iconv_charmap.c: Likewise.
9364         * iconv/iconvconfig.c: Likewise.
9365         * iconv/strtab.c: Likewise.
9366         * locale/programs/locale.c: Likewise.
9367         * locale/programs/localedef.h: Likewise.
9368         * locale/programs/simple-hash.c: Likewise.
9369         * nscd/nscd.h: Likewise.
9370         * nss/makedb.c: Likewise.
9371         * sysdeps/generic/ldconfig.h: Likewise.
9372         * locale/programs/localedef.c: Remove xmalloc prototype.
9373         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9375 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9377         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9378         appropriate.
9380 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9382         * math/Makefile (tests): Add tst-CMPLX.
9383         * math/tst-CMPLX.c: New file.
9385         * math/complex.h (CMPLXL): Fix typo.
9387         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9388         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9389         GLIBC_2.16.
9390         * debug/tst-chk1.c: Add poll and ppoll tests.
9391         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9392         * include/sys/poll.h: Add hidden proto for ppoll.
9393         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9394         * sysdeps/mach/hurd/ppoll.c: Likewise.
9395         * io/ppoll.c: Likewise.
9396         * debug/poll_chk.c: New file.
9397         * debug/ppoll_chk.c: New file.
9398         * include/bits/poll2.h: New file.
9399         * io/bits/poll2.h: New file.
9401         [BZ #1350]
9402         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9404         * configure.in: static is always set to yes.  Remove.
9405         * config.make.in: Don't set build-static.
9406         * Makeconfig: Remove use of build-static.
9407         * dlfcn/Makefile: Likewise.
9408         * elf/Makefile: Likewise.
9409         * math/Makefile: Likewise.
9410         * misc/Makefile: Likewise.
9411         * nptl/Makefile: Likewise.
9412         * sysdeps/mach/hurd/Makefile: Likewise.
9414         * configure.in: PWD_P is not used anymore.
9415         * config.make.in: Remove PWD_P entry.
9417         * configure.in: Remove last remnants of RANLIB.
9418         No need to check for signed size_t anymore.
9419         Don't set libc_commonpagesize and libc_relro_required here for Alpha
9420         and IA-64.
9421         Remove __builtin_expect test because we require at least gcc 3.4.
9422         * aclocal.m4: Likewise.
9424         * wcsmbs/mbrtoc16.c: Implement using towc function.
9425         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9426         * wcsmbs/wcsmbsload.c: Likewise.
9427         * iconv/gconv_simple.c: Likewise.
9428         * iconv/gconv_int.h: Likewise.
9429         * iconv/gconv_builtin.h: Likewise.
9430         * iconv/iconv_prog.c: Remove CHAR16 handling.
9432         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9434         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9436         * configure.in: Remove --with-elf and --enable-bounded options.
9437         Dont set base_machine for ia64.  More non-ELF conditions removed.
9438         Remove testing and setting of leading underscore information.
9439         * config.make.in (build-bounded): Set to no.
9440         * config.h.in: Remove NO_UNDERSCORES entry.
9441         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
9442         them.
9443         * csu/start.c: Remove !NO_UNDERSCORE code.
9444         * locale/localeinfo.h: Likewise.
9445         * sysdeps/generic/machine-gmon.h: Likewise.
9446         * sysdeps/generic/sysdep.h: Likewise.
9447         * sysdeps/i386/sysdep.h: Likewise.
9448         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9449         * sysdeps/mach/sysdep.h: Likewise.
9450         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9451         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9452         * sysdeps/sh/sysdep.h: Likewise.
9453         * sysdeps/sparc/sparc32/alloca.S: Likewise.
9454         * sysdeps/unix/i386/sysdep.S: Likewise.
9455         * sysdeps/unix/sparc/start.c: Likewise.
9456         * sysdeps/unix/sparc/sysdep.S: Likewise.
9457         * sysdeps/unix/sparc/sysdep.h: Likewise.
9458         * sysdeps/unix/start.c: Likewise.
9459         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9460         * sysdeps/x86_64/sysdep.h: Likewise.
9462 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
9464         [BZ #13553]
9465         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9466         for non-gcc.
9467         * argp/argp-fmtstream.h: Use const instead __const.
9468         * argp/argp.h: Likewise.
9469         * assert/assert.h: Likewise.
9470         * bits/fenv.h: Likewise.
9471         * bits/sched.h: Likewise.
9472         * bits/sigset.h: Likewise.
9473         * bits/sigthread.h: Likewise.
9474         * catgets/nl_types.h: Likewise.
9475         * conform/data/pthread.h-data: Likewise.
9476         * crypt/crypt-private.h: Likewise.
9477         * crypt/crypt.h: Likewise.
9478         * crypt/crypt_util.c: Likewise.
9479         * ctype/ctype.h: Likewise.
9480         * debug/execinfo.h: Likewise.
9481         * debug/mbsnrtowcs_chk.c: Likewise.
9482         * debug/mbsrtowcs_chk.c: Likewise.
9483         * debug/wcsnrtombs_chk.c: Likewise.
9484         * debug/wcsrtombs_chk.c: Likewise.
9485         * debug/wcstombs_chk.c: Likewise.
9486         * dirent/dirent.h: Likewise.
9487         * dlfcn/dlfcn.h: Likewise.
9488         * elf/neededtest4.c: Likewise.
9489         * grp/grp.h: Likewise.
9490         * gshadow/gshadow.h: Likewise.
9491         * iconv/gconv.h: Likewise.
9492         * iconv/gconv_int.h: Likewise.
9493         * iconv/gconv_simple.c: Likewise.
9494         * iconv/iconv.h: Likewise.
9495         * iconv/loop.c: Likewise.
9496         * iconv/skeleton.c: Likewise.
9497         * include/aio.h: Likewise.
9498         * include/aliases.h: Likewise.
9499         * include/argz.h: Likewise.
9500         * include/arpa/inet.h: Likewise.
9501         * include/assert.h: Likewise.
9502         * include/dirent.h: Likewise.
9503         * include/dlfcn.h: Likewise.
9504         * include/execinfo.h: Likewise.
9505         * include/fcntl.h: Likewise.
9506         * include/fenv.h: Likewise.
9507         * include/glob.h: Likewise.
9508         * include/grp.h: Likewise.
9509         * include/libintl.h: Likewise.
9510         * include/mntent.h: Likewise.
9511         * include/netdb.h: Likewise.
9512         * include/pwd.h: Likewise.
9513         * include/rpc/netdb.h: Likewise.
9514         * include/sched.h: Likewise.
9515         * include/search.h: Likewise.
9516         * include/shadow.h: Likewise.
9517         * include/signal.h: Likewise.
9518         * include/stdio.h: Likewise.
9519         * include/stdlib.h: Likewise.
9520         * include/string.h: Likewise.
9521         * include/sys/socket.h: Likewise.
9522         * include/sys/stat.h: Likewise.
9523         * include/sys/statfs.h: Likewise.
9524         * include/sys/statvfs.h: Likewise.
9525         * include/sys/syslog.h: Likewise.
9526         * include/sys/time.h: Likewise.
9527         * include/sys/uio.h: Likewise.
9528         * include/time.h: Likewise.
9529         * include/unistd.h: Likewise.
9530         * include/utmp.h: Likewise.
9531         * include/wchar.h: Likewise.
9532         * include/wctype.h: Likewise.
9533         * inet/aliases.h: Likewise.
9534         * inet/arpa/inet.h: Likewise.
9535         * inet/netinet/ether.h: Likewise.
9536         * inet/netinet/in.h: Likewise.
9537         * intl/libintl.h: Likewise.
9538         * io/bits/fcntl2.h: Likewise.
9539         * io/fcntl.h: Likewise.
9540         * io/ftw.h: Likewise.
9541         * io/sys/poll.h: Likewise.
9542         * io/sys/stat.h: Likewise.
9543         * io/sys/statfs.h: Likewise.
9544         * io/sys/statvfs.h: Likewise.
9545         * io/utime.h: Likewise.
9546         * libio/bits/stdio.h: Likewise.
9547         * libio/bits/stdio2.h: Likewise.
9548         * libio/libio.h: Likewise.
9549         * libio/libioP.h: Likewise.
9550         * libio/stdio.h: Likewise.
9551         * locale/lc-ctype.c: Likewise.
9552         * locale/locale.h: Likewise.
9553         * login/utmp.h: Likewise.
9554         * malloc/arena.c: Likewise.
9555         * malloc/malloc.c: Likewise.
9556         * malloc/malloc.h: Likewise.
9557         * malloc/mcheck.c: Likewise.
9558         * malloc/mtrace.c: Likewise.
9559         * math/bits/mathcalls.h: Likewise.
9560         * math/fenv.h: Likewise.
9561         * math/math_private.h: Likewise.
9562         * misc/bits/error.h: Likewise.
9563         * misc/bits/syslog.h: Likewise.
9564         * misc/err.h: Likewise.
9565         * misc/error.h: Likewise.
9566         * misc/fstab.h: Likewise.
9567         * misc/mntent.h: Likewise.
9568         * misc/regexp.h: Likewise.
9569         * misc/search.h: Likewise.
9570         * misc/sgtty.h: Likewise.
9571         * misc/sys/mman.h: Likewise.
9572         * misc/sys/syslog.h: Likewise.
9573         * misc/sys/uio.h: Likewise.
9574         * misc/sys/xattr.h: Likewise.
9575         * misc/ttyent.h: Likewise.
9576         * nis/rpcsvc/ypclnt.h: Likewise.
9577         * nss/nss.h: Likewise.
9578         * posix/bits/unistd.h: Likewise.
9579         * posix/fnmatch.h: Likewise.
9580         * posix/glob.h: Likewise.
9581         * posix/sched.h: Likewise.
9582         * posix/spawn.h: Likewise.
9583         * posix/sys/wait.h: Likewise.
9584         * posix/unistd.h: Likewise.
9585         * posix/wordexp.h: Likewise.
9586         * pwd/pwd.h: Likewise.
9587         * resolv/netdb.h: Likewise.
9588         * resource/sys/resource.h: Likewise.
9589         * rt/aio.h: Likewise.
9590         * rt/bits/mqueue2.h: Likewise.
9591         * rt/mqueue.h: Likewise.
9592         * shadow/shadow.h: Likewise.
9593         * signal/signal.h: Likewise.
9594         * socket/send.c: Likewise.
9595         * socket/sendto.c: Likewise.
9596         * socket/sys/socket.h: Likewise.
9597         * stdio-common/printf.h: Likewise.
9598         * stdlib/bits/stdlib.h: Likewise.
9599         * stdlib/fmtmsg.h: Likewise.
9600         * stdlib/monetary.h: Likewise.
9601         * stdlib/stdlib.h: Likewise.
9602         * stdlib/ucontext.h: Likewise.
9603         * streams/stropts.h: Likewise.
9604         * string/argz.h: Likewise.
9605         * string/bits/string2.h: Likewise.
9606         * string/string.h: Likewise.
9607         * string/strings.h: Likewise.
9608         * sunrpc/rpc/auth.h: Likewise.
9609         * sunrpc/rpc/auth_des.h: Likewise.
9610         * sunrpc/rpc/clnt.h: Likewise.
9611         * sunrpc/rpc/netdb.h: Likewise.
9612         * sunrpc/rpc/pmap_clnt.h: Likewise.
9613         * sunrpc/rpc/xdr.h: Likewise.
9614         * sysdeps/generic/inttypes.h: Likewise.
9615         * sysdeps/generic/net/if.h: Likewise.
9616         * sysdeps/generic/sys/swap.h: Likewise.
9617         * sysdeps/gnu/net/if.h: Likewise.
9618         * sysdeps/gnu/utmpx.h: Likewise.
9619         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9620         * sysdeps/i386/i486/bits/string.h: Likewise.
9621         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9622         * sysdeps/s390/bits/string.h: Likewise.
9623         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9624         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9625         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9626         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9627         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9628         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9629         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9630         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9631         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9632         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9633         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9634         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9635         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9636         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9637         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9638         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9639         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9640         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9641         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9642         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9643         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9644         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9645         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9646         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9647         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9648         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9649         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9650         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9651         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9652         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9653         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9654         * sysvipc/sys/ipc.h: Likewise.
9655         * sysvipc/sys/msg.h: Likewise.
9656         * sysvipc/sys/sem.h: Likewise.
9657         * sysvipc/sys/shm.h: Likewise.
9658         * termios/termios.h: Likewise.
9659         * time/sys/time.h: Likewise.
9660         * time/time.h: Likewise.
9661         * wcsmbs/bits/wchar2.h: Likewise.
9662         * wcsmbs/uchar.h: Likewise.
9663         * wcsmbs/wchar.h: Likewise.
9664         * wctype/wctype.h: Likewise.
9666         [BZ #13551]
9667         * Makeconfig: Remove all but ELF support including AIX support.
9668         * Makerules: Likewise.
9669         * config.h.in: Likewise.
9670         * config.make.in: Likewise.
9671         * configure: Likewise.
9672         * configure.in: Likewise.
9673         * csu/Makefile: Likewise.
9674         * csu/version.c: Likewise.
9675         * debug/Makefile: Likewise.
9676         * dlfcn/Makefile: Likewise.
9677         * elf/Makefile: Likewise.
9678         * extra-lib.mk: Likewise.
9679         * iconv/Makefile: Likewise.
9680         * include/libc-symbols.h: Likewise.
9681         * include/shlib-compat.h: Likewise.
9682         * resolv/Makefile: Likewise.
9683         * resolv/res_libc.c: Likewise.
9684         * rt/Makefile: Likewise.
9685         * sysdeps/i386/asm-syntax.h: Likewise.
9686         * sysdeps/i386/sysdep.h: Likewise.
9687         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9688         * sysdeps/mach/sysdep.h: Likewise.
9689         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9690         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9691         * sysdeps/s390/asm-syntax.h: Likewise.
9692         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9693         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9694         * sysdeps/sh/sysdep.h: Likewise.
9695         * sysdeps/unix/sparc/sysdep.h: Likewise.
9696         * sysdeps/wordsize-32/divdi3.c: Likewise.
9697         * sysdeps/x86_64/sysdep.h: Likewise.
9699         * argp/Versions: Remove _argp_unlock_xxx.
9701         [BZ #13559]
9702         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
9703         * abilist/libBrokenLocale.abilist: Likewise.
9704         * abilist/libanl.abilist: Likewise.
9705         * abilist/libc.abilist: Likewise.
9706         * abilist/libcrypt.abilist: Likewise.
9707         * abilist/libdl.abilist: Likewise.
9708         * abilist/libm.abilist: Likewise.
9709         * abilist/libnsl.abilist: Likewise.
9710         * abilist/libpthread.abilist: Likewise.
9711         * abilist/libresolv.abilist: Likewise.
9712         * abilist/librt.abilist: Likewise.
9713         * abilist/libthread_db.abilist: Likewise.
9714         * abilist/libutil.abilist: Likewise.
9715         * abilist/libnss_db.abilist: New file.
9717         * scripts/abilist.awk: Add support for indirect functions.
9719         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9721         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9723         * shlib-versions: Remove entries for ports architectures.
9725         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
9726         files in ports.
9727         * elf/stackguard-macros.h: Remove support for IA-64.
9728         * elf/tst-auditmod1.c: Likewise.
9729         * sysdeps/generic/ldsodefs.h: Likewise.
9731         * sysdeps/unix/sysv/linux/configure.in: Ports should define
9732         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9733         configure files.
9735         [BZ #13552]
9736         * configure.in: Remove --enable-omitfp support.
9737         * FAQ.in: Adjust.
9738         * config.make.in: Likewise.
9739         * Makeconfig: Likewise.
9740         * manual/install.texi: Likewise.
9742         In case anyone cares, the IA-64 architecture could move to ports.
9743         * sysdeps/ia64/*: Removed.
9744         * sysdeps/unix/sysv/linux/ia64/*: Removed.
9745         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9747         [BZ #13555]
9748         * configure.in: Remove entries for unsupported architectures.
9750         [BZ #13533]
9751         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9752         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
9753         routines.
9754         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9755         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9756         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
9757         fall back to using wcrtomb.
9758         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9759         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
9760         renaming.
9761         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9762         * wcsmbs/tst-c16c32-1.c: New file.
9764         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9765         local variable.
9767         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9769         * elf/tst-unique3.cc: Add explicit declaration of gets.
9770         * elf/tst-unique3lib.cc: Likewise.
9771         * elf/tst-unique3lib2.cc: Likewise.
9772         * elf/tst-unique4.cc: Likewise.
9774         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9776 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
9778         [BZ #13566]
9779         * assert/assert.h (static_assert): Don't define for C++.
9780         * libio/stdio.h (gets): Do declare for C++ <= C++11.
9781         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9783 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
9785         * iconv/loop.c (single loop): Fix assertion in storing of
9786         remaining bytes.
9788         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9790 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
9792         * posix/getconf.c: Update copyright year.
9793         * nss/getent.c: Likewise.
9794         * nss/makedb.c: Likewise.
9795         * iconv/iconvconfig.c: Likewise.
9796         * iconv/iconv_prog.c: Likewise.
9797         * elf/ldconfig.c: Likewise.
9798         * elf/pldd.c: Likewise.
9799         * elf/sotruss.ksh: Likewise.
9800         * catgets/gencat.c: Likewise.
9801         * csu/version.c: Likewise.
9802         * elf/ldd.bash.in: Likewise.
9803         * elf/sprof.c (print_version): Likewise.
9804         * locale/programs/locale.c: Likewise.
9805         * locale/programs/localedef.c: Likewise.
9806         * login/programs/pt_chown.c: Likewise.
9807         * nscd/nscd.c (print_version): Likewise.
9808         * debug/xtrace.sh: Likewise.
9809         * malloc/memusage.sh: Likewise.
9810         * malloc/mtrace.pl: Likewise.
9811         * debug/catchsegv.sh: Likewise.
9813 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
9815         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9816         pure attribute.
9818 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
9820         [BZ #13533]
9821         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9822         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9823         transformations.
9824         * iconv/gconv_int.h: Likewise.
9825         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9826         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9827         from libc for GLIBC_2.16.
9828         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9829         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9830         * wcsmbs/uchar.h: Really define mbstate_t.
9831         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9832         * wcsmbs/c16rtomb.c: New file.
9833         * wcsmbs/mbrtoc16.c: New file.
9834         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9835         for C/POSIX locale.
9836         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9837         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9839         * wcsmbs/wchar.h: Add missing __restrict.
9841 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9843         [BZ #13532]
9844         * time/Makefile (routines): Add timespec_get.
9845         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9846         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
9847         timespec for ISO C11.
9848         * time/timespec_get.c: New file.
9849         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9850         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9852         [BZ #13531]
9853         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9854         * stdlib/stdlib.h: Declare aligned_alloc.
9855         * Versions.def: Add GLIBC_2.16 for libc.
9856         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9858         [BZ 13527]
9859         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9860         ISO C11.
9862         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9863         code.
9865         [BZ #13528]
9866         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9868         [BZ #13529]
9869         * assert/assert.h (static_assert): Define.
9871         * version.h: Update for 2.16 development version.
9873         [BZ #13526]
9874         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9875         _ISOC11_SOURCE.
9877         * version.h (RELEASE): Bump for 2.15 release.
9878         * include/features.h (__GLIBC_MINOR__): Bump to 15.
9880         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9881         Patch by Marek Polacek <mpolacek@redhat.com>.
9883         * bits/byteswap.h: Protect long long constants with __extension__.
9884         * sysdeps/i386/bits/byteswap.h: Likewise.
9885         * sysdeps/ia64/bits/byteswap.h: Likewise.
9886         * sysdeps/s390/bits/byteswap.h: Likewise.
9887         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9889 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9891         [BZ #13540]
9892         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9893         destination buffer.
9894         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9896 2011-12-23  Marek Polacek  <polacek@redhat.com>
9898         * elf/dl-addr.c (determine_info): Add inline keyword.
9899         * elf/tst-auditmod4b.c (check_avx): Likewise.
9900         * elf/tst-auditmod6b.c (check_avx): Likewise.
9901         * elf/tst-auditmod6c.c (check_avx): Likewise.
9902         * elf/tst-auditmod7b.c (check_avx): Likewise.
9904 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9906         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9907         !__SSE_MATH__.
9909 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9911         [BZ #13540]
9912         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9913         processing for last bytes.
9915 2011-08-06  Bruno Haible  <bruno@clisp.org>
9917         [BZ #13061]
9918         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9919         U+0385, not to U+1FEE.
9921         [BZ #13062]
9922         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9923         entry for U+00A5 U+0301.
9925 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9927         [BZ #13166]
9928         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9929         buffer for the output is too small.
9931         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9932         optimization.
9934         [BZ #13185]
9935         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9936         SSE flags if possible.
9938 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9940         [BZ #13540]
9941         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9942         processing for last bytes.
9944 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
9946         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9947         (syscall-list-default-options, syscall-list-default-condition)
9948         (syscall-list-includes): Define.
9949         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9950         list of ABIs and options and #if conditions for each ABI.  Do not
9951         handle common syscalls between ABIs specially.
9952         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9953         Remove.
9954         (syscall-list-variants, syscall-list-32bit-options)
9955         (syscall-list-32bit-condition, syscall-list-64bit-options)
9956         (syscall-list-64bit-condition): Define.
9957         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9958         (syscall-list-variants, syscall-list-32bit-options)
9959         (syscall-list-32bit-condition, syscall-list-64bit-options)
9960         (syscall-list-64bit-condition): Define.
9961         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9962         Remove.
9963         (syscall-list-variants, syscall-list-32bit-options)
9964         (syscall-list-32bit-condition, syscall-list-64bit-options)
9965         (syscall-list-64bit-condition): Define.
9966         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9967         Remove.
9968         (syscall-list-variants, syscall-list-32bit-options)
9969         (syscall-list-32bit-condition, syscall-list-64bit-options)
9970         (syscall-list-64bit-condition): Define.
9972 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9974         * locale/iso-639.def: Add brx entry.
9976         [BZ #13328]
9977         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9978         Proposed by Mariusz_Cukr <marcukr@op.pl>.
9980         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9981         __feraiseexcept_renamed.
9983 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
9985         [BZ #13538]
9986         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9987         EPOLLET with unsigned values.
9988         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9989         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9991         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9992         to large cancellation.
9993         * math/s_cacoshf.c: Likewise.
9994         * math/s_cacoshl.c: Likewise.
9996 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
9998         [BZ #13305]
9999         [BZ #12786]
10000         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10001         * math/s_cacoshf.c: Likewise.
10002         * math/s_cacoshl.c: Likewise.
10004 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10006         [BZ #13439]
10007         * iconv/gconv.h: Define __GCONV_SWAP.
10008         * iconvdata/unicode.c: The swap bit must be stored in __flags.
10009         * iconvdata/utf-16.c: Likewise.
10010         * iconvdata/utf-32.c: Likewise.
10012 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10014         [BZ #13524]
10015         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10016         numerator after shifting it by one limb.
10018 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
10020         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10021         under [__USE_EXTERN_INLINES].
10023 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10025         [BZ #13446]
10026         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10028 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10030         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10031         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10032         optimized code.
10033         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10034         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10035         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10036         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10037         for strncasecmp/strncasecmp_l compilation.
10038         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10039         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10041 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
10043         [BZ #13484]
10044         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10045         of __asm__.
10047 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10049         [BZ #13506]
10050         * time/tzfile.c (__tzfile_read): Check values from file header.
10052 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
10054         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10055         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10056         * powerpc/powerpc32/dl-start.S: Likewise.
10057         * powerpc/powerpc32/elf/start.S: Likewise.
10058         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10059         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10060         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10061         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10062         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10063         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10064         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10065         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10066         * powerpc/powerpc32/fpu/s_round.S: Likewise.
10067         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10068         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10069         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10070         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10071         * powerpc/powerpc32/memset.S: Likewise.
10072         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10073         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10074         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10075         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10076         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10077         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10078         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10079         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10080         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10081         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10082         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10083         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10084         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10086 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10088         * math/libm-test.inc: Added more nearbyint tests.
10089         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10090         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10091         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10094 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
10096         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10097         FD_CLOEXEC.
10099 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10101         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10102         Add wcscpy-ssse3 wcscpy-c.
10103         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10104         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10105         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10106         * sysdeps/x86_64/wcschr.S: New file.
10107         * sysdeps/x86_64/wcsrchr.S: New file.
10108         * string/test-strcmp.c: Remove checking of wcscmp function for
10109         wrong alignments.
10110         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10111         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10112         wcsrchr-sse2 wcsrchr-c.
10113         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10114         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10115         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10116         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10117         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10118         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10119         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10120         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10121         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10122         * wcsmbc/wcschr.c (WCSCHR): New macro.
10124 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10126         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10127         * wcsmbs/test-wcsrchr.c: New file.
10128         * string/test-strrchr.c: Add wcsrchr support.
10129         (WIDE): New macro.
10130         * wcsmbs/test-wcscpy.c: New file.
10131         * string/test-strcpy.c: Add wcscpy support.
10132         (WIDE): New macro.
10134 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
10136         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10137         the inner loop.
10139 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
10141         [BZ #13472]
10142         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10144 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
10146         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10147         Minor optimizations.
10149         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10150         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10151         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10153 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
10155         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10156         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10157         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10158         for gcc to avoid warnings.
10159         * inet/Makefile (tests): Add tst-checks.
10160         * inet/tst-checks.c: New file.
10162         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10163         warning.
10165         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10166         __wmemcmp_sse2.
10168         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10169         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10171         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10173 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
10175         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10176         problem.
10178         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10180 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
10182         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10183         conditional on GCC version.
10184         (__arch_compare_and_exchange_val_8_acq)
10185         (__arch_compare_and_exchange_val_16_acq)
10186         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10187         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10188         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10190 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
10192         * sysdeps/sh/backtrace.c: New file.
10194 2011-12-02  Andreas Schwab  <schwab@redhat.com>
10196         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
10197         parenthesis.
10199 2011-12-01  Andreas Schwab  <schwab@redhat.com>
10201         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10202         falling back to utime.
10204 2011-11-30  Andreas Schwab  <schwab@redhat.com>
10206         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10207         expectations for float.
10209 2011-11-29  Andreas Schwab  <schwab@redhat.com>
10211         * locale/weight.h (findidx): Add parameter len.
10212         * locale/weightwc.h (findidx): Likewise.
10213         * posix/fnmatch_loop.c (FCT): Adjust caller.
10214         * posix/regcomp.c (build_equiv_class): Likewise.
10215         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10216         * posix/regexec.c (check_node_accept_bytes): Likewise.
10217         * string/strcoll_l.c (STRCOLL): Likewise.
10218         * string/strxfrm_l.c (STRXFRM): Likewise.
10220 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
10222         * Makefile.in: Remove CVSOPT handling.
10223         * configure.in: Remove use of AC_REVISION.
10224         * iconvdata/Makefile (distribute): No need to filter out CVS.
10225         * scripts/list-sources.sh: Remove CVS, subversion and monotone
10226         handling.
10228 2011-11-16  Andreas Schwab  <schwab@redhat.com>
10230         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10231         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10232         [USE_AS_STRNCASECMP_L]: Likewise.
10233         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10234         NO_TLS_DIRECT_SEG_REFS.
10235         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10236         Fix argument offsets for non-PIC.
10237         [USE_AS_STRNCASECMP_L]: Likewise.
10238         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10239         NO_TLS_DIRECT_SEG_REFS.
10241 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10243         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10244         O_CLOEXEC.
10245         * locale/loadlocale.c (_nl_load_locale): Likewise.
10247 2011-11-15  Andreas Schwab  <schwab@redhat.com>
10249         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10250         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10251         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10252         (SYSCALL_GETTIME): Set errno on error.
10254         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10255         count references to noai6ai_cached.
10257 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
10259         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10261         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10262         FD_CLOEXEC for /proc/self/maps.
10264         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10265         FD_CLOEXEC for /proc/meminfo.
10267         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10268         gai.conf.
10270         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
10271         FD_CLOEXEC for given file.
10273         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10275         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10276         FD_CLOEXEC for /etc/hosts.
10277         (_gethtent): Likewise.
10279         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10281         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10282         cancellation and set FD_CLOEXEC for /etc/netgroup.
10284         * nss/nss_files/files-key.c (search): Don't allow cancellation when
10285         reading /etc/publickey.
10287         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10288         allow cancellation when reading /etc/group.
10290         * nss/nss_files/files-alias.c (internal_setent): Don't allow
10291         cancellation.
10292         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
10294         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10295         when using data file.
10297         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10299         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10300         (write_nis_obj): Use "c" and "e" in fopen.
10302         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10304         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10306         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10308         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10310         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10311         locale.alias.
10313         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10315         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10317         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10319         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10320         file parsing and set FD_CLOEXEC.
10322 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10324         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10326 2011-11-14  Andreas Schwab  <schwab@redhat.com>
10328         * malloc/arena.c (arena_get2): Don't call reused_arena when
10329         _int_new_arena failed.
10331 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
10333         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10334         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10335         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10336         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10337         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10338         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10339         to compile strcasecmp and strncasecmp.
10340         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10341         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10345 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
10347         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10348         locale-defines.sym to gen-as-const-headers.
10349         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10350         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10352         to compile strcasecmp and strncasecmp.
10353         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10354         strcasecmp_l and strncasecmp_l.
10355         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10356         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10357         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10358         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10359         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10360         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10361         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10362         * sysdeps/i386/i686/multiarch/strncase.S: New file.
10363         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10364         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10365         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10367 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
10369         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10370         result of SYSDEP_GETTIME_CPU to retval.
10371         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10372         parameter list to macro.  Remove trailing semicolon.  Adjust users.
10374         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10375         variable.
10377         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10378         mantissa words.
10379         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10381         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10382         from unused variable.
10384         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10385         DWARF definitions.
10386         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10387         for assembling.
10389         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10390         over namespaces.
10392         * sunrpc/rpc_prot.c (rejected): Fix case value.
10394         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10395         unsigned long long int to avoid warnings in shift.
10397         * posix/regex_internal.c (re_string_reconstruct): Actually use result
10398         of use of trans.
10399         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10400         variable tmp.
10402         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10403         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10404         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10406         * nis/nis_table.c (nis_list): Use variable of correct type for
10407         result of __follow_path call.
10409 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10411         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10412         of math functions ceil, trunc, floor, round, and sqrt, when
10413         avaliable on the platform.
10414         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10415         name clash.
10416         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10417         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10418         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10420 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
10422         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10423         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10425 2011-11-11  Roland McGrath  <roland@hack.frob.com>
10427         * include/unistd.h: Fix __readlink return type.
10428         Reported by Chris Metcalf <cmetcalf@tilera.com>.
10430 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
10432         * stdlib/ucontext.h: Undo last change for makecontext.
10434 2011-11-11  Andreas Schwab  <schwab@redhat.com>
10436         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10438         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10439         * setjmp/setjmp.h: Mark functions as non-leaf.
10440         * setjmp/bits/setjmp2.h: Likewise.
10441         * stdlib/ucontext.h: Likewise.
10443 2011-11-10  Andreas Schwab  <schwab@redhat.com>
10445         * malloc/arena.c (_int_new_arena): Don't increment narenas.
10446         (reused_arena): Don't check arena limit.
10447         (arena_get2): Atomically check arena limit.
10449 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
10451         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10452         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10454         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10455         instructions.
10457 2011-11-07  Andreas Schwab  <schwab@redhat.com>
10459         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10460         handler when locking.
10462         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10463         Fix size of allocated buffer.
10465 2011-11-04  Andreas Schwab  <schwab@redhat.com>
10467         [BZ #10103]
10468         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10469         declarations for long double functions.
10470         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10472         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10474 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10476         * nscd/nscd.c (main): Don't start AVC thread until credentials are
10477         installed.
10479         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10480         is disabled.
10482 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10484         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10486 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10488         * include/alloca.h (stackinfo_alloca_round): Define.
10489         (extend_alloca): Use it.
10490         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10491         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10492         here.
10494         * scripts/check-local-headers.sh: Ignore libaudit.h.
10496         * nscd/Makefile (extra-objs): Make recursively expanded.
10498 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
10500         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10501         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10503         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10504         * posix/tst-rfc3484-2.c: Likewise.
10505         * posix/tst-rfc3484-3.c: Likewise.
10507         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10508         process_vm_writev.
10509         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10510         process_vm_writev.
10511         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10512         process_vm_writev from libc using GLIBC_2.15 version.
10514         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10516 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
10518         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10519         stack usage.
10521 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
10523         [BZ #13367]
10524         * nss/getent.c (initgroups_keys): Show error message in case no group
10525         names are given.
10527         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10528         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10529         __bump_nl_timestamp.
10530         * nscd/connections (nscd_init): When host database is served open
10531         netlink socket and request notification about configuration changes.
10532         (main_loop_poll): Track netlink file descriptor and bump timestamp
10533         in case data becomes available.
10534         (main_loop_epoll): Likewise.
10535         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10536         (database_pers_head): Add extra_data fileds.
10537         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10538         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10539         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10540         Adjust caller.
10541         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10542         in6ai data, call __free_in6ai.
10543         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10544         Add -DHAVE_NETLINK.
10545         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
10546         interface information.  Reuse previous data if netlink timestamp
10547         is not changed.
10548         (__bump_nl_timestamp): New function.
10549         (__free_in6ai): New function.
10551 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
10553         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10554         close_not_cancel_no_status here.
10555         (__check_pf): Reorganize code a bit to not call close twice if OOM.
10557 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10559         [BZ #13276]
10560         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10561         return value.
10563         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10564         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10565         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10567 2011-07-03  Andreas Jaeger  <aj@suse.de>
10569         [BZ #10709]
10570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10571         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10572         * math/libm-test.inc (sin_test): Add test case.
10574 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10576         [BZ #13337]
10577         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10578         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10580         * elf/chroot_canon.c (chroot_canon): Cleanups.
10582         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10584         [BZ #13335]
10585         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10586         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10588         * string/test-strchr.c: Make usable for strchrnul testing.
10589         * string/test-strchrnul.c: New file.
10590         * string/Makefile (strop-tests): Add strchrnul.
10592         * po/it.po: Update from translation team.
10593         * po/es.po: Likewise.
10595 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
10597         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10598         the three constants needed as parameters.  Drop the others.
10599         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10600         __m128i_strloadu_tolower.
10601         Create and initialize variable zero and use it in all the places
10602         where _mm_setzero_si128 was used.
10604         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10605         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10606         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10607         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10608         anymore.
10609         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10610         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10611         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10612         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10613         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10614         __mpranred, __mptan.
10615         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10616         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10617         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10618         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10619         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10620         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10622         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10623         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10625 2011-10-28  Andreas Schwab  <schwab@redhat.com>
10627         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10628         redefine if SHARED.
10629         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10632         wide char related routines to wcsmbs subdir.
10634 2011-10-27  Andreas Schwab  <schwab@redhat.com>
10636         [BZ #13344]
10637         * misc/sys/cdefs.h (__THROWNL): Define.
10638         * posix/unistd.h: Use __THREADNL instead of __THREAD
10639         for memory synchronization functions.
10641 2011-10-26  Roland McGrath  <roland@hack.frob.com>
10643         [BZ #13349]
10644         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10645         doesn't exist.
10646         * manual/stdio.texi (Obstack Streams): Node removed.
10648 2011-10-26  Andreas Schwab  <schwab@redhat.com>
10650         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10651         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10652         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10654         * math/math_private.h (math_force_eval): Allow non-addressable
10655         arguments.
10656         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10658 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10660         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10661         file is not needed.
10663         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10665         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10666         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10667         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10669         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10670         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10671         Add AVX variants.
10672         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10673         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10674         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10675         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10676         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10677         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10678         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10679         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10680         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10681         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10682         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10683         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10684         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10685         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10686         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10687         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10688         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10689         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10690         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10692         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10693         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
10695         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10696         place.  Use VEX encoding when compiling for AVX.
10698 2011-10-25  Andreas Schwab  <schwab@redhat.com>
10700         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10701         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10703         * string/test-strchr.c (do_test): Don't generate NUL bytes.
10705 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10707         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10708         useless if() expression.
10709         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10710         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10711         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10712         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10713         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10714         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10715         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10716         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10717         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10718         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10719         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10720         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10721         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10722         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10723         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10724         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10725         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10726         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10727         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10729         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10731 2011-10-25  Andreas Schwab  <schwab@redhat.com>
10733         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10734         condition.
10735         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10737 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10739         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10740         .text section.  Avoid duplicate constants.
10741         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10743         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10745         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10746         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10747         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10749         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10750         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10751         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10752         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10753         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10754         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10755         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10756         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10757         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10758         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10759         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10761         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10762         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10763         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10764         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10765         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10766         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10767         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10768         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10769         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10770         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10771         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10772         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10773         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10774         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10775         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10776         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10777         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10778         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10779         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10780         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10781         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10782         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10783         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10784         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10785         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10787 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
10789         * sysdeps/x86_64/dla.h: Move to ...
10790         * sysdeps/x86_64/fpu/dla.h: ...here.
10791         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10792         situations.  Use __builtin_fma only for gcc 4.6 and up.
10794         * config.make.in: Add have-mfma4 entry.
10795         * configure.in: Substitute libc_cv_cc_fma4.
10796         * math/Makefile (dbl-only-routines): Add sincostab.
10797         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10798         Use __sincostab not sincos.
10799         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10800         name is a macro.
10801         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
10805         using __copysign.
10806         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
10807         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
10808         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10809         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10810         and __inv.
10811         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10812         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10813         __copysign.
10814         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
10815         define aliases when function name is a macro.
10816         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10817         sysdeps/ieee754/dbl-64/sincos.tbl.
10818         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10819         fma4-enabled routines.
10820         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10821         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10822         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10823         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10824         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10825         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10826         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10827         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10828         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10829         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10830         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10831         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10832         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10833         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10834         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10835         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10836         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10837         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10838         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10839         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10840         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10841         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10842         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10843         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10844         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10845         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10846         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10847         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10848         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10849         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10851         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10852         rename.
10853         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10858         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10859         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10862 2011-10-24  Andreas Schwab  <schwab@redhat.com>
10864         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10866 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10868         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10870         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10871         prediction.
10872         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10874         * string/strnlen.c: Don't define STRNLEN, reverse logic.
10875         Remove unused variable magic_bits.
10876         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10878         * string/strnlen.c: Define and use STRNLEN macro.
10879         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10880         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10881         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10882         * wcsmbs/wcslen.c: Define and use WCSLEN.
10883         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10884         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10885         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10886         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10887         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10888         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10889         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10891 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10894         strnlen-sse2-no-bsf.
10895         Rename strlen-no-bsf to strlen-sse2-no-bsf.
10896         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10897         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10898         Add strnlen support.
10899         (USE_AS_STRNLEN): New macro.
10900         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10901         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10902         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10903         * sysdeps/x86_64/wcslen.S: New file.
10905 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
10907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10908         XMM-moves are used for copying on small sizes.
10910 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10912         * wcsmbs/Makefile (strop-tests): Add wcschr.
10913         * wcsmbs/test-wcschr.c: New file.
10914         * string/test-strchr.c: Update.
10915         Add wcschr support.
10916         (WIDE): New macro.
10918 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10920         * wcsmbs/Makefile (strop-tests): Add wcslen.
10921         * wcsmbs/test-wcslen.c: New file.
10922         * string/test-strlen.c: Update.
10923         Add wcslen support.
10924         (WIDE): New macro.
10926 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10928         * po/it.po: Update from translation team.
10930 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10932         * sysdeps/x86_64/wcscmp.S: Update.
10933         Fix wrong comparison semantics.
10934         wcscmp shall use signed comparison not unsigned.
10935         Don't use substraction to avoid overflow bug.
10936         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10937         * wcsmbc/wcscmp.c: Likewise.
10938         * string/test-strcmp.c: Likewise.
10939         Add new tests to check cases with negative values.
10941 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10943         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10944         * sysdeps/x86_64/dla.h: ...here.  New file.
10945         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10948         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10949         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10950         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10951         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10952         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10953         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10955 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
10957         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10958         __ynl_finite aliases.
10960 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10964         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10965         define DLA_FMA.
10966         [DLA_FMA] (EMULV): Use DLA_FMA.
10967         [DLA_FMA] (MUL12): Use EMULV.
10968         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10969         that are not needed.
10970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10971         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10972         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10976         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10978 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
10980         * math/s_nan.c: Undef __nan.
10981         * math/s_nanf.c: Undef __nanf.
10982         * math/s_nanl.c: Undef __nanl.
10983         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10984         "math_private.h".
10986 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10988         * math/s_catan.c: Add branch predictions.
10989         * math/s_catanf.c: Likewise.
10990         * math/s_catanh.c: Likewise.
10991         * math/s_catanhf.c: Likewise.
10992         * math/s_catanhl.c: Likewise.
10993         * math/s_catanl.c: Likewise.
10994         * math/s_cexp.c: Likewise.
10995         * math/s_cexpf.c: Likewise.
10996         * math/s_cexpl.c: Likewise.
10997         * math/s_clog.c: Likewise.
10998         * math/s_clog10.c: Likewise.
10999         * math/s_clog10f.c: Likewise.
11000         * math/s_clog10l.c: Likewise.
11001         * math/s_clogf.c: Likewise.
11002         * math/s_clogl.c: Likewise.
11003         * math/s_csqrt.c: Likewise.
11004         * math/s_csqrtf.c: Likewise.
11005         * math/s_csqrtl.c: Likewise.
11006         * math/s_ctanf.c: Likewise.
11007         * math/s_ctanh.c: Likewise.
11008         * math/s_ctanhf.c: Likewise.
11009         * math/s_ctanhl.c: Likewise.
11010         * math/s_ctanl.c: Likewise.
11012         * math/math_private.h: Define __nan, __nanf, __nanl.
11013         * math/s_cacosh.c: Include <math_private.h>.
11014         * math/s_cacoshl.c: Likewise.
11015         * math/s_casinh.c: Likewise.
11016         * math/s_casinhf.c: Likewise.
11017         * math/s_casinhl.c: Likewise.
11018         * math/s_ccos.c: Rely entire on ccosh.
11019         * math/s_ccosf.c: Rely entire on ccoshf.
11020         * math/s_ccosl.c: Rely entirely on ccoshl.
11021         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
11022         Remove tests for FE_INVALID.
11023         * math/s_ccoshf.c: Likewise.
11024         * math/s_ccoshl.c: Likewise.
11025         * math/s_csin.c: Likewise.
11026         * math/s_csinf.c: Likewise.
11027         * math/s_csinh.c Likewise.
11028         * math/s_csinhf.c: Likewise.
11029         * math/s_csinhl.c: Likewise.
11030         * math/s_csinl.c: Likewise.
11031         * math/s_ctan.c: Likewise.
11032         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11033         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11034         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11036 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
11038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11039         compilation problems.
11041         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11042         __builtin_expect.
11044 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
11046         * sysdeps/i386/configure.in: Test for -mfma4 option.
11047         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11048         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11049         COMMON_CPUID_INDEX_80000001.
11050         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11051         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11052         use it if FMA3 is not supported.
11053         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11055         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11056         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11058 2011-10-20  Andreas Schwab  <schwab@redhat.com>
11060         [BZ #12892]
11061         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11062         it would create a cycle with a link time dependency.
11064 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
11066         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11067         instruction.
11068         * string/Makefile (strop-tests): Add rawmemchr.
11069         * string/test-rawmemchr.c: New file.
11071         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11072         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
11073         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
11074         when compiling str{,n}casecmp and when AVX is available.  Hook up
11075         new optimized code in initializers.
11077 2011-10-19  Andreas Schwab  <schwab@redhat.com>
11079         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11080         __feraiseexcept instead of feraiseexcept.
11082 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
11084         * math/math_private.h: Define defaults for libc_fetestexcept and
11085         libc_feupdateenv.
11086         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11087         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11088         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11089         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11090         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11091         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11092         libc_fetestexcept and libc_feupdateenv.
11094         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11095         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11096         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11097         * sysdeps/x86_64/fpu/math_private.h: Define special version of
11098         libc_feholdexcept_setround.
11100         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11101         Add s_nearbyint-c and s_nearbyintf-c.
11102         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11103         nearbyintf inlines.
11104         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11105         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11106         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11107         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11109         * math/math_private.h: Define defaults for libc_fegetround,
11110         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11111         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11112         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11113         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11114         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11115         standard functions.
11116         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11117         Remove comments and hacks for old compiler versions.
11118         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11119         libc_fegetround, libc_fesetround, libc_feholdexcept, and
11120         libc_feholdexceptl.
11122 2011-10-18  Andreas Schwab  <schwab@redhat.com>
11124         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11125         (__feraiseexcept_renamed): Add __NTH.
11126         (feraiseexcept): Add __NTH.  Rename local variables to fix
11127         namespace violations.
11129 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
11131         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11133         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11135         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11136         recently added interfaces.
11137         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11139         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11140         about macro parameter expansion.
11142         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11143         __NO_MATH_INLINES is defined.  Cleanups.
11145         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11146         and __floorf is target has SSE4.1.
11147         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11148         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11149         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11150         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11152         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11153         name.
11154         (floorf): Likewise.
11156         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11158 2011-10-17  Andreas Schwab  <schwab@redhat.com>
11160         * misc/sys/cdefs.h: Fix last change.
11162         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11163         database lookup.
11165 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
11167         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11169         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11170         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11171         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11172         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11173         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11174         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11175         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11176         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11177         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11178         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11179         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11180         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11181         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11182         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11183         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11184         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11185         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11186         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11187         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11188         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11189         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11190         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11192         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11193         ceil, ceilf, floor, floorf.
11195         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11196         Perform IRELATIVE relocations last.
11198         * elf/do-rel.h: Add another parameter nrelative, replacing the
11199         local variable with the same name.  Change name of the function
11200         to end in Rel or Rela (uppercase).
11201         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11202         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
11203         elf_dynamic_do_##reloc function.
11205 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11207         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11208         is sufficient, at least on modern CPUs.
11210         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11212         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11213         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11215         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11216         __expl_finite.
11217         * math/bits/math-finite.h: Add entries for exp.
11218         * math/e_expl.c: Add __*_finite alias.
11219         * sysdeps/i386/fpu/e_exp.S: Likewise.
11220         * sysdeps/i386/fpu/e_expf.S: Likewise.
11221         * sysdeps/i386/fpu/e_expl.c: Likewise.
11222         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11223         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11224         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11225         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11226         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11227         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11228         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11230         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11231         is sufficient, at least on modern CPUs.
11233         * ctype/ctype-info.c (__ctype_init): Define.
11234         * include/ctype.h (__ctype_init): Declare.
11235         (__ctype_b_loc): The variable is always initialized.
11236         (__ctype_toupper_loc): Likewise.
11237         (__ctype_tolower_loc): Likewise.
11238         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11239         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11241 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
11243         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11245         * configure.in: Also look in $cxxmachine/include for C++ system
11246         headers.
11248 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11250         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11251         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11252         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11253         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
11254         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11255         (USE_AS_WMEMCMP): New macro.
11256         Fixing indents.
11257         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11258         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11259         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11260         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11262         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11263         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11264         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11265         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11266         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11267         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11268         (USE_AS_WMEMCMP): New macro.
11269         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11270         * sysdeps/string/test-memcmp.c: Update.
11271         Fix simple_wmemcmp.
11272         Add new tests.
11273         * wcsmbs/wmemcmp.c: Update.
11274         (WMEMCMP): New macro.
11275         Fix overflow bug.
11277 2011-10-12  Andreas Jaeger  <aj@suse.de>
11279         [BZ #13268]
11280         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11282 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
11284         * libio/iofwide.c (do_length): Avoid warning.
11286         * ctype/ctype.h (__isctype_f): Add missing __THROW.
11288 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
11290         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11292         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11293         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11294         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11295         * sysdeps/i386/i686/fpu/e_log.S: New file.
11296         * sysdeps/i386/i686/fpu/e_logf.S: New file.
11297         * sysdeps/i386/i686/fpu/e_logl.S: New file.
11299         * ctype/ctype.h: Add support for inlined isXXX functions when
11300         compiling C++ code.
11302 2011-10-14  Andreas Schwab  <schwab@redhat.com>
11304         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11306         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11308 2011-10-13  Roland McGrath  <roland@hack.frob.com>
11310         [BZ #13291]
11311         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11313 2011-10-13  Andreas Schwab  <schwab@redhat.com>
11315         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11316         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11317         feraiseexcept.
11319         * sysdeps/x86_64/memrchr.S: Check for zero size.
11321         * string/stratcliff.c: Add memrchr tests.
11323 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11325         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11326         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11327         rawmemchr-sse2 rawmemchr-sse2-bsf.
11328         * sysdeps/i386/i686/multiarch/memchr.S: New file.
11329         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11330         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11331         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11332         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11333         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11334         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11335         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11336         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11337         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11338         * string/memrchr.c (MEMRCHR): New macro.
11340 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
11342         Add integration with gcc's -ffinite-math-only and optimize wrapper
11343         functions in libm.
11344         * Versions.def: Define GLIBC_2.15 version for libm.
11345         * math/Makefile (headers): Add bits/math-finite.h.
11346         * math/bits/math-finite.h: New file.
11347         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11348         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11349         * math/e_acoshl.c: Add __*_finite alias.
11350         * math/e_acosl.c: Likewise.
11351         * math/e_asinl.c: Likewise.
11352         * math/e_atan2l.c: Likewise.
11353         * math/e_atanhl.c: Likewise.
11354         * math/e_coshl.c: Likewise.
11355         * math/e_exp10.c: Likewise.
11356         * math/e_exp10f.c: Likewise.
11357         * math/e_exp10l.c: Likewise.
11358         * math/e_exp2l.c: Likewise.
11359         * math/e_fmodl.c: Likewise.
11360         * math/e_gammal_r.c: Likewise.
11361         * math/e_hypotl.c: Likewise.
11362         * math/e_j0l.c: Likewise.
11363         * math/e_j1l.c: Likewise.
11364         * math/e_jnl.c: Likewise.
11365         * math/e_lgammal_r.c: Likewise.
11366         * math/e_log10l.c: Likewise.
11367         * math/e_log2l.c: Likewise.
11368         * math/e_logl.c: Likewise.
11369         * math/e_powl.c: Likewise.
11370         * math/e_sinhl.c: Likewise.
11371         * math/e_sqrtl.c: Likewise.
11372         * math/e_scalb.c: Completely rewritten and optimized.
11373         * math/e_scalbf.c: Likewise.
11374         * math/e_scalbl.c: Likewise.
11375         * math/w_acos.c: Likewise.
11376         * math/w_acosf.c: Likewise.
11377         * math/w_acosl.c: Likewise.
11378         * math/w_acosh.c: Likewise.
11379         * math/w_acoshf.c: Likewise.
11380         * math/w_acoshl.c: Likewise.
11381         * math/w_asin.c: Likewise.
11382         * math/w_asinf.c: Likewise.
11383         * math/w_asinl.c: Likewise.
11384         * math/w_atan2.c: Likewise.
11385         * math/w_atan2f.c: Likewise.
11386         * math/w_atan2l.c: Likewise.
11387         * math/w_atanh.c: Likewise.
11388         * math/w_atanhf.c: Likewise.
11389         * math/w_atanhl.c: Likewise.
11390         * math/w_exp10.c: Likewise.
11391         * math/w_exp10f.c: Likewise.
11392         * math/w_exp10l.c: Likewise.
11393         * math/w_fmod.c: Likewise.
11394         * math/w_fmodf.c: Likewise.
11395         * math/w_fmodl.c: Likewise.
11396         * math/w_j0.c: Likewise.
11397         * math/w_j0f.c: Likewise.
11398         * math/w_j0l.c: Likewise.
11399         * math/w_j1.c: Likewise.
11400         * math/w_j1f.c: Likewise.
11401         * math/w_j1l.c: Likewise.
11402         * math/w_jn.c: Likewise.
11403         * math/w_jnf.c: Likewise.
11404         * math/w_log.c: Likewise.
11405         * math/w_logf.c: Likewise.
11406         * math/w_logl.c: Likewise.
11407         * math/w_log10.c: Likewise.
11408         * math/w_log10f.c: Likewise.
11409         * math/w_log10l.c: Likewise.
11410         * math/w_log2.c: Likewise.
11411         * math/w_log2f.c: Likewise.
11412         * math/w_log2l.c: Likewise.
11413         * math/w_pow.c: Likewise.
11414         * math/w_powf.c: Likewise.
11415         * math/w_powl.c: Likewise.
11416         * math/w_remainder.c: Likewise.
11417         * math/w_remainderf.c: Likewise.
11418         * math/w_remainderl.c: Likewise.
11419         * math/w_scalb.c: Likewise.
11420         * math/w_scalbf.c: Likewise.
11421         * math/w_scalbl.c: Likewise.
11422         * math/w_sqrt.c: Likewise.
11423         * math/w_sqrtf.c: Likewise.
11424         * math/w_sqrtl.c: Likewise.
11425         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11426         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
11427         used.
11428         * math/math_private.h: Declare __kernel_standard_f.
11429         * math/w_cosh.c: Remove cruft and optimize a bit.
11430         * math/w_coshf.c: Likewise.
11431         * math/w_coshl.c: Likewise.
11432         * math/w_exp2.c: Likewise.
11433         * math/w_exp2f.c: Likewise.
11434         * math/w_exp2l.c: Likewise.
11435         * math/w_hypot.c: Likewise.
11436         * math/w_hypotf.c: Likewise.
11437         * math/w_hypotl.c: Likewise.
11438         * math/w_lgamma.c: Likewise.
11439         * math/w_lgamma_r.c: Likewise.
11440         * math/w_lgammaf.c: Likewise.
11441         * math/w_lgammaf_r.c: Likewise.
11442         * math/w_lgammal.c: Likewise.
11443         * math/w_lgammal_r.c: Likewise.
11444         * math/w_sinh.c: Likewise.
11445         * math/w_sinhf.c: Likewise.
11446         * math/w_sinhl.c: Likewise.
11447         * math/w_tgamma.c: Likewise.
11448         * math/w_tgammaf.c: Likewise.
11449         * math/w_tgammal.c: Likewise.
11450         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11451         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11452         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11453         Minor optimizations.  Pretty printing.  Remove cruft.
11454         * sysdeps/i386/fpu/e_acosf.S: Likewise.
11455         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11456         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11457         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11458         * sysdeps/i386/fpu/e_acosl.c: Likewise.
11459         * sysdeps/i386/fpu/e_asin.S: Likewise.
11460         * sysdeps/i386/fpu/e_asinf.S: Likewise.
11461         * sysdeps/i386/fpu/e_atan2.S: Likewise.
11462         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11463         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11464         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11465         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11466         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11467         * sysdeps/i386/fpu/e_exp10.S: Likewise.
11468         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11469         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11470         * sysdeps/i386/fpu/e_exp2.S: Likewise.
11471         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11472         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11473         * sysdeps/i386/fpu/e_fmod.S: Likewise.
11474         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11475         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11476         * sysdeps/i386/fpu/e_hypot.S: Likewise.
11477         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11478         * sysdeps/i386/fpu/e_log.S: Likewise.
11479         * sysdeps/i386/fpu/e_log10.S: Likewise.
11480         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11481         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11482         * sysdeps/i386/fpu/e_log2.S: Likewise.
11483         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11484         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11485         * sysdeps/i386/fpu/e_logf.S: Likewise.
11486         * sysdeps/i386/fpu/e_logl.S: Likewise.
11487         * sysdeps/i386/fpu/e_pow.S: Likewise.
11488         * sysdeps/i386/fpu/e_powf.S: Likewise.
11489         * sysdeps/i386/fpu/e_powl.S: Likewise.
11490         * sysdeps/i386/fpu/e_remainder.S: Likewise.
11491         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11492         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11493         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11494         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11495         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11496         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11497         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11498         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11499         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11500         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11502         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11503         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11504         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11505         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11506         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11507         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11508         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11509         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11510         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11511         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11512         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11513         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11515         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11516         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11517         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11518         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11519         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11520         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11521         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11522         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11523         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11524         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11525         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11526         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11527         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11528         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11529         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11530         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11531         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11532         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11533         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11534         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11535         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11536         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11537         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11538         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11539         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11540         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11543         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11549         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11551         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11555         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11556         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11559         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11561         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11570         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11571         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11576         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11577         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11578         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11579         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11580         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11581         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11582         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11583         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11584         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11585         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11586         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11587         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11588         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11589         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11590         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11591         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11592         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11593         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11594         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11595         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11596         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11597         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11598         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11599         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11600         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11601         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11602         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11603         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11604         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11605         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11606         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11607         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11608         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11609         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
11610         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11611         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11612         (__isnanf): Likewise.
11613         (__isinf_ns): Likewise.
11614         (__isinf_nsf): Likewise.
11615         (__finite): Likewise.
11616         (__finitef): Likewise.
11617         (__ieee754_sqrt): Define as macro.
11618         (__ieee754_sqrtf): Define as macro.
11619         (__ieee754_sqrtl): Define as macro.
11620         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11621         inlined copy.
11622         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11623         __FINITE_MATH_ONLY__ consistent.
11624         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11626 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
11628         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11629         of rawmemchr.
11631         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11633 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
11635         * po/ja.po: Update from translation team.
11637 2011-10-08  Roland McGrath  <roland@hack.frob.com>
11639         * locale/programs/locarchive.c (prepare_address_space): New function.
11640         (create_archive, enlarge_archive, open_archive): Use it.
11642         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11643         inside [SHARED], where it is used.
11645         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11647         * nss/getent.c (netgroup_keys): Remove unused variable.
11648         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11650 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
11652         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11653         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11655         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11656         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11657         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11658         * math/Makefile (libm-calls): Add s_isinf_ns.
11659         * math/divtc3.c: Use __isinf_nsl instead of isinf.
11660         * math/multc3.c: Likewise.
11661         * math/s_casin.c: Likewise.
11662         * math/s_casinf.c: Likewise.
11663         * math/s_casinl.c: Likewise.
11664         * math/s_ccos.c: Likewise.
11665         * math/s_ccosf.c: Likewise.
11666         * math/s_ccosl.c: Likewise.
11667         * math/s_ctan.c: Likewise.
11668         * math/s_ctanf.c: Likewise.
11669         * math/s_ctanh.c: Likewise.
11670         * math/s_ctanhf.c: Likewise.
11671         * math/s_ctanhl.c: Likewise.
11672         * math/s_ctanl.c: Likewise.
11673         * math/w_fmod.c: Likewise.
11674         * math/w_fmodf.c: Likewise.
11675         * math/w_fmodl.c: Likewise.
11676         * math/w_remainder.c: Likewise.
11677         * math/w_remainderf.c: Likewise.
11678         * math/w_remainderl.c: Likewise.
11679         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11680         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11681         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11682         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11683         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11684         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11685         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11686         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11688         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11689         of the number.
11690         * stdio-common/printf_fphex.c: Likewise.
11691         * stdio-common/printf_size.c: Likewise.
11693         * math/e_exp10.c: Include math_private.h using <...> not "...".
11694         * math/e_exp10f.c: Likewise.
11695         * math/e_exp10l.c: Likewise.
11696         * math/e_exp2l.c: Likewise.
11697         * math/e_j0l.c: Likewise.
11698         * math/e_j1l.c: Likewise.
11699         * math/e_jnl.c: Likewise.
11700         * math/e_lgammal_r.c: Likewise.
11701         * math/e_rem_pio2l.c: Likewise.
11702         * math/e_scalb.c: Likewise.
11703         * math/e_scalbf.c: Likewise.
11704         * math/e_scalbl.c: Likewise.
11705         * math/k_cosl.c: Likewise.
11706         * math/k_sinl.c: Likewise.
11707         * math/k_tanl.c: Likewise.
11708         * math/s_cacoshf.c: Likewise.
11709         * math/s_catan.c: Likewise.
11710         * math/s_catanf.c: Likewise.
11711         * math/s_catanh.c: Likewise.
11712         * math/s_catanhf.c: Likewise.
11713         * math/s_catanhl.c: Likewise.
11714         * math/s_catanl.c: Likewise.
11715         * math/s_ccosh.c: Likewise.
11716         * math/s_ccoshf.c: Likewise.
11717         * math/s_ccoshl.c: Likewise.
11718         * math/s_cexp.c: Likewise.
11719         * math/s_cexpf.c: Likewise.
11720         * math/s_cexpl.c: Likewise.
11721         * math/s_clog.c: Likewise.
11722         * math/s_clog10.c: Likewise.
11723         * math/s_clog10f.c: Likewise.
11724         * math/s_clog10l.c: Likewise.
11725         * math/s_clogf.c: Likewise.
11726         * math/s_clogl.c: Likewise.
11727         * math/s_csin.c: Likewise.
11728         * math/s_csinf.c: Likewise.
11729         * math/s_csinh.c: Likewise.
11730         * math/s_csinhf.c: Likewise.
11731         * math/s_csinhl.c: Likewise.
11732         * math/s_csinl.c: Likewise.
11733         * math/s_csqrt.c: Likewise.
11734         * math/s_csqrtf.c: Likewise.
11735         * math/s_csqrtl.c: Likewise.
11736         * math/s_ctan.c: Likewise.
11737         * math/s_ctanf.c: Likewise.
11738         * math/s_ctanh.c: Likewise.
11739         * math/s_ctanhf.c: Likewise.
11740         * math/s_ctanhl.c: Likewise.
11741         * math/s_ctanl.c: Likewise.
11742         * math/s_ldexp.c: Likewise.
11743         * math/s_ldexpf.c: Likewise.
11744         * math/s_ldexpl.c: Likewise.
11745         * math/s_significand.c: Likewise.
11746         * math/s_significandf.c: Likewise.
11747         * math/s_significandl.c: Likewise.
11748         * math/w_acos.c: Likewise.
11749         * math/w_acosf.c: Likewise.
11750         * math/w_acosh.c: Likewise.
11751         * math/w_acoshf.c: Likewise.
11752         * math/w_acoshl.c: Likewise.
11753         * math/w_acosl.c: Likewise.
11754         * math/w_asin.c: Likewise.
11755         * math/w_asinf.c: Likewise.
11756         * math/w_asinl.c: Likewise.
11757         * math/w_atan2.c: Likewise.
11758         * math/w_atan2f.c: Likewise.
11759         * math/w_atan2l.c: Likewise.
11760         * math/w_atanh.c: Likewise.
11761         * math/w_atanhf.c: Likewise.
11762         * math/w_atanhl.c: Likewise.
11763         * math/w_cosh.c: Likewise.
11764         * math/w_coshf.c: Likewise.
11765         * math/w_coshl.c: Likewise.
11766         * math/w_dremf.c: Likewise.
11767         * math/w_exp10.c: Likewise.
11768         * math/w_exp10f.c: Likewise.
11769         * math/w_exp10l.c: Likewise.
11770         * math/w_exp2.c: Likewise.
11771         * math/w_exp2f.c: Likewise.
11772         * math/w_fmod.c: Likewise.
11773         * math/w_fmodf.c: Likewise.
11774         * math/w_fmodl.c: Likewise.
11775         * math/w_hypot.c: Likewise.
11776         * math/w_hypotf.c: Likewise.
11777         * math/w_hypotl.c: Likewise.
11778         * math/w_j0.c: Likewise.
11779         * math/w_j0f.c: Likewise.
11780         * math/w_j0l.c: Likewise.
11781         * math/w_j1.c: Likewise.
11782         * math/w_j1f.c: Likewise.
11783         * math/w_j1l.c: Likewise.
11784         * math/w_jn.c: Likewise.
11785         * math/w_jnf.c: Likewise.
11786         * math/w_jnl.c: Likewise.
11787         * math/w_lgamma.c: Likewise.
11788         * math/w_lgamma_r.c: Likewise.
11789         * math/w_lgammaf.c: Likewise.
11790         * math/w_lgammaf_r.c: Likewise.
11791         * math/w_lgammal.c: Likewise.
11792         * math/w_lgammal_r.c: Likewise.
11793         * math/w_log.c: Likewise.
11794         * math/w_log10.c: Likewise.
11795         * math/w_log10f.c: Likewise.
11796         * math/w_log10l.c: Likewise.
11797         * math/w_log2.c: Likewise.
11798         * math/w_log2f.c: Likewise.
11799         * math/w_log2l.c: Likewise.
11800         * math/w_logf.c: Likewise.
11801         * math/w_logl.c: Likewise.
11802         * math/w_pow.c: Likewise.
11803         * math/w_powf.c: Likewise.
11804         * math/w_powl.c: Likewise.
11805         * math/w_remainder.c: Likewise.
11806         * math/w_remainderf.c: Likewise.
11807         * math/w_remainderl.c: Likewise.
11808         * math/w_scalb.c: Likewise.
11809         * math/w_scalbf.c: Likewise.
11810         * math/w_scalbl.c: Likewise.
11811         * math/w_sinh.c: Likewise.
11812         * math/w_sinhf.c: Likewise.
11813         * math/w_sinhl.c: Likewise.
11814         * math/w_sqrt.c: Likewise.
11815         * math/w_sqrtf.c: Likewise.
11816         * math/w_sqrtl.c: Likewise.
11817         * math/w_tgamma.c: Likewise.
11818         * math/w_tgammaf.c: Likewise.
11819         * math/w_tgammal.c: Likewise.
11821         * po/ja.po: Update from translation team.
11823 2011-09-29  Andreas Jaeger  <aj@suse.de>
11825         [BZ #13179]
11826         * sunrpc/netname.c (netname2host): Fix logic.
11828         [BZ #6779]
11829         [BZ #6783]
11830         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11831         correctly.
11832         * math/w_remainder.c (__remainder): Likewise.
11833         * math/w_remainderf.c (__remainderf): Likewise.
11834         * math/libm-test.inc (remainder_test): Add test cases.
11836 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11838         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
11839         sdiv_qrnnd.
11841 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11843         * string/test-memcmp.c: Avoid unncessary #defines.
11844         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11846 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11848         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11849         Use new sse2 version for core i3 - i7 as it's faster
11850         than sse42 version.
11851         (bit_Prefer_PMINUB_for_stringop): New.
11852         * sysdeps/x86_64/rawmemchr.S: Update.
11853         Replace with faster SSE2 version.
11854         * sysdeps/x86_64/memrchr.S: New file.
11855         * sysdeps/x86_64/memchr.S: Update.
11856         Replace with faster SSE2 version.
11858 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
11860         * elf/dl-load.c (lose): Add cast to avoid warning.
11862 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11864         * po/ca.po: Update from translation team.
11866         * inet/getnetgrent_r.c: Hook up nscd.
11867         * nscd/Makefile (routines): Add nscd_netgroup.
11868         (nscd-modules): Add netgroupcache.
11869         (CFLAGS-netgroupcache.c): Define.
11870         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11871         (cache_search): Add const to second parameter.
11872         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11873         INNETGR.
11874         (dbs): Add netgrdb entry.
11875         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11876         (verify_persistent_db): Handle netgrdb.
11877         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11878         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11879         GETFDNETGR.
11880         (netgroup_response_header): Define.
11881         (innetgroup_response_header): Define.
11882         (datahead): Add netgroup_response_header and innetgroup_response_header
11883         elements.
11884         * nscd/nscd.conf: Add entries for netgroup cache.
11885         * nscd/nscd.h (dbtype): Add netgrdb.
11886         (_PATH_NSCD_NETGROUP_DB): Define.
11887         (netgroup_iov_disabled): Declare.
11888         (xmalloc, xcalloc, xrealloc): Move declarations here.
11889         (cache_search): Adjust prototype.
11890         Add netgroup-related prototypes.
11891         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11892         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11893         (__nscd_innetgr): Declare.
11894         * nscd/selinux.c (perms): Use access_vector_t as element type and
11895         add netgroup-related initializers.
11896         * nscd/netgroupcache.c: New file.
11897         * nscd/nscd_netgroup.c: New file.
11898         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11899         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11900         For four parameters use innetgr.
11901         * nss/nss_files/files-init.c: Add definition and callback for netgr.
11902         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11903         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11904         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11906         * nscd/connections.c (register_traced_file): Don't register file
11907         for disabled databases.
11909 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
11911         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11913         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11914         from tree and freeing node.
11916 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
11918         * nss/nsswitch.c (__nss_database_lookup): Handle
11919         nss_parse_service_list out of memory case.
11921 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
11923         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11924         out of memory case.
11926 2011-10-04  Andreas Schwab  <schwab@redhat.com>
11928         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11929         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11930         pass it down.
11931         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11932         elf_machine_rela, elf_machine_lazy_rel.
11933         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11934         (ELF_DYNAMIC_DO_REL): Likewise.
11935         (ELF_DYNAMIC_DO_RELA): Likewise.
11936         (ELF_DYNAMIC_RELOCATE): Likewise.
11937         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11938         to ELF_DYNAMIC_DO_REL.
11939         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11940         (dl_main): In trace mode always set __RTLD_NOIFUNC.
11941         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11942         elf_machine_rela.
11943         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11944         skip_ifunc, don't call ifunc function if non-zero.
11945         (elf_machine_rela): Likewise.
11946         (elf_machine_lazy_rel): Likewise.
11947         (elf_machine_lazy_rela): Likewise.
11948         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11949         (elf_machine_lazy_rel): Likewise.
11950         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11951         Likewise.
11952         (elf_machine_lazy_rel): Likewise.
11953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11954         Likewise.
11955         (elf_machine_lazy_rel): Likewise.
11956         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11957         (elf_machine_lazy_rel): Likewise.
11958         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11959         (elf_machine_lazy_rel): Likewise.
11960         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11961         (elf_machine_lazy_rel): Likewise.
11962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11963         (elf_machine_lazy_rel): Likewise.
11964         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11965         (elf_machine_lazy_rel): Likewise.
11966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11967         (elf_machine_lazy_rel): Likewise.
11969 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
11971         * nss/nss_files/files-init.c (_nss_files_init): Use static
11972         initialization for all the *_traced_file variables.
11974 2011-09-28  Andreas Schwab  <schwab@redhat.com>
11976         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11978 2011-09-27  Roland McGrath  <roland@hack.frob.com>
11980         [BZ #13226]
11981         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11983 2011-09-27  Andreas Schwab  <schwab@redhat.com>
11985         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11986         Reread the line before reparsing it.
11988 2011-09-26  Andreas Schwab  <schwab@redhat.com>
11990         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11992 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
11993             Maxim Kuvyrkov  <maxim@codesourcery.com>
11994             Joseph Myers  <joseph@codesourcery.com>
11996         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11997         if needed for __stack_chk_guard.
11999 2011-09-19  Roland McGrath  <roland@hack.frob.com>
12001         * sysdeps/posix/spawni.c (script_execute): Always define it.
12002         It will be optimized away if unused.
12003         (maybe_script_execute): New function.
12004         (__spawni): Call it.
12006         * Makerules: Don't include tls.make.
12007         (config-tls): Always set to thread.
12008         * tls.make.c: File removed.
12010 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
12012         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12013         * config.make.in (CPPFLAGS-config): New substituted variable.
12015 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12017         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12019         [BZ #13192]
12020         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12021         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12023 2011-09-15  Roland McGrath  <roland@hack.frob.com>
12025         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12026         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12027         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12028         (CALL_FAIL): Likewise.
12029         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12030         (CALL_FAIL): Macro removed.
12031         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12033 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12035         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12036         for __FINITE_MATH_ONLY__ == 1.
12038 2011-09-15  Andreas Schwab  <schwab@redhat.com>
12040         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12041         __ieee754_sqrt instead of sqrt.
12042         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12043         __ieee754_sqrtf instead of sqrtf.
12044         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12045         __floorf instead of floorf.
12046         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12047         __floorf, __truncf instead of floorf, truncf.
12049 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
12051         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12053         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12054         __extern_always_inline.
12055         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12056         32-bit.
12058 2011-09-14  Andreas Schwab  <schwab@redhat.com>
12060         * elf/rtld.c (dl_main): Also relocate in dependency order when
12061         doing symbol dependency testing.
12063 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
12065         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12066         Always define `refsym'.
12068 2011-09-13  Andreas Schwab  <schwab@redhat.com>
12070         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12071         (__FD_ELT): Renamed from __FDELT.
12072         * misc/bits/select2.h (__FD_ELT): Likewise.
12073         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12074         __FD_MASK instead of __FDELT, __FDMASK.
12075         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12076         Likewise.
12077         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12078         Likewise.
12080         * elf/Makefile (gen-ldd): Fix pattern.
12082         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12083         (init_tls): Likewise.
12085 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
12087         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12089 2011-09-12  Andreas Schwab  <schwab@redhat.com>
12091         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12092         `struct cmsghdr *' instead of `void *'.
12093         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12094         Likewise.
12096 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12098         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12099         if non-absolute.
12100         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12101         ldd_rewrite_script.
12103 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
12105         * configure.in: Remove --with-tls option.
12106         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12107         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12108         out in case it is missing.
12109         * sysdeps/ia64/elf/configure.in: Likewise.
12110         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12111         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12112         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12113         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12114         * sysdeps/sh/elf/configure.in: Likewise.
12115         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12116         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12117         * sysdeps/x86_64/elf/configure.in: Likewise.
12118         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12119         * sysdeps/mach/hurd/tls.h: Likewise.
12121         [BZ #13067]
12122         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12124         [BZ #13090]
12125         * configure.in: Fix use of AC_INIT.
12127         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12129 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
12131         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12132         __set_errno.
12133         * malloc/hooks.c: Likewise.
12135         [BZ #11929]
12136         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
12137         variables statically.
12138         (narenas): Initialize.
12139         (list_lock): Initialize.
12140         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
12141         initializtion of main_arena and list_lock.  Small cleanups.
12142         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12143         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
12144         Add initializers to main_arena and mp_.
12145         (malloc_state): Remove pagesize member.  Change all users to use
12146         GLRO(dl_pagesize).
12148         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12149         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
12150         is always initialized.
12152         * malloc/malloc.c: Removed unused configurations and dead code.
12153         * malloc/arena.c: Likewise.
12154         * malloc/hooks.c: Likewise.
12155         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12157         * include/tls.h: Removed.  USE___THREAD must always be defined.
12158         * bits/libc-tsd.h: Don't handle !USE___THREAD.
12159         * elf/dl-libc.c: Likewise.
12160         * elf/dl-tsd.c: Likewise.
12161         * include/errno.h: Likewise.
12162         * include/netdb.h: Likewise.
12163         * include/resolv.h: Likewise.
12164         * inet/herrno-loc.c: Likewise.
12165         * inet/herrno.c: Likewise.
12166         * malloc/arena.c: Likewise.
12167         * malloc/hooks.c: Likewise.
12168         * malloc/malloc.c: Likewise.
12169         * resolv/res-state.c: Likewise.
12170         * resolv/res_libc.c: Likewise.
12171         * sysdeps/i386/dl-machine.h: Likewise.
12172         * sysdeps/ia64/dl-machine.h: Likewise.
12173         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12174         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12175         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12176         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12177         * sysdeps/sh/dl-machine.h: Likewise.
12178         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12179         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12180         * sysdeps/unix/i386/sysdep.S: Likewise.
12181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12182         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12184         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12187         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12191         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12192         * sysdeps/x86_64/dl-machine.h: Likewise.
12193         * tls.make.c: Likewise.
12195         * configure.in: Remove --with-__thread option.  Make tests for
12196         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12197         tls_model attribute fail if no support is available.  Remove
12198         USE_IN_LIBIO.
12199         * Makeconfig: Adjust for dropped configure option.  All features are
12200         now mandatory.
12201         * Makerules: Likewise.
12202         * Versions.def: Likewise.
12203         * argp/argp-fmtstream.c: Likewise.
12204         * argp/argp-fmtstream.h: Likewise.
12205         * argp/argp-help.c: Likewise.
12206         * assert/assert.c: Likewise.
12207         * config.h.in: Likewise.
12208         * config.make.in: Likewise.
12209         * configure: Likewise.
12210         * configure.in: Likewise.
12211         * csu/Versions: Likewise.
12212         * csu/init.c: Likewise.
12213         * elf/tst-audit2.c: Likewise.
12214         * elf/tst-tls10.c: Likewise.
12215         * elf/tst-tls10.h: Likewise.
12216         * elf/tst-tls11.c: Likewise.
12217         * elf/tst-tls12.c: Likewise.
12218         * elf/tst-tls14.c: Likewise.
12219         * elf/tst-tlsmod11.c: Likewise.
12220         * elf/tst-tlsmod12.c: Likewise.
12221         * elf/tst-tlsmod13.c: Likewise.
12222         * elf/tst-tlsmod13a.c: Likewise.
12223         * elf/tst-tlsmod14a.c: Likewise.
12224         * elf/tst-tlsmod15b.c: Likewise.
12225         * elf/tst-tlsmod16a.c: Likewise.
12226         * elf/tst-tlsmod16b.c: Likewise.
12227         * elf/tst-tlsmod7.c: Likewise.
12228         * elf/tst-tlsmod8.c: Likewise.
12229         * elf/tst-tlsmod9.c: Likewise.
12230         * gmon/gmon.c: Likewise.
12231         * grp/fgetgrent_r.c: Likewise.
12232         * grp/putgrent.c: Likewise.
12233         * hurd/fopenport.c: Likewise.
12234         * include/libc-symbols.h: Likewise.
12235         * include/tls.h: Likewise.
12236         * intl/gettextP.h: Likewise.
12237         * intl/loadinfo.h: Likewise.
12238         * locale/global-locale.c: Likewise.
12239         * locale/localeinfo.h: Likewise.
12240         * mach/devstream.c: Likewise.
12241         * malloc/arena.c: Likewise.
12242         * malloc/set-freeres.c: Likewise.
12243         * misc/err.c: Likewise.
12244         * misc/getttyent.c: Likewise.
12245         * misc/mntent_r.c: Likewise.
12246         * posix/getopt.c: Likewise.
12247         * posix/wordexp.c: Likewise.
12248         * pwd/fgetpwent_r.c: Likewise.
12249         * resolv/Versions: Likewise.
12250         * resolv/res_hconf.c: Likewise.
12251         * shadow/fgetspent_r.c: Likewise.
12252         * shadow/putspent.c: Likewise.
12253         * stdio-common/printf_fphex.c: Likewise.
12254         * stdio-common/tmpfile.c: Likewise.
12255         * stdlib/abort.c: Likewise.
12256         * stdlib/fmtmsg.c: Likewise.
12257         * sunrpc/auth_unix.c: Likewise.
12258         * sunrpc/clnt_perr.c: Likewise.
12259         * sunrpc/clnt_tcp.c: Likewise.
12260         * sunrpc/clnt_udp.c: Likewise.
12261         * sunrpc/clnt_unix.c: Likewise.
12262         * sunrpc/openchild.c: Likewise.
12263         * sunrpc/svc_simple.c: Likewise.
12264         * sunrpc/svc_tcp.c: Likewise.
12265         * sunrpc/svc_udp.c: Likewise.
12266         * sunrpc/svc_unix.c: Likewise.
12267         * sunrpc/xdr.c: Likewise.
12268         * sunrpc/xdr_array.c: Likewise.
12269         * sunrpc/xdr_rec.c: Likewise.
12270         * sunrpc/xdr_ref.c: Likewise.
12271         * sunrpc/xdr_stdio.c: Likewise.
12273 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12275         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12277 2011-07-03  Andreas Jaeger  <aj@suse.de>
12279         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12280         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12281         regenerate with gen-libm-tests.pl.
12283 2010-05-12  Petr Baudis  <pasky@suse.cz>
12285         [BZ #11589]
12286         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12287         around j0() zero points by switching to j1().
12288         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12289         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12291         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12293 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12295         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12296         instead of 0.
12297         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12298         instead of 0.                              .
12299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12300         Patch in part by Pavel Roskin <proski@gnu.org>.
12302         [BZ #13138]
12303         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12304         realloc.
12305         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
12306         Free memory block if necessary.
12308         [BZ #12847]
12309         * libio/genops.c (INTDEF): For string streams the _lock pointer can
12310         be NULL.  Don't lock in this case.
12312 2011-09-09  Roland McGrath  <roland@hack.frob.com>
12314         * elf/elf.h (ELFOSABI_GNU): New macro.
12315         (ELFOSABI_LINUX): Define to that.
12317 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
12319         * string/strncat.c (strncat): Undef the symbol in case it has been
12320         defined in bits/string.h.
12322 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
12324         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12326         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12327         link map.
12329 2011-08-17  Andreas Jaeger  <aj@suse.de>
12331         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12333 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12334             Ian Lance Taylor  <iant@google.com>
12336         * math/libm-test.inc (lround_test): New testcase.
12337         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12339 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
12341         * Makefile: Remove support for automatic cvs check-ins.
12342         * Makerules: Likewise.
12343         * config.make.in: Likewise.
12344         * configure.in: Likewise.
12345         * intl/Makefile: Likewise.
12346         * locale/Makefile: Likewise.
12347         * po/Makefile: Likewise.
12348         * posix/Makefile: Likewise.
12349         * sysdeps/gnu/Makefile: Likewise.
12350         * sysdeps/mach/hurd/Makefile: Likewise.
12351         * sysdeps/sparc/sparc32/Makefile: Likewise.
12353         [BZ #13118]
12354         * posix/Makefile (bug-regex32-ENV): Define.
12355         Patch by John Stanley <jpsinthemix@verizon.net>.
12357         * misc/Makefile (headers): Add bits/select2.h.
12358         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12359         * misc/bits/select2.h: New file.
12360         * include/bits/select2.h: New file.
12361         * debug/Makefile (routines): Add fdelt_chk.
12362         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12363         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12364         FD_ISSET.
12365         * debug/fdelt_chk.c: New file.
12367         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
12368         * wcsmbs/test-wmemcmp.c: Likewise.
12369         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12370         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12372 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12374         * string/Makefile (strop-tests): Add memcmp.
12375         * string/test-wmemcmp.c: New file.
12376         * string/test-memcmp.c: Add wmemcmp support.
12378 2011-09-08  Roland McGrath  <roland@hack.frob.com>
12380         [BZ #13153]
12381         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12382         2011-07-19 change.
12384         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12385         garbage value in a __mach_port_mod_refs call in the cases of the
12386         task-self and thread-self ports.
12388 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12390         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12392 2011-09-08  Andreas Schwab  <schwab@redhat.com>
12394         * elf/dl-load.c (lose): Check for non-null L.
12396 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12398         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12400         * elf/dl-libc.c (dlerror_run): Pass back error code from
12401         dl_catch_error.
12403         [BZ #13123]
12404         * elf/dl-load.c (lose): Free l_origin if it is valid.
12406         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12407         names.
12408         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12409         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12410         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12411         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12412         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12413         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12415 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12417         * sysdeps/powerpc/fpu/e_hypot.c: New file.
12418         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12419         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12420         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12421         * sysdeps/powerpc/fpu/k_cosf.c: New file.
12422         * sysdeps/powerpc/fpu/k_sinf.c: New file.
12423         * sysdeps/powerpc/fpu/s_cosf.c: New file.
12424         * sysdeps/powerpc/fpu/s_sinf.c: New file.
12425         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12426         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12428 2011-08-15  Alan Modra  <amodra@gmail.com>
12430         [BZ #13092]
12431         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12432         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12433         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
12434         ppc_mcount to static-only-routines.
12435         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12436         __mcount_internal.
12437         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12438         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
12440 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
12442         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12443         for finite and infinity parameters.
12445 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12447         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12448         and add nop instructions for throughput optimization.
12449         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12451 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
12453         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12454         aligned copy for power7 with vector-scalar instructions.
12455         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12457 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
12459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12460         AVX check.
12462 2011-09-07  Andreas Schwab  <schwab@redhat.com>
12464         [BZ #13144]
12465         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12466         last change.
12468 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12470         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12471         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12472         syscall wrapper around clock_gettime in __vdso_clock_gettime.
12473         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12474         clock_gettime.
12476 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12478         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12479         Forgot to demangle the pointer.
12481         * sysdeps/i386/sysdep.h: Define atom_text_section.
12482         * sysdeps/x86_64/sysdep.h: Likewise.
12483         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12484         section with atom_text_section.
12485         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12486         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12487         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12488         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12489         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12491         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12492         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12493         already be defined.  Change to take two parameters and don't assign
12494         result to variable.  Adjust all users.
12495         Define INTERNAL_GETTIME if not already defined.
12496         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12497         call.
12498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12499         HAVE_CLOCK_GETTIME_VSYSCALL.
12500         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12502         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12503         gettimeofday vsyscall, just use time.
12505 2011-09-06  Andreas Schwab  <schwab@redhat.com>
12507         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12508         <errno.h>.
12510 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12512         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12513         syscall on x86-64.
12514         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12515         syscall.
12516         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12517         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12518         syscall if possible.
12520 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12522         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12523         e_ident.  Don't pass to find_mapsXX.
12524         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12526 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12529         strchr-sse2-no-bsf strrchr-sse2-no-bsf
12530         * sysdeps/x86_64/multiarch/strchr.S: Update.
12531         Check bit_slow_BSF bit.
12532         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12533         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12534         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12536 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12538         [BZ #13134]
12539         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12540         before glibc 2.15.
12541         (tryshell): Define.
12542         (__spawni): Change last parameter to be flag.  Test
12543         SPAWN_XFLAGS_USE_PATH flag to use path or not.
12544         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12545         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12546         * posix/spawni.c: Likewise.
12547         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12548         * posix/spawnp.c: Likewise.  Change normal version to use
12549         SPAWN_XFLAGS_USE_PATH.
12550         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12551         SPAWN_XFLAGS_TRY_SHELL.
12553         [BZ #13150]
12554         * posix/glob.h: Remove gcc 1.x support.
12556         [BZ #13068]
12557         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12559 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12561         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12562         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12563         strrchr-sse2-bsf
12564         * sysdeps/i386/i686/multiarch/strchr.S: New file.
12565         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12566         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12567         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12568         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12569         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12571 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12573         * sysdeps/x86_64/wcscmp.S: New file.
12575         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12576         wcscmp-c wcscmp-sse2
12577         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12578         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12579         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12580         * wcsmbs/wcscmp.c: Allow renaming.
12582 2011-09-05  David S. Miller  <davem@davemloft.net>
12584         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12585         stack slot, rather than the struct return pointer slot.
12586         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12587         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12589         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12591 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12593         * po/ja.po: Update from translation team.
12595         [BZ #13144]
12596         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12597         kernel in 64-bit binaries.
12599 2011-09-01  David S. Miller  <davem@davemloft.net>
12601         * elf/elf.h (HWCAP_SPARC_*): Move to..
12602         * sysdeps/sparc/sysdep.h: this new file and add new values.
12603         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12604         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12605         _DL_HWCAP_COUNT to 24.
12606         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12607         entries.
12608         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12609         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12610         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12612         instead of magic constants.
12613         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12615 2011-08-31  David S. Miller  <davem@davemloft.net>
12617         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12619         Reimplement to do errno handling inline.
12620         (SYSCALL_ERROR_HANDLER): New macro.
12621         (__SYSCALL_STRING): Do not do errno handling in asm.
12622         (__CLONE_SYSCALL_STRING): Delete.
12623         (__INTERNAL_SYSCALL_STRING): Delete.
12624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12625         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12626         (PSEUDO): Reimplement to do errno handling inline.
12627         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12628         (SYSCALL_ERROR_HANDLER): New macro.
12629         (__SYSCALL_STRING): Do not do errno handling in asm.
12630         (__CLONE_SYSCALL_STRING): Delete.
12631         (__INTERNAL_SYSCALL_STRING): Delete.
12632         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12633         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12634         i386.
12635         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12636         (inline_syscall*): Add 'err' argument.
12637         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12638         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12639         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12640         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12642         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12643         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12645 2011-08-30  Andreas Schwab  <schwab@redhat.com>
12647         * elf/rtld.c (dl_main): Relocate objects in dependency order.
12649 2011-08-29  Jiri Olsa <jolsa@redhat.com>
12651         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12652         directive.
12654 2011-08-24  David S. Miller  <davem@davemloft.net>
12656         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12658 2011-08-24  Andreas Schwab  <schwab@redhat.com>
12660         * elf/Makefile: Add rules to build and run unload8 test.
12661         * elf/unload8.c: New file.
12662         * elf/unload8mod1.c: New file.
12663         * elf/unload8mod1x.c: New file.
12664         * elf/unload8mod2.c: New file.
12665         * elf/unload8mod3.c: New file.
12667         * elf/dl-close.c (_dl_close_worker): Reset private search list if
12668         it wasn't used.
12670 2011-08-23  David S. Miller  <davem@davemloft.net>
12672         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12673         subtract stack bias.
12674         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12675         %sp not %fp in calculations.
12676         (_JMPBUF_UNWINDS_ADJ): Likewise.
12678         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12679         (aio_suspend): Call it to force an exception region around the
12680         AIO_MISC_WAIT() invocation.
12682 2011-08-23  Andreas Schwab  <schwab@redhat.com>
12684         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12685         backslash.
12687 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
12689         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12690         protection macro.
12691         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12692         and <dl-machine.h>.
12693         (Elf64_FuncDesc): Remove.
12695 2011-08-22  David S. Miller  <davem@davemloft.net>
12697         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12698         sigaltstack check, add missing cfi directives.
12699         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12700         missing cfi directives, and sigaltstack handling.
12702 2011-08-16  Andreas Schwab  <schwab@redhat.com>
12704         [BZ #11724]
12705         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12706         object is seen twice.
12707         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12709         * elf/Makefile (distribute): Add tst-initorder2.c.
12710         (tests): Add tst-initorder2.
12711         (modules-names): Add tst-initorder2a tst-initorder2b
12712         tst-initorder2c tst-initorder2d.  Add rules to build them.
12713         ($(objpfx)tst-initorder2.out): New rule.
12714         * elf/tst-initorder2.c: New file.
12715         * elf/tst-initorder2.exp: New file.
12717 2011-08-22  Andreas Schwab  <schwab@redhat.com>
12719         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12721         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12722         dependencies back to end of function.
12724         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12725         $(elfobjdir)/ld.so.
12727 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
12729         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12730         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12731         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12732         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12733         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12734         of __vdso_gettimeofday.
12735         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12736         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
12737         attribute_hidden.
12738         (_libc_vdso_platform_setup): Remove initialization of
12739         __vdso_gettimeofday and __vdso_time.
12741 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
12743         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12744         and fgetc_unlocked.
12745         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12746         getc_unlocked.
12748         * elf/dl-open.c (add_to_global): Report additions to the global scope
12749         for LD_DEBUG=scopes.
12750         (dl_open_worker): Also print scope of newly loaded dependencies.
12751         (_dl_show_scope): Indicate if there is no scope.
12753         [BZ #13114]
12754         * stdio-common/Makefile (tests): Add bug24.
12755         * stdio-common/bug24.c: New file.
12757 2011-08-19  Andreas Jaeger  <aj@suse.de>
12759         [BZ #13114]
12760         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12761         non-existant file when using close-on-exec mode.
12763 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
12765         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12766         the very first instruction.
12768         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12769         the CFI state in the end.
12770         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12771         inclusion of dl-trampoline.h.
12772         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12774 2011-08-19  Andreas Schwab  <schwab@redhat.com>
12776         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12777         expectations for long double.
12779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12780         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12782 2011-08-14  David S. Miller  <davem@davemloft.net>
12784         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12785         artificual limit depends upon the system page size.
12787 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
12789         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12790         * resolv/Makefile: Define CFLAGS-libresolv.
12792 2011-08-17  Andreas Schwab  <schwab@redhat.com>
12794         * nss/makedb.c (compute_tables): Make variables used in nested
12795         function static.
12797 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
12799         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12800         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12801         if buffer was too small.
12803         * elf/pldd.c (main): Attach to all threads in the process.
12804         Rewrite /proc handling to use *at functions.
12806 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
12808         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12809         specifies first scope to show.
12810         (dl_open_worker): Update callers.  Move printing scope of new
12811         object to before the relocation.
12812         * elf/rtld.c (dl_main): Update _dl_show_scope call.
12813         * sysdeps/generic/ldsodefs.h: Update declaration.
12815         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12816         string for the scope number.
12818 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
12820         * nscd/servicescache.c (cache_addserv): Make sure written is always
12821         initialized.
12823 2011-08-14  Roland McGrath  <roland@hack.frob.com>
12825         * sysdeps/i386/i486/bits/atomic.h
12826         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12827         statement expression, so as to suppress "set but not used" warning.
12828         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12830         * string/strncat.c (STRNCAT): Use prototype definition.
12832         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12833         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12834         -Iprograms here.
12835         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12836         (localedef-modules): Add localedef.
12837         (locale-modules): Add locale.
12839         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12840         * elf/rtld.c (dl_main): Invert order of assignment in last change,
12841         to avoid a warning.
12843 2011-08-14  David S. Miller  <davem@davemloft.net>
12845         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12846         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12848 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
12850         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12851         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12852         * elf/rtld.c (dl_main): Set l_name of vDSO.
12853         Call _dl_show_scope when DL_DEBUG_SCOPES.
12854         (process_dl_debug): Recognize scopes flag and also set it for all.
12855         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12856         Declare _dl_show_scope.
12858         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12859         (do_dlopen): Pass caller_dlopen to dl_open.
12860         (__libc_dlopen_mode): Initialize caller_dlopen.
12862         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12863         of libc.  Make tolower call locale-independent.  Optimize a bit by
12864         using isdigit instead of isalnum.
12865         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12867 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
12869         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12870         was a dependency or dynamically loaded.
12872 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
12874         * intl/l10nflist.c: Allow architecture-specific pop function.
12875         * sysdeps/x86_64/l10nflist.c: New file.
12877         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12878         classification.
12880 2011-08-10  Andreas Schwab  <schwab@redhat.com>
12882         * include/dirent.h: Add libc_hidden_proto for scandirat and
12883         scandirat64.  Don't declare __scandirat64.
12884         * dirent/scandirat.c: Add libc_hidden_def.
12885         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12886         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12888 2011-08-10  David S. Miller  <davem@davemloft.net>
12890         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12891         enum.
12892         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12893         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12894         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12896 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
12898         * Versions.def [libc]: Add GLIBC_2.15.
12899         * dirent/Makefile (routines): Add scandirat and scandirat64.
12900         * dirent/Versions [libc]: Export scandirat and scandirat64 for
12901         GLIBC_2.15.
12902         * dirent/dirent.h: Declare scandirat and scandirat64.
12903         * dirent/scandirat.c: New file.
12904         * dirent/scandirat64.c: New file.
12905         * sysdeps/wordsize-64/scandirat.c: New file.
12906         * sysdeps/wordsize-64/scandirat64.c: New file.
12907         * dirent/opendir.c: Define opendirat.
12908         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
12909         using scandirat.
12910         * dirent/scandir64.c: Adjust for scandir.c change.
12911         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
12912         __scandirat64, and __scandir_cancel_handler.
12913         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
12914         additional parameter and use openat instead of open (outside of ld.so).
12915         Add new __opendir as wrapper around __opendirat.
12916         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12917         here without requiring old scandirat implementation.
12919 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
12921         * dirent/scandir.c (cancel_handler): Renamed to
12922         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
12923         defined.  Adjust users.
12924         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12925         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12927 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
12929         * string/test-string.h (IMPL): Use __STRING to expand name and then
12930         stringify it.
12932         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
12933         of cleanups.
12935 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12937         * string/Makefile: Update.
12938         (strop-tests): Append strncat.
12939         * string/test-wcscmp.c: New file.
12940         New comprehensive test for wcscmp.
12941         * string/test-strcmp.c: Update.
12942         (WIDE): New define.
12944 2011-07-22  Andreas Schwab  <schwab@redhat.com>
12946         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12947         line.
12949 2011-07-26  Andreas Schwab  <schwab@redhat.com>
12951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12952         encoding to ACE if AI_IDN.
12954 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
12956         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12957         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12959 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12961         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12962         Fix overflow bug in strncat.
12963         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12965         * string/test-strncat.c: Update.
12966         Add new tests for checking overflow bugs.
12968 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12971         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12972         * sysdeps/i386/i686/multiarch/strcat.S: New file.
12973         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12975         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12976         * sysdeps/i386/i686/multiarch/strncat.S: New file.
12977         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12978         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12980         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12981         (USE_AS_STRCAT): Define.
12982         Add strcat and strncat support.
12983         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12985 2011-07-25  Andreas Schwab  <schwab@redhat.com>
12987         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12988         __n bigger than INT_MAX+1.
12989         (__strncmp_g): Likewise.
12991 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
12993         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12994         * libio/stido.h: Likewise.
12996         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12997         (AF_NFC): Define.
12998         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12999         (AF_NFC): Define.
13001         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13002         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13003         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13004         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13007         [BZ #13021]
13008         * scripts/test-installation.pl: Don't expect libnss_test1 to be
13009         installed.
13011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13012         typo.
13013         (_dl_x86_64_save_sse): Likewise.
13015 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
13017         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13018         OSXSAVE.
13019         (_dl_x86_64_save_sse): Likewise.
13021         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13023         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13025 2011-07-21  Andreas Schwab  <schwab@redhat.com>
13027         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13028         change.
13029         (_dl_x86_64_save_sse): Use correct AVX check.
13031 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13033         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13034         bug in strncpy/strncat.
13035         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13037 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
13039         * string/tester.c (test_strcat): Add tests for different alignments
13040         of source and destination.
13041         (test_strncat): Likewise.
13043 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13045         [BZ #12852]
13046         * posix/glob.c (glob): Check passed in values before using them in
13047         expressions to avoid some overflows.
13048         (glob_in_dir): Likewise.
13050         [BZ #13007]
13051         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13052         check for AVX enablement so that we don't crash with old kernels and
13053         new hardware.
13054         * elf/tst-audit4.c: Add same checks here.
13055         * elf/tst-audit6.c: Likewise.
13057         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13059 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
13061         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13063 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13065         * po/cs.po: Update from translation team.
13066         * po/bg.po: Likewise.
13068 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
13070         * misc/sys/cdefs.h: Add support for const attribute.
13071         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13072         to gnu_dev_{major,minor,makedev} functions.
13074 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
13076         * intl/dcigettext.c (get_output_charset): Add missing bracket.
13078 2011-07-20  Andreas Schwab  <schwab@redhat.com>
13080         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13081         strlen results.
13083 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13086         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13087         register in order to avoid conflicts with the soft frame pointer
13088         being held in r11 when necessary.
13089         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13090         (INTERNAL_VSYSCALL_NCS): Likewise.
13092 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
13094         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13095         * elf/dl-fini.c (_dl_fini): Adjust caller.
13096         * elf/dl-close.c (_dl_close_worker): Likewise.
13097         * sysdeps/generic/ldsodefs.h: Adjust declaration.
13099 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13101         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13102         "aux_cache->nlibs < 0".
13104         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13105         in the reload-count case.
13107 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13110         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13111         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13112         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13113         * sysdeps/x86_64/multiarch/strcat.S: New file.
13114         * sysdeps/x86_64/multiarch/strncat.S: New file.
13115         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13116         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13117         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13118         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13119         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13120         (USE_AS_STRCAT): Define.
13121         Add strcat and strncat support.
13122         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13123         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13124         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13125         * string/strncat.c: Update.
13126         (USE_AS_STRNCAT): Define.
13127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13128         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13129         and i7.
13130         * sysdeps/x86_64/multiarch/init-arch.h
13131         (bit_Prefer_PMINUB_for_stringop): New.
13132         (index_Prefer_PMINUB_for_stringop): Likewise.
13133         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13134         bit_Prefer_PMINUB_for_stringop.
13136 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13138         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13139         buffer64.
13140         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13141         of casting of buffer.
13142         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13143         buffer32 and buffer64.
13144         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13145         writes instead of casting of buffer.
13146         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13147         buffer32.
13148         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13149         casting of buffer.
13151 2011-07-19  Andreas Schwab  <schwab@redhat.com>
13153         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13155 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
13157         * nscd/nscd.c (termination_handler): Don't do anything for a database
13158         if it has not yet been initialized.
13160 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13162         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13164 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
13166         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13168 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
13170         * po/nl.po: Update from translation team.
13171         * po/sv.po: Likewise.
13173 2011-07-16  Roland McGrath  <roland@hack.frob.com>
13175         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13176         now disallowed by GCC.
13178         * configure.in (use-default-link): Default to yes if a test -shared
13179         link meets our qualifications.
13180         * configure: Regenerated.
13182         * config.make.in (output-format): New variable.
13183         * configure.in: Check for ld --print-output-format support.
13184         * configure: Regenerated.
13185         * Makerules ($(common-objpfx)format.lds)
13186         [$(output-format) != unknown]: Just use $(output-format),
13187         instead of the linker-script munging.
13189 2011-07-14  Roland McGrath  <roland@hack.frob.com>
13191         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13192         of $(common-objpfx)shlib.lds.
13193         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13195         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13196         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13198         * configure.in (-z relro check): Adjust test code to add a large
13199         writable data section after it.
13200         * configure: Regenerated.
13202 2011-07-11  Roland McGrath  <roland@hack.frob.com>
13204         * configure.in (-z relro check): Fix test code to make the variable
13205         truly const.
13206         * configure: Regenerated.
13208 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
13210         * nscd/nscd.h (struct traced_file): Define.
13211         (struct database_dyn): Remove inotify_descr, reset_res, and filename
13212         elements.  Add traced_files.
13213         (inotify_fd): Declare.
13214         (register_traced_file): Declare.
13215         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13216         (inotify_fd): Export.
13217         (resolv_conf_descr): Remove.
13218         (nscd_init): Move inotify descriptor creation to main.
13219         Don't register files for notification here.
13220         (register_traced_file): New function.
13221         (invalidate_cache): Don't use reset_res to determine whether to call
13222         res_init, go through the list of registered files.
13223         (main_loop_poll): The inotify descriptors are now stored in the
13224         structures for the traced files.
13225         (main_loop_epoll): Likewise
13226         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
13227         to __nss_disable_nscd.
13228         * nscd/cache.c (prune_cache): There is no single inotify descriptor
13229         for a database anymore.  Check the records for all the registered
13230         files instead.
13231         * nss/Makefile (libnss_files-routines): Add files-init.
13232         (libnss_db-routines): Add db-init.
13233         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13234         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13235         * nss/nss_db/db-init.c: New file.
13236         * nss/nss_files/files-init.c: New file.
13237         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
13238         __nss_lookup_function.
13239         (__nss_lookup_function): Call nss_load_library.
13240         (nss_load_all_libraries): New function.
13241         (__nss_disable_nscd): Take parameter with callback function for files
13242         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
13243         used for the cached services.
13244         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13245         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13246         options for features to all the files in nscd.
13248         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13250 2011-07-10  Roland McGrath  <roland@hack.frob.com>
13252         * csu/elf-init.c (__libc_csu_init): Comment typo.
13254 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
13256         * po/pl.po: Update from translation team.
13257         * po/ja.po: Likewise.
13258         * po/ru.po: Likewise.
13259         * po/ko.po: Likewise.
13260         * po/fr.po: Likewise.
13262 2011-07-09  Roland McGrath  <roland@hack.frob.com>
13264         * configure.in (.ctors/.dtors header and trailer check):
13265         Use an empirical test on a built program.
13266         * configure: Regenerated.
13268         * configure.in (-z relro check): Use an empirical test on a built DSO.
13269         Detect, but do not require, on ia64.
13270         * configure: Regenerated.
13272         * configure.in (READELF): Find it with AC_CHECK_TOOL.
13273         Update tests that use readelf to use $READELF instead.
13274         * configure: Regenerated.
13276 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
13278         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13279         if the result is not used.
13281 2011-07-05  Andreas Jaeger  <aj@suse.de>
13283         [BZ#9696]
13284         * stdlib/tst-strtod.c: Add testcase.
13286 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
13288         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13289         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13290         The latter has a higher limit.  Take additional parameter to pass to
13291         the new function.
13292         (__pathconf): Pass file to __statfs_link_max.
13293         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13294         __statfs_link_max.
13295         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13296         __statfs_link_max.
13298         [BZ #12868]
13299         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13300         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13301         Handle Lustre.
13302         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13303         (__statfs_filesize_max): Likewise.
13304         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13306 2011-07-05  Andreas Jaeger  <aj@suse.de>
13308         * resolv/res_comp.c (dn_skipname): Remove unused variable.
13310 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
13312         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13313         `status' variable.
13314         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13315         Likewise.
13317 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13319         * Makefile (strop-tests): Add strncat.
13320         * string/test-strncat.c: New file.
13322 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
13324         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13326 2011-06-21  Andreas Jaeger  <aj@suse.de>
13328         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13329         Copy rule from iconvdata/Makefile.
13331 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13333         [BZ #12922]
13334         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13335         but no long options are defined, just return 'W'.
13337 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
13339         [BZ #9696]
13340         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13342 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
13344         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13345         netgroups to read.
13346         (innetgr): Likewise.
13348 2011-07-05  Roland McGrath  <roland@hack.frob.com>
13350         * config.make.in (install_root): Default to $(DESTDIR).
13352 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
13354         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13356 2011-07-02  Roland McGrath  <roland@hack.frob.com>
13358         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13360         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13361         containing directory rather than embedding absolute directory names.
13363         * scripts/check-local-headers.sh: Rewritten using awk.
13364         Match by word, not by line.  Print error messages for matches.
13365         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13367         * Makerules [shlib-lds-flags empty]:
13368         ($(common-objpfx)libc_pic.opts): New target.
13369         ($(common-objpfx)libc_pic.os.clean): New target.
13370         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13372         * config.make.in (OBJCOPY): New variable.
13373         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13374         * configure: Regenerated.
13376         * config.make.in (use-default-link): New variable.
13377         * configure.in (use_default_link): Grok --with-default-link to set it.
13378         * configure: Regenerated.
13379         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13380         (shlib-lds, shlib-lds-flags): Define to empty.
13382         * Makerules (shlib-lds): New variable.
13383         (shlib-lds-flags): New variable.
13384         (build-shlib, build-moduile, build-module-asneeded): Use it.
13385         ($(common-objpfx)libc.so): Use $(shlib-lds).
13386         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13387         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13389         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13390         DT_FLAGS/DT_FLAGS_1 with zero flags.
13392         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13393         linker script munging.
13395 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
13397         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13398         as 128-bit value.
13399         * crypt/sha512.c (sha512_process_block): Perform total addition using
13400         128-bit if possible.
13401         (__sha512_finish_ctx): Likewise.
13402         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13403         as 64-bit value.
13404         * crypt/sha256.c (SWAP64): Define.
13405         (sha256_process_block): Perform total addition using 64-bit if
13406         possible.
13407         (__sha256_finish_ctx): Likewise.
13409 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
13411         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
13412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13413         * nscd/hstcache.c (cache_addhst): Likewise.
13414         * nscd/grpcache.c (cache_addgr): Likewise.
13415         * nscd/aicache.c (addhstaiX): Likewise
13416         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13418 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
13420         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13421         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13422         * nscd/hstcache.c (cache_addhst): Likewise.
13423         * nscd/grpcache.c (cache_addgr): Likewise.
13424         * nscd/aicache.c (addhstaiX): Likewise
13426 2011-07-01  Andreas Schwab  <schwab@redhat.com>
13428         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13429         domain only when needed.
13431 2011-06-30  Andreas Schwab  <schwab@redhat.com>
13433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13434         is always restored.
13436 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
13438         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13439         are re-adding the entry.
13440         * nscd/servicescache.c (cache_addserv): Likewise.
13442 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13444         * sysdeps/generic/dl-irel.h: fix protection against multiple
13445         inclusions.
13446         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13448 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
13450         [BZ #12935]
13451         * malloc/memusage.sh: Fix quoting in message.
13452         * debug/xtrace.sh: Likewise.
13454         * configure.in: Remove support for --experimental-malloc option, make
13455         it the default.
13456         * config.make.in: Likewise.
13457         * malloc/Makefile: Likewise.
13459 2011-06-27  Andreas Schwab  <schwab@redhat.com>
13461         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13462         two-byte characters.
13464 2011-06-27  Roland McGrath  <roland@hack.frob.com>
13466         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13467         AC_CACHE_CHECK invocation.
13468         * configure: Regenerated.
13470         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13472 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
13474         [BZ #12350]
13475         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
13476         bit from old_res_options.
13478         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13480         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13481         value type for setfct.
13483 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
13485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13486         __gettimeofday instead of gettimeofday.
13488 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
13490         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13492 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13494         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13496         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13497         info.
13499 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13502         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13503         strcpy-sse2-unaligned strncpy-sse2-unaligned
13504         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13505         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13506         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13507         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13508         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13509         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13510         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13511         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13512         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13513         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13514         (STRCPY): Support SSE2 and SSSE3 versions.
13516 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
13518         [BZ #12874]
13519         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13520         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13521         kernels which artificially limit size of requests.
13523 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13526         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13527         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13528         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13529         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13530         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13531         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13532         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13533         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13534         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13535         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13536         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13537         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13538         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13539         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13541         Enable unaligned load optimization for Intel Core i3, i5 and i7
13542         processors.
13543         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13544         Define.
13545         (index_Fast_Unaligned_Load): Define.
13546         (HAS_FAST_UNALIGNED_LOAD): Define.
13548 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
13550         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13552 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13554         [BZ #12907]
13555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13556         until it is clear that the information is realy needed.
13557         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13559 2011-06-22  Andreas Schwab  <schwab@redhat.com>
13561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13563 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13565         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13566         /sys/devices/system/cpu/online if it is usable.
13568         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13569         reading the information from the /proc filesystem to once a second.
13571 2011-06-21  Andreas Jaeger  <aj@suse.de>
13573         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13574         NULL after inclusion of kernel headers.
13576 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
13578         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13579         calls to internal_setent.
13581         [BZ #12885]
13582         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13583         addresses using gethostbyname4_r ignore IPv4 addresses.
13585         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13586         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
13588         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13590 2011-06-20  David S. Miller  <davem@davemloft.net>
13592         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13593         inclusions.
13594         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13596         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13597         (elf_irel): Use it.
13598         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13599         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13600         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13601         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13602         * sysdeps/x86_64/dl-irel.h: Likewise.
13604         * elf/dl-runtime.c: Use elf_ifunc_invoke.
13605         * elf/dl-sym.c: Likewise.
13607 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13609         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
13610         need to dereference resplen2.
13612 2011-06-14  Andreas Schwab  <schwab@redhat.com>
13614         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13616 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13618         * Makeconfig: Define vardbdir and inst_vardbdir.
13619         * nss/Makefile: Add rules to install db-Makefile.
13621         * nss/nss_db/db-XXX.c: Cleanup.
13623         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13624         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13625         GLIBC_PRIVATE.
13626         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13627         * nss/makedb.c: Implement -g option to specify that value strings
13628         are generated and should not be added to table iterated over for
13629         get*ent calls.
13630         * nss/nss_db/db-initgroups.c: New file.
13632         * nss/getent.c: Add support for initgroups lookups through getgrouplist
13633         interface.
13635         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13636         (internal_getgrouplist): Adjust to name change.
13637         Update use_initgroups_entry if this is not the first call.
13638         * nss/databases.def: Add initgroups entry.
13640         * nss/makedb.c (compute_tables): Check result of multiple hash table
13641         sizes to minimize maximum chain length.
13643 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
13645         * Versions.def: Add entry for libnss_db.
13646         * shlib-versions: Likewise.
13647         * nss/Makefile: Add rules to build libnss_db.
13648         * nss/Versions: Add libnss_db information.  Organize libnss_files
13649         entries better.
13650         * nss/db-Makefile: Add gshadow support.  Change rules for the new
13651         makedb progra.  Some minor improvements to generate smaller files.
13652         * nss/nss_db/nss_db.h: Move NSS database header data structures to
13653         here from...
13654         * nss/makedb.c: ...here.
13655         Improve database format to be smaller and require less memory at
13656         runtime.
13657         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
13658         db anymore.
13659         * nss/nss_db/db-netgrp.c: Likewise.
13660         * nss/nss_db/db-open.c: Likewise.
13661         * nss/nss_files/flies-XXX.x: Adjust comments.
13662         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13663         * nss/nss_files/files-grp.c: Likewise.
13664         * nss/nss_files/files-hosts.c: Likewise.
13665         * nss/nss_files/files-network.c: Likewise.
13666         * nss/nss_files/files-proto.c: Likewise.
13667         * nss/nss_files/files-pwd.c: Likewise.
13668         * nss/nss_files/files-rpc.c: Likewise.
13669         * nss/nss_files/files-service.c: Likewise.
13670         * nss/nss_files/files-sgrp.c: Likewise.
13671         * nss/nss_files/files-spwd.c: Likewise.
13672         * nss/nss_db/db-alias.c: Removed.
13673         * nss/nss_db/dummy-db.h: Removed.
13675 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
13677         * nss/makedb.c: Rewritten to not use database library.
13678         * nss/Makefile: Update to build new makedb program.
13680 2011-06-14  Andreas Jaeger  <aj@suse.de>
13682         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13683         memset declaration.
13685 2011-06-10  Andreas Schwab  <schwab@redhat.com>
13687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13688         tmpbuf.
13690 2011-06-10  Roland McGrath  <roland@hack.frob.com>
13692         * Makerules (shlib.lds): Fail if the linker script comes out empty.
13693         * elf/Makefile ($(objpfx)ld.so): Likewise.
13695         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13696         Don't list ld.so twice in dependencies.
13698         * posix/bug-regex31.c: Include <stdlib.h>.
13700         * nscd/hstcache.c (cache_addhst): Remove unused variable.
13702         * nis/nss_compat/compat-spwd.c
13703         (getspent_next_nss_netgr): Remove unused variable.
13704         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13706         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13707         nonmembers" output to use the right array.
13709         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13711         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13713         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13714         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13715         * catgets/gencat.c (read_input_file): Likewise.
13716         * locale/programs/locarchive.c (enlarge_archive): Likewise.
13718         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13719         variable definition inside #if's controlling its use.
13721         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13723         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13725         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13727         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13728         unreachable code.
13730         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13732         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13733         * configure: Regenerated.
13735         * Makerules: Revert last change.
13736         * elf/Makefile: Likewise.
13738 2011-06-09  Roland McGrath  <roland@hack.frob.com>
13740         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13741         * elf/Makefile ($(objpfx)librtld.os): Likewise.
13742         (reloc-link): Likewise.
13744 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
13746         * elf/Makefile: Add rules to build pldd.
13747         * elf/pldd.c: New file.
13748         * elf/pldd-xx.c: New file.
13750 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
13752         * version.h: Update for 2.15 development version.
13754 2011-06-07  David S. Miller  <davem@davemloft.net>
13756         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13757         ifuncs.
13758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13759         elf_machine_lazy_rel): Likewise.
13760         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13761         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13762         elf_machine_lazy_rel): Likewise.
13763         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13764         dl_hwcap via passed in argument.
13765         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13766         Likewise.
13768 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13770         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
13772 2011-06-06  Roland McGrath  <roland@hack.frob.com>
13774         [BZ #12849]
13775         * manual/fdl-1.1.texi: New file, verbatim from:
13776         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13777         * manual/lgpl-2.1.texi: New file, verbatim from:
13778         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13779         * manual/Makefile (licenses): New variable, list those new file names.
13780         (texis): Use it.
13781         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13783         * manual/fdl.texi: File removed.
13784         * manual/lesser.texi: File removed.
13785         * manual/libc.texinfo (Copying, Documentation License):
13786         Use new @include file names, put @appendix directive before @include.
13788 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
13790         [BZ #12841]
13791         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13792         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13793         (mq_open): Add __NTH.
13795 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
13797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13798         Assume Intel Core i3/i5/i7 processor if AVX is available.
13800 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13802         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13803         typo.
13805 2011-05-31  Andreas Schwab  <schwab@redhat.com>
13807         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13808         memory.  Use alloca_account.  Fix memory leak when retrying.
13810 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13812         * version.h (RELEASE): Bump for 2.14 release.
13813         * include/features.h (__GLIBC_MINOR__): Bump to 14.
13815         * config.make.in (RANLIB): Remove entry.
13817 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
13819         * po/Makefile (po-sed-cmd): Add ksh to extensions.
13820         (libc.pot): Work around missing support for .ksh extension in xgettext.
13822         [BZ #12684]
13823         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13824         if both request failed.
13825         (send_dg): In case of server errors clear resplen or *resplen2.
13827         [BZ #12454]
13828         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13829         when there are multiple maps.
13830         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13831         (_dl_fini): Remove test here.
13833         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13835 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
13837         [BZ #12350]
13838         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13839         bit from old_res_options.
13840         (gaih_inet): Likewise.
13842         [BZ #11099]
13843         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13844         as signed.
13846         * resolv/res_init.c (res_setoptions): Make the code more compact.
13848         [BZ #11558]
13849         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13850         set RES_USEVC.
13852         [BZ #11634]
13853         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13855         * malloc/malloc.h: Mark malloc hook variables as deprecated.
13857         [BZ #11781]
13858         * malloc/malloc.h: Declare malloc hook variables as volatile.
13860         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13861         in last patch.
13863         [BZ #11799]
13864         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13865         raise in the comment.
13866         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13868         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13870 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
13872         [BZ #12811]
13873         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13874         grow the buffers more if it already has to be sufficient.
13875         (build_wcs_upper_buffer): Likewise.
13876         * posix/regexec.c (check_matching): Likewise.
13877         (clean_state_log_if_needed): Likewise.
13878         (extend_buffers): Don't enlarge buffers beyond size of the input
13879         buffer.
13880         Patches mostly by Emil Wojak <emil@wojak.eu>.
13881         * posix/bug-regex32.c: New file.
13882         * posix/Makefile (tests): Add bug-regex32.
13884         * locale/findlocale.c (_nl_find_locale): Return right away if
13885         _nl_explode_name failed.
13886         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13888         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13890         * debug/xtrace.sh: Unify messages.
13891         * malloc/memusage.sh: Likewise.
13893         [BZ #12813]
13894         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13895         time symbol from vDSO.  Substitute with vsyscall if not available.
13896         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13897         __vdso_time.
13899         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13900         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13901         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13902         Add sendmmsg and internal_sendmmsg.
13903         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13904         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13905         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13907         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13908         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13909         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13911 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
13913         [BZ #12813]
13914         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13915         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
13916         available.
13917         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13918         __vdso_getcpu.
13920         [BZ #12814]
13921         * iconvdata/Makefile (tests): Add bug-iconv9.
13922         * iconvdata/bug-iconv9.c: New file.
13924 2011-05-27  Andreas Schwab  <schwab@redhat.com>
13926         [BZ #12814]
13927         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13929 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
13931         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13932         (struct user_regs_struct): Change intcs field back to cs.
13934 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
13936         * po/ja.po: Update from translation team.
13938 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
13940         [BZ #12795]
13941         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13942         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13944 2011-05-20  Andreas Schwab  <schwab@redhat.com>
13946         * stdlib/longlong.h: Update from GCC.
13948 2011-05-23  Andreas Schwab  <schwab@redhat.com>
13950         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13951         parameter name.
13952         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13953         Add parameter name.
13954         (__sysconf): Pass it down.
13956 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
13958         [BZ #12671]
13959         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13960         some situations.
13961         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13962         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13963         add in in __libc_use_alloca calls.  Adjust callers.
13964         (glob): Use malloc in some situations.
13966         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13967         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13968         pltexit.
13970 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
13972         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13973         and CLOCK_BOOTTIME_ALARM.
13975         [BZ #12782]
13976         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13977         is returned.
13979         * string/_strerror.c (__strerror_r): Print negative errors as signed
13980         numbers.
13982         [BZ #12777]
13983         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13984         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13985         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13987         * configure.in: Fix typo in redirection and correct removal of test
13988         files in two cases.
13990         [BZ #12788]
13991         * locale/setlocale.c (new_composite_name): Fix test to check for
13992         identical name of all categories.
13994         [BZ #12792]
13995         * libio/filedoalloc.c (local_isatty): New function.
13996         (_IO_file_doallocate): Use local_isatty.
13997         * stdio-common/perror.c (perror): In case a new stream is used
13998         forward the stream error.
13999         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14000         error flag.
14002 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
14004         [BZ #11869]
14005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14006         alloca.
14007         * include/alloca.h (extend_alloca_account): Define.
14009         [BZ #11857]
14010         * posix/regex.h: Fix comments with documentation of user-accessible
14011         fields after compilation and describe correct free'ing of pattern
14012         after re_compile_pattern.
14013         Patch by Reuben Thomas <rrt@sc3d.org>.
14015 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
14017         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14018         and -mno-altivec to prevent the compiler from using Altivec and/or
14019         VSX instructions when the corresponding registers are not available.
14021 2011-05-19  Andreas Schwab  <schwab@redhat.com>
14023         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14025 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
14027         * libio/freopen.c (freopen): Use __dup2, not dup2.
14028         * libio/freopen64.c (freopen64): Likewise.
14030 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14032         [BZ #12775]
14033         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14034         * math/Makefile (tests): Add test-powl.
14035         (CFLAGS-test-powl.c): Define.
14036         * math/test-powl.c: New file.
14038 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14040         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14042 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
14044         [BZ #11837]
14045         * iconvdata/gb18030.c: Update to GB18020-2005.
14047 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
14049         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14050         RE_SYNTAX_POSIX_AWK): Update to match recent development.
14051         Patch by Aharon Robbins <arnold@skeeve.com>.
14053         [BZ #11892]
14054         * stdlib/putenv.c (putenv): Don't always create copy of the variable
14055         on the stack.
14057         [BZ #11895]
14058         * misc/pselect.c (__pselect): Handle timeout value errors hidden
14059         through underflows.
14061         [BZ #12766]
14062         * misc/error.c (error_at_line): Ensure file_name and old_file_name
14063         point to strings before performing equality test for error_one_per_line
14064         mode.
14066         [BZ #11697]
14067         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14069         [BZ #11820]
14070         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14071         (struct user_fpregs_struct): Avoid __uint*_t types.
14073         [BZ #6420]
14074         * malloc/mtrace.c (tr_where): Add additional parameter to point to
14075         symbol info.  Use it instead of calling _dl_addr locally.
14076         (lock_and_info): New function.
14077         (tr_freehook): Call lock_and_info and pass symbol info as additional
14078         parameter to tr_where.
14079         (tr_mallochook): Likewise.
14080         (tr_reallochook): Likewise.
14081         (tr_memalignhook): Likewise.
14083         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
14084         used and couldn't be at all thread-safe.
14086 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
14088         * libio/freopen.c (freopen): Don't close old file descriptor
14089         before the new one is opened.  Instead dup the new file descriptor
14090         to the old one after the new stream is created.
14091         * libio/freopen64.c (freopen64): Likewise.
14092         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14093         * libio/fileops.c (_IO_new_file_close_it): Handle new
14094         _IO_FLAGS2_NOCLOSE flag.
14095         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14096         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14097         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14098         _IO_FLAGS2_NOCLOSE flag.
14099         * include/unistd.h: Add hidden_proto for dup3.
14100         Define __have_dup3.
14101         * io/dup3.c: Define hidden symbol.
14102         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14104         [BZ #7101]
14105         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14106         when an incomplete long option is used.
14107         * posix/tst-getopt_long1.c: New file.
14108         * posix/Makefile (tests): Add tst-getopt_long1.
14110         [BZ #10138]
14111         * scripts/config.guess: Update from autoconf-2.68.
14112         * scripts/config.sub: Likewise.
14114         [BZ #10157]
14115         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14116         tests into ...
14117         (has_cpuclock): ...this.  New function.
14118         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14119         macro here based on has_cpuclock code.
14121         [BZ #10149]
14122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14123         First byte (not low byte) is now always NUL.
14124         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14126         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14127         Use non-cancelable interfaces.
14129         [BZ #9809]
14130         * locale/iso-639.def: Add entry for Sorani.
14132         [BZ #11901]
14133         * include/stdlib.h: Move include protection to the right place.
14134         Define abort_msg_s.  Declare __abort_msg with it.
14135         * stdlib/abort.c (__abort_msg): Adjust type.
14136         * assert/assert.c (__assert_fail_base): New function.  Majority
14137         of code from __assert_fail.  Allocate memory for __abort_msg with
14138         mmap.
14139         (__assert_fail): Now call __assert_fail_base.
14140         * assert/assert-perr.c: Remove bulk of implementation.  Use
14141         __assert_fail_base.
14142         * include/assert.hL Declare __assert_fail_base.
14143         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14144         mmap.
14145         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14147 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
14149         [BZ #11952]
14150         [BZ #12453]
14151         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14152         until all modules are registered in the DTV.
14153         * elf/Makefile: Add rules to build and run tst-tls19.
14154         * elf/tst-tls19.c: New file.
14155         * elf/tst-tls19mod1.c: New file.
14156         * elf/tst-tls19mod2.c: New file.
14157         * elf/tst-tls19mod3.c: New file.
14158         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14160         [BZ #12083]
14161         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14162         correctly.
14164         [BZ #12601]
14165         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14166         two-byte sequence errors.
14167         * iconvdata/Makefile (tests): Add bug-iconv8.
14168         * iconvdata/bug-iconv8.c: New file.
14170         [BZ #12626]
14171         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14172         buf2 definition.
14174         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14176         [BZ #12432]
14177         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14178         (dummy_getcfa): New function.
14179         (init): Get _Unwind_GetCFA address, use dummy if not found.
14180         (backtrace_helper): In recursion check, also check whether CFA changes.
14181         (__backtrace): Completely initialize arg.
14183         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14184         storing incomplete byte sequence in state object.  Avoid testing for
14185         guaranteed too small input if we know there is enough data available.
14187 2011-05-11  Andreas Schwab  <schwab@redhat.com>
14189         * Makeconfig (+link-pie): Indent.
14190         * Rules (binaries-pie): Define if $(have-fpie) and
14191         $(build-shared).
14192         (binaries-shared): Also filter out $(binaries-pie).
14193         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14194         * nscd/Makefile (others-pie): Add nscd.
14195         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14196         ($(objpfx)nscd): Remove command override.
14197         * login/Makefile (others-pie): Add pt_chown.
14198         ($(objpfx)pt_chown): Remove command override.
14199         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14200         remove command overrides.
14202 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
14204         * libio/tst_putwc.c: Fix error messages.
14206         [BZ #12724]
14207         * libio/fileops.c (_IO_new_file_close_it): Always flush when
14208         currently writing and seek to current position when not.
14209         * libio/Makefile (tests): Add bug-fclose1.
14210         * libio/bug-fclose1.c: New file.
14212 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
14214         [BZ #12511]
14215         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14216         don't set DF_1_NODELETE here.
14217         (do_lookup_x): When entering new entry test for copy relocation
14218         and if necessary set DF_1_NODELETE flag.
14219         * elf/tst-unique4.cc: New file.
14220         * elf/tst-unique4.h: New file.
14221         * elf/tst-unique4lib.cc: New file.
14222         * elf/Makefile: Add rules to build and run tst-unique4.
14223         Patch by Piotr Bury <pbury@goahead.com>.
14225 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
14227         [BZ #12052]
14228         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14230         [BZ #12625]
14231         * misc/mntent_r.c (addmntent): Flush the stream after the output
14233         [BZ #12393]
14234         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14235         (is_trusted_path_normalize): Skip initial colon.  Append slash
14236         to empty buffer.  Duplicate is_trusted_path code but allow
14237         constructed patch to be prefix.
14238         (is_dst): Allow $ORIGIN followed by /.
14239         (_dl_dst_substitute): Correct clearing of check_for_trusted.
14240         Correct testing of result of is_trusted_path_normalize
14241         (decompose_rpath): Fix warning.
14243 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
14245         [BZ #11257]
14246         * grp/initgroups.c (internal_getgrouplist): When we found the service
14247         list through the initgroups entry in nsswitch.conf do not always
14248         continue on a successful lookup.  Don't always use the
14249         __nss_group_database value if it is set.
14250         * nss/nsswitch.conf (initgroups): Change action for successful db
14251         lookup to continue for compatibility.
14253 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
14255         [BZ #11532]
14256         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14257         and CP774 modules.
14258         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14259         and CP774 modules.
14260         * iconvdata/tst-tables.sh: Likewise.
14261         * iconvdata/cp770.c: New file.
14262         * iconvdata/cp771.c: New file.
14263         * iconvdata/cp772.c: New file.
14264         * iconvdata/cp773.c: New file.
14265         * iconvdata/cp774.c: New file.
14266         * iconvdata/testdata/CP770: New file.
14267         * iconvdata/testdata/CP770..UTF8: New file.
14268         * iconvdata/testdata/CP771: New file.
14269         * iconvdata/testdata/CP771..UTF8: New file.
14270         * iconvdata/testdata/CP772: New file.
14271         * iconvdata/testdata/CP772..UTF8: New file.
14272         * iconvdata/testdata/CP773: New file.
14273         * iconvdata/testdata/CP773..UTF8: New file.
14274         * iconvdata/testdata/CP774: New file.
14275         * iconvdata/testdata/CP774..UTF8: New file.
14277         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14278         END CHARMAP line.
14279         * iconvdata/gen-8bit-gap.sh: Likewise.
14280         * iconvdata/gen-8bit.sh: Likewise.
14282         * locale/iso-639.def: Add ary entry.
14284         [BZ #11258]
14285         * locale/C-translit.h.in: Add U20A1 transliteration.
14287         [BZ #12178]
14288         * locale/iso-639.def: Add wae entry.
14289         Patch by Kevin Bortis <bortis@translate-wae.ch>.
14291         [BZ #12545]
14292         * locale/programs/localedef.c (construct_output_path): Use ssize_t
14293         for n.
14295         [BZ #12711]
14296         * locale/C-translit.h.in: Add entry for U20B9.
14297         Patch by pravin.d.s@gmail.com.
14299 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
14301         [BZ #12713]
14302         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14303         ENAMETOOLONG use generic getcwd.
14304         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
14305         in rtld.  Use *stat64.
14306         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14307         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14308         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14309         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14310         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14311         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14312         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14313         __fstatat64 macros.
14314         * include/dirent.h: Add libc_hidden_proto for rewinddir.
14315         * dirent/rewinddir.c: Add libc_hidden_def.
14316         * sysdeps/mach/hurd/rewinddir.c: Likewise.
14317         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
14319         * include/dirent.h (__alloc_dir): Add flags parameter.
14320         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14321         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14322         __alloc_dir.
14323         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
14324         from fdopendir if O_CLOEXEC is already set.
14326 2011-03-15  Alan Modra  <amodra@gmail.com>
14328         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14329         l_tls_firstbyte_offset non-zero.  Save padding offset in
14330         l_tls_firstbyte_offset for later use.
14331         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14332         freeing static tls block.
14334 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
14336         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14337         where #ifdef was intended.  The intent is to prevent ARG_MAX from
14338         being defined by the kernel headers.
14340 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
14342         [BZ #12734]
14343         * resolv/resolv.h: Define RES_NOTLDQUERY.
14344         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14345         no-tld-query and set RES_NOTLDQUERY.
14346         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14347         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14348         modern BIND to search name as TLD unless forbidden.
14350 2011-05-07  Petr Baudis  <pasky@suse.cz>
14351             Ulrich Drepper  <drepper@gmail.com>
14353         [BZ #12393]
14354         * elf/dl-load.c (fillin_rpath): Move trusted path check...
14355         (is_trusted_path): ...to here.
14356         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14357         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14358         using is_trusted_path_normalize() in setuid scripts.
14360 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14362         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14363         __BEGIN/__END_DECLS.
14365 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
14367         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14368         NSS_STATUS_NOTFOUND if no record was found.
14370 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14372         * sunrpc/Makefile (headers): Add rpc/netdb.h.
14373         (headers-not-in-tirpc): Remove rpc/netdb.h
14374         * resolv/netdb.h: Revert last change.
14376 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14378         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14379         circular dependency between libgcc.a and libc.a.
14381 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14383         * resolv/netdb.h: Don't include <rpc/netdb.h>.
14384         * nis/Makefile: Don't install rpcsvc/*.
14385         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14386         instead of <rpc/types.h>.
14387         (MAXHOSTNAMELEN): Define.
14389 2011-05-03  Andreas Schwab  <schwab@redhat.com>
14391         * elf/ldconfig.c (add_dir): Don't crash on empty path.
14393 2011-04-28  Maciej Babinski  <mbabinski@google.com>
14395         [BZ #12714]
14396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14397         gethostbyname4_r when IPv6 results are possible.
14399 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
14401         [BZ #12723]
14402         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14403         _PC_PIPE_BUF handling.
14405 2011-04-30  Bruno Haible  <bruno@clisp.org>
14407         [BZ #12717]
14408         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14409         * resolv/netdb.h (getnameinfo): Change type of flags parameter
14410         to 'int'.
14411         * inet/getnameinfo.c (getnameinfo): Likewise.
14413 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
14415         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14416         to groups setting in database lookup.
14417         * nss/nsswitch.conf: Add initgroups entry.
14419 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
14421         [BZ #12685]
14422         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14423         mode string.
14424         Patch by Eric Blake <eblake@redhat.com>.
14426 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
14428         * sunrpc/Makefile (need-export-routines): Add svc_run.
14429         (routines): Remove svc_run.
14430         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14431         * sunrpc/clnt_perr.c (clnt_perrno): Export.
14432         * sunrpc/svc_run.c (svc_run): Likewise.
14433         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14435 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
14437         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14438         problem in reallocation in last patch.
14440 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
14442         * sunrpc/Makefile: Move inclusion of Rules.
14444 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14446         * nss/nss_files/files-initgroups.c: New file.
14447         * nss/Makefile (libnss_files-routines): Add files-initgroups.
14448         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14449         _nss_files_initgroups_dyn.
14451 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
14453         * elf/elf.h (R_ARM_IRELATIVE): Define.
14455 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14457         * po/ru.po: Update from translation team.
14459 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14461         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14462         dependencies.
14464 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
14466         [BZ #12653]
14467         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14468         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14470         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14471         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14473 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
14475         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14476         differing bytes.
14477         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14478         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14481 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14483         [BZ #12420]
14484         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14485         storing it.
14486         * stdlib/bug-getcontext.c: New file.
14487         * stdlib/Makefile: Add rules to build and run bug-getcontext.
14489 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14491         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14492         instructions into .machine "z9-109".
14493         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14494         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14496 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14498         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14499         between environment variables and auxiliary vector.
14501 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
14503         * Makefile: Add rules to build linkobj/libc.so.
14504         * include/libc-symbols.h: Define libc_hidden_nolink.
14505         * include/rpc/auth.h: Mark functions which are to be hidden.
14506         * include/rpc/auth_des.h: Likewise.
14507         * include/rpc/auth_unix.h: Likewise.
14508         * include/rpc/clnt.h: Likewise.
14509         * include/rpc/des_crypt.h: Likewise.
14510         * include/rpc/key_prot.h: Likewise.
14511         * include/rpc/pmap_clnt.h: Likewise.
14512         * include/rpc/pmap_prot.h: Likewise.
14513         * include/rpc/pmap_rmt.h: Likewise.
14514         * include/rpc/rpc_msg.h: Likewise.
14515         * include/rpc/svc.h: Likewise.
14516         * include/rpc/svc_auth.h: Likewise.
14517         * include/rpc/xdr.h: Likewise.
14518         * nis/Makefile: Link all DSOs against linkobj/libc.so.
14519         * nss/Makefile: Likewise.
14520         * sunrpc/Makefile: Don't install headers.  Build library with normal
14521         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
14522         * sunrpc/auth_des.c: Hide exported symbols by default, export some
14523         for the compat linking library.  Remove use of INTDEF/INTUSE.
14524         * sunrpc/auth_none.c: Likewise.
14525         * sunrpc/auth_unix.c: Likewise.
14526         * sunrpc/authdes_prot.c: Likewise.
14527         * sunrpc/authuxprot.c: Likewise.
14528         * sunrpc/clnt_gen.c: Likewise.
14529         * sunrpc/clnt_perr.c: Likewise.
14530         * sunrpc/clnt_raw.c: Likewise.
14531         * sunrpc/clnt_simp.c: Likewise.
14532         * sunrpc/clnt_tcp.c: Likewise.
14533         * sunrpc/clnt_udp.c: Likewise.
14534         * sunrpc/clnt_unix.c: Likewise.
14535         * sunrpc/des_crypt.c: Likewise.
14536         * sunrpc/des_soft.c: Likewise.
14537         * sunrpc/get_myaddr.c: Likewise.
14538         * sunrpc/key_call.c: Likewise.
14539         * sunrpc/key_prot.c: Likewise.
14540         * sunrpc/netname.c: Likewise.
14541         * sunrpc/pm_getmaps.c: Likewise.
14542         * sunrpc/pm_getport.c: Likewise.
14543         * sunrpc/pmap_clnt.c: Likewise.
14544         * sunrpc/pmap_prot.c: Likewise.
14545         * sunrpc/pmap_prot2.c: Likewise.
14546         * sunrpc/pmap_rmt.c: Likewise.
14547         * sunrpc/publickey.c: Likewise.
14548         * sunrpc/rpc_cmsg.c: Likewise.
14549         * sunrpc/rpc_common.c: Likewise.
14550         * sunrpc/rpc_dtable.c: Likewise.
14551         * sunrpc/rpc_prot.c: Likewise.
14552         * sunrpc/rpc_thread.c: Likewise.
14553         * sunrpc/rtime.c: Likewise.
14554         * sunrpc/svc.c: Likewise.
14555         * sunrpc/svc_auth.c: Likewise.
14556         * sunrpc/svc_authux.c: Likewise.
14557         * sunrpc/svc_raw.c: Likewise.
14558         * sunrpc/svc_run.c: Likewise.
14559         * sunrpc/svc_simple.c: Likewise.
14560         * sunrpc/svc_tcp.c: Likewise.
14561         * sunrpc/svc_udp.c: Likewise.
14562         * sunrpc/svc_unix.c: Likewise.
14563         * sunrpc/svcauth_des.c: Likewise.
14564         * sunrpc/xcrypt.c: Likewise.
14565         * sunrpc/xdr.c: Likewise.
14566         * sunrpc/xdr_array.c: Likewise.
14567         * sunrpc/xdr_float.c: Likewise.
14568         * sunrpc/xdr_intXX_t.c: Likewise.
14569         * sunrpc/xdr_mem.c: Likewise.
14570         * sunrpc/xdr_rec.c: Likewise.
14571         * sunrpc/xdr_ref.c: Likewise.
14572         * sunrpc/xdr_sizeof.c: Likewise.
14573         * sunrpc/xdr_stdio.c: Likewise.
14575 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
14577         [BZ #12650]
14578         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14579         * sysdeps/ia64/dl-tls.h: Likewise.
14580         * sysdeps/powerpc/dl-tls.h: Likewise.
14581         * sysdeps/s390/dl-tls.h: Likewise.
14582         * sysdeps/sh/dl-tls.h: Likewise.
14583         * sysdeps/sparc/dl-tls.h: Likewise.
14584         * sysdeps/x86_64/dl-tls.h: Likewise.
14585         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14587 2011-03-14  Andreas Schwab  <schwab@redhat.com>
14589         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14590         rpath element also skip the following colon.
14591         (expand_dynamic_string_token): Add is_path parameter and pass
14592         down to DL_DST_REQUIRED and _dl_dst_substitute.
14593         (decompose_rpath): Call expand_dynamic_string_token with
14594         non-zero is_path.  Ignore empty rpaths.
14595         (_dl_map_object_from_fd): Call expand_dynamic_string_token
14596         with zero is_path.
14598 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
14600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14601         Make cancelable.
14603 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
14605         [BZ #12655]
14606         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14607         Patch by Filipe David Manana <fdmanana@apache.org>.
14609 2011-04-07  Andreas Schwab  <schwab@redhat.com>
14611         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14612         Maintain aligned stack.
14613         (CHECK_RSP): Remove unused macro.
14615 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
14617         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14618         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14620 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
14622         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14624         * include/features.h: Mention __USE_XOPEN2K8 in comment.
14626 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
14628         [BZ #12518]
14629         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14630         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14631         * sysdeps/x86_64/memmove.c: New file.
14632         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14633         (memcpy): Renamed to ...
14634         (__new_memcpy): This.
14635         (memcpy): Provide GLIBC_2_14 memcpy.
14636         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14637         (memcpy): Provide GLIBC_2_2_5 memcpy.
14639 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14641         [BZ #12631]
14642         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14644 2011-03-30  Andreas Schwab  <schwab@redhat.com>
14646         * misc/syncfs.c: New file.
14647         * misc/Makefile (routines): Add syncfs.
14648         * posix/unistd.h: Declare syncfs.
14649         * sysdeps/unix/syscalls.list: Add syncfs.
14651 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14653         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14654         open_by_handle_at.
14655         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14656         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14657         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14658         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14660         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14661         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14663 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14665         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14666         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14667         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14669         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14673         * io/Makefile: Compile fallocate.c, fallocate64.c, and
14674         sync_file_range.c with -fexceptions.
14675         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14676         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14677         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14678         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14679         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14680         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14681         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14682         sync_file_range as cancellation point
14683         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
14684         now a wrapper around __call_sync_file_range with cancellation handling.
14685         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14686         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
14687         function name to __call_sync_file_range.
14688         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14689         Add call_sync_file_range.
14691 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14693         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14694         bits/timex.h.
14696 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14698         * iconv/iconv.h: Fix typo in comment.
14699         * io/fcntl.h: Likewise.
14700         * libio/stdio.h: Likewise.
14701         * posix/spawn.h: Likewise.
14702         * posix/unistd.h: Likewise.
14703         * stdlib/stdlib.h: Likewise.
14704         * time/time.h: Likewise.
14705         * wcsmbs/wchar.h: Likewise.
14707         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14708         open_by_handle): Add.
14709         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14710         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
14711         Augment a few comments.
14712         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14714         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14716         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14717         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14718         open_by_handle.
14720         * io/fcntl.h (AT_EMPTY_PATH): Define.
14722 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
14724         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14725         * sysdeps/unix/sysv/linux/bits/time.h: New file.
14726         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14727         to...
14728         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
14729         * Versions.def: Add GLIBC_2.14.
14730         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14731         Export.
14733 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
14735         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14736         round counter.
14737         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14739 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
14741         [BZ #12597]
14742         * string/test-strncmp.c (do_page_test): New function.
14743         (check2): Likewise.
14744         (test_main): Call check2.
14745         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14747 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
14749         [BZ #12587]
14750         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14751         Handle cache information in CPU leaf 4.
14752         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14754 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
14756         [BZ #12583]
14757         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14758         character representation.
14759         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14761 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
14763         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14764         END(__isnan) to END(__isnanf) to match function entry point/label
14765         EALIGN(__isnanf,...).
14767 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
14769         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14771 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
14773         [BZ #12510]
14774         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14775         copy from the symbol referenced in the relocation to initialize the
14776         used variable.
14777         Patch by Piotr Bury <pbury@goahead.com>.
14778         * elf/Makefile: Add rules to build and tst-unique3.
14779         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14780         * elf/tst-unique3.cc: New file.
14781         * elf/tst-unique3.h: New file.
14782         * elf/tst-unique3lib.cc: New file.
14783         * elf/tst-unique3lib2.cc: New file.
14785         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14787 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
14789         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14790         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
14791         to _start.
14793 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
14795         * elf/dl-load.c (_dl_map_object): If we are looking for the first
14796         to-be-loaded object along a path to loader is ld.so.
14798 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14799             Ulrich Drepper  <drepper@gmail.com>
14801         * sysdeps/x86_64/memset.S: After aligning destination, code
14802         branches to different locations depending on the value of
14803         misalignment, when multiarch is enabled. Fix this.
14805 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14807         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14808         Set _x86_64_preferred_memory_instruction for AMD processsors.
14809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14810         Set bit_Prefer_SSE_for_memop for AMD processors.
14812 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
14814         * libio/fmemopen.c (fmemopen): Optimize a bit.
14816 2011-03-03  Andreas Schwab  <schwab@redhat.com>
14818         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14820 2011-03-03  Roland McGrath  <roland@redhat.com>
14822         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14824 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
14826         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14827         __bzero_ultra1 instead of __memset_ultra1.
14829 2011-02-23  Andreas Schwab  <schwab@redhat.com>
14830             Ulrich Drepper  <drepper@gmail.com>
14832         [BZ #12509]
14833         * include/link.h (struct link_map): Add l_orig_initfini.
14834         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14835         returning unsuccessfully.
14836         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14837         close of a file loaded at startup, restore the original l_initfini
14838         list.
14839         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14840         list, store the pointer.
14841         * elf/Makefile ($(objpfx)noload-mem): New rule.
14842         (noload-ENV): Define.
14843         (tests): Add $(objpfx)noload-mem.
14844         * elf/noload.c: Include <memcheck.h>.
14845         (main): Call mtrace.  Close all opened handles.
14847 2011-02-17  Andreas Schwab  <schwab@redhat.com>
14849         [BZ #12454]
14850         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14851         dependencies are missing.
14853 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14855         Fix __if_freereq crash: Unlike the generic version which uses free,
14856         Hurd needs munmap.
14857         * sysdeps/mach/hurd/ifreq.h: New file.
14859 2011-01-27  Petr Baudis  <pasky@suse.cz>
14860             Ulrich Drepper  <drepper@gmail.com>
14862         [BZ 12445]#
14863         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14864         to extend_alloca().
14865         * stdio-common/bug23.c: New file.
14866         * stdio-common/Makefile (tests): Add bug23.
14868 2010-09-28  Andreas Schwab  <schwab@redhat.com>
14869             Ulrich Drepper  <drepper@gmail.com>
14871         [BZ #12489]
14872         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14873         before performing relro protection.  At old place add assertion
14874         to make sure nothing changed.
14876 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
14877             Glauber de Oliveira Costa  <glommer@gmail.com>
14879         * elf/elf.h: Add new ARM TLS relocs.
14881 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
14883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14884         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14885         cast from r3.
14886         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
14887         'tests' variable.
14888         * sysdeps/wordsize-64/tst-writev.c: New file.
14890 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
14892         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14893         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14894         insns in _dl_start to prevent a TOC reference before relocs are
14895         resolved.
14897 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
14899         [BZ #12469]
14900         * Makeconfig: Remove RANLIB definition.
14901         * Makerules: Don't use RANLIB.
14902         * aclocal.m4: Remove ranlib test.
14903         * configure.in: No need to check for ranlib.
14904         * elf/rtld-Rules: Don't use RANLIB.
14906 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14908         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14909         protection macro.
14910         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14911         inclusion protection macro.
14913         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14914         SIGRTMIN and SIGRTMAX and print information in that case only when
14915         SIGRTMIN is defined.
14917 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
14919         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14920         arginfo fn returning -1.
14922         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14923         and thousands string is zero terminated.
14925 2011-02-03  Andreas Schwab  <schwab@redhat.com>
14927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14928         sysdeps/unix/sysv/linux/bits/socket.h.
14930 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14932         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14933         (__CPU_COUNT): Remove old macros.
14934         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14935         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14936         (__CPU_ALLOC, __CPU_FREE): Add macros.
14937         (__sched_cpualloc, __sched_cpufree): Add declarations.
14939 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
14941         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14942         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14943         * nscd/aicache.c (addhstaiX): Return timeout of added value.
14944         (readdhstai): Return value of addhstaiX call.
14945         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14946         (addgrbyX): Return value returned by cache_addgr.
14947         (readdgrbyname): Return value returned by addgrbyX.
14948         (readdgrbygid): Likewise.
14949         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14950         (addpwbyX): Return value returned by cache_addpw.
14951         (readdpwbyname): Return value returned by addhstbyX.
14952         (readdpwbyuid): Likewise.
14953         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14954         (addservbyX): Return value returned by cache_addserv.
14955         (readdservbyname): Return value returned by addservbyX:
14956         (readdservbyport): Likewise.
14957         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14958         (addhstbyX): Return value returned by cache_addhst.
14959         (readdhstbyname): Return value returned by addhstbyX.
14960         (readdhstbyaddr): Likewise.
14961         (readdhstbynamev6): Likewise.
14962         (readdhstbyaddrv6): Likewise.
14963         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14964         (readdinitgroups): Return value returned by addinitgroupsX.
14965         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14966         (prune_cache): Keep track of timeout value of re-added entries.
14967         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14968         * nscd/nscd.h: Adjust prototypes of readd* functions.
14970 2011-02-04  Roland McGrath  <roland@redhat.com>
14972         * nis/nis_server.c (nis_servstate): Use the right name for 0.
14973         (nis_stats): Likewise.
14974         * nis/nis_modify.c (nis_modify): Likewise.
14975         * nis/nis_remove.c (nis_remove): Likewise.
14976         * nis/nis_add.c (nis_add): Likewise.
14978         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14980         * posix/fnmatch_loop.c: Add some consts.
14982         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14984 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
14986         [BZ #12460]
14987         * config.make.in (config-cflags-novzeroupper): Define.
14988         * configure.in: Substitute libc_cv_cc_novzeroupper.
14989         * elf/Makefile (AVX-CFLAGS): Define.
14990         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14991         (CFLAGS-tst-auditmod4a.c): Likewise.
14992         (CFLAGS-tst-auditmod4b.c): Likewise.
14993         (CFLAGS-tst-auditmod6b.c): Likewise.
14994         (CFLAGS-tst-auditmod6c.c): Likewise.
14995         (CFLAGS-tst-auditmod7b.c): Likewise.
14996         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14998 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
15000         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15001         function to the callback.
15002         Patch partly by Jiri Olsa <jolsa@redhat.com>.
15004 2011-02-02  Andreas Schwab  <schwab@redhat.com>
15006         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15007         of errno.
15009 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
15011         [BZ #11724]
15012         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15013         of constructors.
15014         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15015         of destructors.
15016         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15018         [BZ #11724]
15019         * elf/Makefile: Add rules to build and run new test.
15020         * elf/tst-initorder.c: New file.
15021         * elf/tst-initorder.exp: New file.
15022         * elf/tst-initordera1.c: New file.
15023         * elf/tst-initordera2.c: New file.
15024         * elf/tst-initordera3.c: New file.
15025         * elf/tst-initordera4.c: New file.
15026         * elf/tst-initorderb1.c: New file.
15027         * elf/tst-initorderb2.c: New file.
15028         * elf/tst-order-a1.c: New file.
15029         * elf/tst-order-a2.c: New file.
15030         * elf/tst-order-a3.c: New file.
15031         * elf/tst-order-a4.c: New file.
15032         * elf/tst-order-b1.c: New file.
15033         * elf/tst-order-b2.c: New file.
15034         * elf/tst-order-main.c: New file.
15035         New test case by George Gensure <werkt0@gmail.com>.
15037 2010-10-01  Andreas Schwab  <schwab@redhat.com>
15039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15040         decoding ACE if AI_CANONIDN.
15042 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
15044         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15046 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
15048         * version.h (RELEASE): Bump for 2.13 release.
15049         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15051         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15053         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15054         MADV_NOHUGEPAGE.
15055         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15056         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15057         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15058         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15059         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15060         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15062         * posix/getconf.c: Update copyright year.
15063         * catgets/gencat.c: Likewise.
15064         * csu/version.c: Likewise.
15065         * debug/catchsegv.sh: Likewise.
15066         * debug/xtrace.sh: Likewise.
15067         * elf/ldconfig.c: Likewise.
15068         * elf/ldd.bash.in: Likewise.
15069         * elf/sprof.c (print_version): Likewise.
15070         * iconv/iconv_prog.c: Likewise.
15071         * iconv/iconvconfig.c: Likewise.
15072         * locale/programs/locale.c: Likewise.
15073         * locale/programs/localedef.c: Likewise.
15074         * malloc/memusage.sh: Likewise.
15075         * malloc/mtrace.pl: Likewise.
15076         * nscd/nscd.c (print_version): Likewise.
15077         * nss/getent.c: Likewise.
15079         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15080         PF_CAIF, and PF_ALG.
15081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15083 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
15085         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15086         (modules-names): Use them.
15087         (ifunc-test-modules, ifunc-pie-tests): Define.
15088         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15089         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15090         (test-extras): Likewise.
15091         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15092         $(compile-command.c).
15093         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15094         (all-built-dso): Define.
15095         (check-textrel.out, check-execstack.out): Depend on it.
15097         * configure.in: Don't override --enable-multi-arch.
15099 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
15101         [BZ #6812]
15102         * nscd/hstcache.c (tryagain): Define.
15103         (cache_addhst): Return tryagain not notfound for temporary errors.
15104         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15105         failed.
15107 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
15109         [BZ #10563]
15110         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15111         to make the syscall.
15112         * sysdeps/unix/sysv/linux/setgroups.c: New file.
15114         [BZ #12378]
15115         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15116         and fall back to matching as normal character if the string ends before
15117         the matching ']' is found.  This is what POSIX requires.
15118         * posix/testfnm.c: Adjust test result.
15119         * posix/globtest.sh: Adjust test result.  Add new test.
15120         * posix/tst-fnmatch.input: Likewise.
15121         * posix/tst-fnmatch2.c: Add new test.
15123 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
15125         * elf/Makefile (check-execstack): Revert last change.  Depend on
15126         check-execstack.h.
15127         (check-execstack.h): New target.
15128         (generated): Add check-execstack.h.
15129         * elf/check-execstack.c: Include "check-execstack.h".
15130         (main): Revert last change.
15131         (handle_file): Return zero if GNU_STACK is absent and
15132         DEFAULT_STACK_PERMS doesn't include PF_X.
15134 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
15136         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15137         in child fails because the descriptor is already closed.
15138         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15139         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15140         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15142         [BZ #12397]
15143         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15144         syscall.
15146         [BZ #10484]
15147         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15148         temporary buffer used to handle multi lookups locally.
15149         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15151 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15153         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15154         loader is ld.so.
15156 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
15158         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15159         alignment for SSE2.
15161 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
15163         [BZ #12394]
15164         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15165         characters.  When rounding increased number of integer digits recompute
15166         number of groups.
15167         * stdio-common/tst-grouping.c: New file.
15168         * stdio-common/Makefile: Add rules to build and run tst-grouping.
15170 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
15172         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15173         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
15175         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15176         void.
15177         * bits/select.h: Likewise.
15179 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
15181         * po/ja.po: Update from translation team.
15183 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
15185         [BZ #11155]
15186         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15187         implementation just like for lxstat, fxstatat, et al.
15189 2010-12-27  Jim Meyering  <meyering@redhat.com>
15191         [BZ #12348]
15192         * posix/regexec.c (build_trtable): Return failure indication upon
15193         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
15195 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
15197         [BZ #12201]
15198         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15199         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15200         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15201         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15203         [BZ #12207]
15204         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15206         [BZ #12204]
15207         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15208         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15210 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15212         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15213         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15214         script has SORT_BY_INIT_PRIORITY.
15215         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15216         NO_CTORS_DTORS_SECTIONS is defined.
15217         * elf/soinit.c: Likewise.
15218         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15219         NO_CTORS_DTORS_SECTIONS is defined.
15220         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15221         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15222         * sysdeps/sh/init-first.c: Likewise.
15223         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15225 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
15227         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15228         always use the slow path.
15230 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
15232         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15233         similar rule which adds the sysdep directories to the header search in
15234         order to pick up the correct platform stackinfo.h.
15235         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15236         perform test if it is, otherwise return successfully without testing.
15237         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15238         DEFAULT_STACK_PERMS define in stackinfo.h.
15239         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15240         defined in stackinfo.h.
15241         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15242         DEFAULT_STACK_PERMS defined in stackinfo.h.
15243         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15244         * sysdeps/ia64/stackinfo.h: Likewise.
15245         * sysdeps/s390/stackinfo.h: Likewise.
15246         * sysdeps/sh/stackinfo.h: Likewise.
15247         * sysdeps/sparc/stackinfo.h: Likewise.
15248         * sysdeps/x86_64/stackinfo.h: Likewise.
15249         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15250         PF_X for powerpc64.  Retain PF_X for powerpc32.
15252 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
15254         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15255         accurately.
15256         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15257         GETDENTS_64BIT_ALIGNED.
15259 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
15261         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15263 2010-12-10  Andreas Schwab  <schwab@redhat.com>
15265         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15266         _GNU_SOURCE.
15268         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15269         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15270         Remove __restrict.
15271         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15272         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15274 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
15276         [BZ #11655]
15277         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15278         are initialized.
15280 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
15282         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15284 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
15286         * po/it.po: Update from translation team.
15288 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15290         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15291         unused codes.
15293 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
15295         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15297 2010-11-24  Andreas Schwab  <schwab@redhat.com>
15299         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15300         specially.
15301         (gaih_getanswer_slice): Likewise.
15303 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
15305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15307 2010-05-31  Petr Baudis  <pasky@suse.cz>
15309         [BZ #11149]
15310         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15311         silently even in the chroot mode.
15313 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
15315         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15316         last patch a bit.  Pretty printing
15318 2010-05-31  Petr Baudis <pasky@suse.cz>
15320         [BZ #10085]
15321         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15322         initialization of skip_initgroups_dyn.
15324 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
15326         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15327         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15329 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
15331         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15333 2010-11-11  Andreas Schwab  <schwab@redhat.com>
15335         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15336         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15337         (tst-fnmatch-ENV): Set MALLOC_TRACE.
15338         ($(objpfx)tst-fnmatch-mem): New rule.
15339         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15340         * posix/tst-fnmatch.c (main): Call mtrace.
15342 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
15344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15345         Support Intel processor model 6 and model 0x2c.
15347 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
15349         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15350           signed comparison.
15352 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
15354         [BZ #12205]
15355         * string/test-strncasecmp.c (check_result): New function.
15356         (do_one_test): Use it.
15357         (check1): New function.
15358         (test_main): Use it.
15359         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15360         Support strcasecmp and strncasecmp.
15362 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
15364         [BZ #12194]
15365         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15366         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15368 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15370         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15371         IFUNC support.
15372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15373         memset-x86-64.
15374         * sysdeps/x86_64/multiarch/bzero.S: New file.
15375         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15376         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15377         * sysdeps/x86_64/multiarch/memset.S: New file.
15378         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15380         Set bit_Prefer_SSE_for_memop for Intel processors.
15381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15382         Define.
15383         (index_Prefer_SSE_for_memop): Define.
15384         (HAS_PREFER_SSE_FOR_MEMOP): Define.
15386 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
15388         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15389         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15391 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
15393         [BZ #12191]
15394         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15395         (__x86_64_raw_data_cache_size_half): Likewise.
15396         (__x86_64_raw_shared_cache_size): Likewise.
15397         (__x86_64_raw_shared_cache_size_half): Likewise.
15399         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15400         (__x86_64_raw_data_cache_size_half): Likewise.
15401         (__x86_64_raw_shared_cache_size): Likewise.
15402         (__x86_64_raw_shared_cache_size_half): Likewise.
15403         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15404         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15405         and __x86_64_raw_shared_cache_size_half.  Round
15406         __x86_64_data_cache_size_half, __x86_64_data_cache_size
15407         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15408         to multiple of 256 bytes.
15410 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
15412         [BZ #12167]
15413         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15414         of inacessible symlinks.  Verify result of symlink before returning it.
15415         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15416         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15418 2010-10-28  Erich Ritz  <erichritz@gmail.com>
15420         * math/math.h (isinf): Fix typo in comment.
15422 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
15424         * po/da.po: Update from translation team.
15426 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
15428         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15429         is added to the list.
15431 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15432             Ulrich Drepper  <drepper@gmail.com>
15434         * elf/dl-object.c (_dl_new_object): Don't append the new object to
15435         the global list here.  Move code to...
15436         (_dl_add_to_namespace_list): ...here.  New function.
15437         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15438         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15439         * elf/dl-load.c (lose): Don't remove the element from the list.
15440         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15441         (_dl_map_object): Likewise.
15443 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
15445         [BZ #12159]
15446         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15447         into all bytes of SSE register.
15448         Patch by Richard Li <richardpku@gmail.com>.
15450 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
15452         [BZ #12140]
15453         * malloc/malloc.c (_int_free): Fill correct number of bytes when
15454         perturbing.
15456 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
15458         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15459         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15460         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15461         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15463         submachine.
15464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15466 2010-10-22  Andreas Schwab  <schwab@redhat.com>
15468         * include/dlfcn.h (__RTLD_SECURE): Define.
15469         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
15470         mode & __RTLD_SECURE instead.
15471         (open_path): Rename preloaded parameter to secure.
15472         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15473         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15474         * elf/dl-deps.c (openaux): Likewise.
15475         * elf/rtld.c (struct map_args): Remove is_preloaded.
15476         (map_doit): Don't use it.
15477         (dl_main): Likewise.
15478         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15479         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15481 2010-09-09  Andreas Schwab  <schwab@redhat.com>
15483         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15484         (sysd-rules-targets): Remove duplicates.
15485         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15486         rtld-%.$o dependency.
15488 2010-10-18  Andreas Schwab  <schwab@redhat.com>
15490         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15491         _dl_map_object do it.
15493 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
15495         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15496         fast fma builtins, define the macros in the C99 standard.
15497         (FP_FAST_FMAF): Likewise.
15498         (FP_FAST_FMAL): Likewise.
15499         * sysdeps/x86_64/bits/mathdef.h: Likewise.
15501         * bits/mathdef.h: Update copyright year.
15502         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15504 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
15506         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15507         builtins, define the macros in the C99 standard.
15508         (FP_FAST_FMAF): Likewise.
15509         (FP_FAST_FMAL): Likewise.
15510         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15511         multiply/add.
15512         (FP_FAST_FMAF): Likewise.
15514 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
15516         [BZ #3268]
15517         * math/libm-test.inc (fma_test): Some new testcases.
15518         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15519         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15520         y and infinite z.  Do multiplication by C already in long double.
15521         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15523         y and infinite z.  Do bitwise or of inexact bit into u.d.
15524         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15525         * sysdeps/i386/fpu/s_fmaf.S: Removed.
15526         * sysdeps/i386/fpu/s_fma.S: Removed.
15527         * sysdeps/i386/fpu/s_fmal.S: Removed.
15529 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
15531         [BZ #3268]
15532         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15534         computation is not scheduled after fetestexcept.  Fix value
15535         of minimum denormal long double.
15537 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
15539         [BZ #3268]
15540         * math/libm-test.inc (fma_test): Add some more tests.
15541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15542         correctly.
15544 2010-10-15  Andreas Schwab  <schwab@redhat.com>
15546         * scripts/data/localplt-s390-linux-gnu.data: New file.
15547         * scripts/data/localplt-s390x-linux-gnu.data: New file.
15549 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
15551         [BZ #3268]
15552         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15553         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15554         instead of dbl-64.
15555         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15556         inlines.
15557         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15559         if one of x and y is very large and the other is subnormal.
15560         * sysdeps/s390/fpu/s_fmaf.c: New file.
15561         * sysdeps/s390/fpu/s_fma.c: New file.
15562         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15563         * sysdeps/powerpc/fpu/s_fma.S: New file.
15564         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15565         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15566         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15568 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
15570         [BZ #3268]
15571         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15572         fma tests.
15573         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15574         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15575         * sysdeps/i386/i686/multiarch/s_fma.c: Include
15576         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15577         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15578         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15579         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15581 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
15583         [BZ #12078]
15584         * posix/regcomp.c (parse_branch): One more memory leak plugged.
15585         * posix/bug-regex31.input: Add test case.
15587 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15589         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15590         * posix/bug-regex31.input: New file.
15592         [BZ #12078]
15593         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15594         (parse_sub_exp): Fix last change, use postorder.
15596         * posix/bug-regex31.c: New file.
15597         * posix/Makefile: Add rules to build and run bug-regex31.
15599         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15601         [BZ #12078]
15602         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15604         [BZ #12108]
15605         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15606         to have entries in sys_siglist.
15608         [BZ #12093]
15609         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15610         be NULL.
15612 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
15614         [BZ #3268]
15615         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15616         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15617         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15618         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15619         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15620         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15621         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15622         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15623         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15624         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15625         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15626         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15627         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15628         * math/ftestexcept.c (fetestexcept): Likewise.
15629         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15630         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15631         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15632         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15633         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15634         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15635         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15637 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15639         [BZ #12107]
15640         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15641         newline.
15643 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
15645         * string/bug-strstr1.c: New file.
15646         * string/Makefile: Add rules to build and run bug-strstr1.
15648 2010-10-05  Eric Blake  <eblake@redhat.com>
15650         [BZ #12092]
15651         * string/str-two-way.h (two_way_long_needle): Always clear memory
15652         when skipping input due to the shift table.
15654 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
15656         [BZ #12005]
15657         * malloc/mcheck.c: Handle large requests.
15659         [BZ #12077]
15660         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15661         for strncmp and strncasecmp.
15662         * string/stratcliff.c: Add tests for strcmp and strncmp.
15663         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15665 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15667         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15668         __set_fpscr.
15670 2010-09-30  Andreas Jaeger  <aj@suse.de>
15672         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15673         (CGROUP_SUPER_MAGIC): Define.
15674         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15675         Handle btrfs and cgroup file systems.
15676         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15677         Likewise.
15679 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
15681         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15682         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15684 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15686         [BZ #12067]
15687         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15688         trying to locate the ELF header.
15690 2010-09-27  Andreas Schwab  <schwab@redhat.com>
15692         [BZ #11611]
15693         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15694         Mask out sign-bit copies when constructing f_fsid.
15696 2010-09-24  Petr Baudis <pasky@suse.cz>
15698         * debug/stack_chk_fail_local.c: Add missing licence exception.
15699         * debug/warning-nop.c: Likewise.
15701 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
15703         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15704         implementing getdents64 using getdents syscall, set d_type if
15705         __ASSUME_GETDENTS32_D_TYPE.
15707 2010-09-16  Andreas Schwab  <schwab@redhat.com>
15709         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15710         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15712 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
15714         [BZ #12037]
15715         * posix/unistd.h: Undo change of feature selection for ftruncate from
15716         2010-01-11.
15718 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
15720         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15721         detection.
15723 2010-09-20  Andreas Schwab  <schwab@redhat.com>
15725         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15726         fanotify_mark.
15727         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15729 2010-09-14  Andreas Schwab  <schwab@redhat.com>
15731         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15732         variables after CHECK_SP call.
15733         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15735 2010-09-13  Andreas Schwab  <schwab@redhat.com>
15736             Ulrich Drepper  <drepper@redhat.com>
15738         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15739         re-relocationg ld.so.
15740         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15741         _dl_init_paths call.
15742         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
15743         here anymore.
15745 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
15747         * resolv/res_init.c (__res_vinit): Count the default server we added.
15749 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
15750             Ulrich Drepper  <drepper@redhat.com>
15752         [BZ #11968]
15753         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15754         (____longjmp_chk): Use %ebx for saving value across system call.
15755         Add unwind info.
15757 2010-09-06  Andreas Schwab  <schwab@redhat.com>
15759         * manual/Makefile: Don't mix pattern rules with normal rules.
15761 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15763         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15764         operation.
15765         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15766         * libio/iofopncook.c (_IO_cookie_init): Likewise.
15767         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15768         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15769         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15770         Likewise.
15772 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
15774         [BZ #11979]
15775         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15776         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15778 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
15780         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15781         * sysdeps/x86_64/addmul_1.S: Likewise.
15782         * sysdeps/x86_64/lshift.S: Likewise.
15783         * sysdeps/x86_64/mul_1.S: Likewise.
15784         * sysdeps/x86_64/rshift.S: Likewise.
15785         * sysdeps/x86_64/sub_n.S: Likewise.
15786         * sysdeps/x86_64/submul_1.S: Likewise.
15788 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15790         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15791         Define __sched_param instead of SCHED_* and sched_param when
15792         <bits/sched.h> is included with __need_schedparam defined.
15793         * bits/sched.h [__need_schedparam]
15794         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15795         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15796         (__defined_schedparam): Define to 1.
15797         (__sched_param): New structure, identical to sched_param.
15798         (__need_schedparam): Undefine.
15800 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
15802         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15803         (epoll_create1): Declare.
15805         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15807 2010-08-31  Andreas Schwab  <schwab@redhat.com>
15809         [BZ #7066]
15810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15811         shifting retval into place.
15813 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
15815         * nis/rpcsvc/nis.h: Update copyright notice.
15816         * nis/rpcsvc/nis.x: Likewise.
15817         * nis/rpcsvc/nis_callback.h: Likewise.
15818         * nis/rpcsvc/nis_callback.x: Likewise.
15819         * nis/rpcsvc/nis_object.x: Likewise.
15820         * nis/rpcsvc/nis_tags.h: Likewise.
15821         * nis/rpcsvc/yp.h: Likewise.
15822         * nis/rpcsvc/yp.x: Likewise.
15823         * nis/rpcsvc/ypupd.h: Likewise.
15824         * nis/yp_xdr.c: Likewise.
15825         * nis/ypupdate_xdr.c: Likewise.
15827         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
15828         mainly the body of pmap_getport.  Add parameters to specify timeouts.
15829         (pmap_getport): Use __libc_rpc_getport.
15830         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15831         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15832         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15834 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
15836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15837         fanotify_mark.
15839 2010-08-27  Roland McGrath  <roland@redhat.com>
15841         * sysdeps/i386/i686/multiarch/Makefile
15842         (CFLAGS-varshift.c): New variable.
15844 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
15846         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15847         * sysdeps/i386/i686/multiarch/varshift.c: New file.
15849         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15851         * sysdeps/x86_64/strlen.S: Minimal code improvement.
15853 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15855         * sysdeps/x86_64/strlen.S: Unroll the loop.
15856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15857         strlen-sse2 strlen-sse2-bsf.
15858         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15859         __strlen_no_bsf if bit_Slow_BSF is set.
15860         (__strlen_sse42): Removed.
15861         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15862         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15864 2010-08-25  Roland McGrath  <roland@redhat.com>
15866         * sysdeps/x86_64/multiarch/varshift.S: File removed.
15867         * sysdeps/x86_64/multiarch/varshift.c: New file.
15868         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15869         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15870         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15871         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15873 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15875         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15876         strlen-sse2 strlen-sse2-bsf.
15877         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15878         __strlen_sse2_bsf if bit_Slow_BSF is unset.
15879         (__strlen_sse2): Removed.
15880         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15881         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15883         bit_Slow_BSF for Atom.
15884         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15885         (index_Slow_BSF): Define.
15886         (HAS_SLOW_BSF): Define.
15888 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
15890         [BZ #10851]
15891         * resolv/res_init.c (__res_vinit): When no server address at all
15892         is given default to loopback.
15894 2010-08-24  Roland McGrath  <roland@redhat.com>
15896         * configure.in: Remove config-name.h generation.
15897         * configure: Regenerated.
15898         * config-name.in: File removed.
15899         * scripts/config-uname.sh: New file.
15900         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15901         ($(objdir)config-name.h): New target.
15903         * sunrpc/rpc_parse.h: Avoid nested comment.
15905 2010-08-24  Richard Henderson  <rth@redhat.com>
15906             Ulrich Drepper  <drepper@redhat.com>
15907             H.J. Lu  <hongjiu.lu@intel.com>
15909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15911         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15912         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
15913         _mm_alignr_epi8 with _mm_loadu_si128.
15914         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15915         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15916         (__m128i_shift_right): Removed.
15917         * sysdeps/i386/i686/multiarch/varshift.h: New file.
15918         * sysdeps/i386/i686/multiarch/varshift.S: New file.
15919         * sysdeps/x86_64/multiarch/varshift.h: New file.
15920         * sysdeps/x86_64/multiarch/varshift.S: New file.
15922 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
15924         * configure.in: Move assembler checks to before sysdep dir checking.
15926 2010-08-20  Petr Baudis  <pasky@suse.cz>
15928         * LICENSES: Sync the sunrpc license.
15930 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
15932         * sunrpc/auth_des.c: Update copyright notice once again.
15933         * sunrpc/auth_none.c: Likewise.
15934         * sunrpc/auth_unix.c: Likewise.
15935         * sunrpc/authdes_prot.c: Likewise.
15936         * sunrpc/authuxprot.c: Likewise.
15937         * sunrpc/bindrsvprt.c: Likewise.
15938         * sunrpc/clnt_gen.c: Likewise.
15939         * sunrpc/clnt_perr.c: Likewise.
15940         * sunrpc/clnt_raw.c: Likewise.
15941         * sunrpc/clnt_simp.c: Likewise.
15942         * sunrpc/clnt_tcp.c: Likewise.
15943         * sunrpc/clnt_udp.c: Likewise.
15944         * sunrpc/clnt_unix.c: Likewise.
15945         * sunrpc/des_crypt.c: Likewise.
15946         * sunrpc/des_soft.c: Likewise.
15947         * sunrpc/get_myaddr.c: Likewise.
15948         * sunrpc/getrpcport.c: Likewise.
15949         * sunrpc/key_call.c: Likewise.
15950         * sunrpc/key_prot.c: Likewise.
15951         * sunrpc/openchild.c: Likewise.
15952         * sunrpc/pm_getmaps.c: Likewise.
15953         * sunrpc/pm_getport.c: Likewise.
15954         * sunrpc/pmap_clnt.c: Likewise.
15955         * sunrpc/pmap_prot.c: Likewise.
15956         * sunrpc/pmap_prot2.c: Likewise.
15957         * sunrpc/pmap_rmt.c: Likewise.
15958         * sunrpc/rpc/auth.h: Likewise.
15959         * sunrpc/rpc/auth_unix.h: Likewise.
15960         * sunrpc/rpc/clnt.h: Likewise.
15961         * sunrpc/rpc/des_crypt.h: Likewise.
15962         * sunrpc/rpc/key_prot.h: Likewise.
15963         * sunrpc/rpc/netdb.h: Likewise.
15964         * sunrpc/rpc/pmap_clnt.h: Likewise.
15965         * sunrpc/rpc/pmap_prot.h: Likewise.
15966         * sunrpc/rpc/pmap_rmt.h: Likewise.
15967         * sunrpc/rpc/rpc.h: Likewise.
15968         * sunrpc/rpc/rpc_des.h: Likewise.
15969         * sunrpc/rpc/rpc_msg.h: Likewise.
15970         * sunrpc/rpc/svc.h: Likewise.
15971         * sunrpc/rpc/svc_auth.h: Likewise.
15972         * sunrpc/rpc/types.h: Likewise.
15973         * sunrpc/rpc/xdr.h: Likewise.
15974         * sunrpc/rpc_clntout.c: Likewise.
15975         * sunrpc/rpc_cmsg.c: Likewise.
15976         * sunrpc/rpc_common.c: Likewise.
15977         * sunrpc/rpc_cout.c: Likewise.
15978         * sunrpc/rpc_dtable.c: Likewise.
15979         * sunrpc/rpc_hout.c: Likewise.
15980         * sunrpc/rpc_main.c: Likewise.
15981         * sunrpc/rpc_parse.c: Likewise.
15982         * sunrpc/rpc_parse.h: Likewise.
15983         * sunrpc/rpc_prot.c: Likewise.
15984         * sunrpc/rpc_sample.c: Likewise.
15985         * sunrpc/rpc_scan.c: Likewise.
15986         * sunrpc/rpc_scan.h: Likewise.
15987         * sunrpc/rpc_svcout.c: Likewise.
15988         * sunrpc/rpc_tblout.c: Likewise.
15989         * sunrpc/rpc_util.c: Likewise.
15990         * sunrpc/rpc_util.h: Likewise.
15991         * sunrpc/rpcinfo.c: Likewise.
15992         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15993         * sunrpc/rpcsvc/key_prot.x: Likewise.
15994         * sunrpc/rpcsvc/klm_prot.x: Likewise.
15995         * sunrpc/rpcsvc/mount.x: Likewise.
15996         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15997         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15998         * sunrpc/rpcsvc/rex.x: Likewise.
15999         * sunrpc/rpcsvc/rstat.x: Likewise.
16000         * sunrpc/rpcsvc/rusers.x: Likewise.
16001         * sunrpc/rpcsvc/sm_inter.x: Likewise.
16002         * sunrpc/rpcsvc/spray.x: Likewise.
16003         * sunrpc/rpcsvc/yppasswd.x: Likewise.
16004         * sunrpc/rtime.c: Likewise.
16005         * sunrpc/svc.c: Likewise.
16006         * sunrpc/svc_auth.c: Likewise.
16007         * sunrpc/svc_authux.c: Likewise.
16008         * sunrpc/svc_raw.c: Likewise.
16009         * sunrpc/svc_run.c: Likewise.
16010         * sunrpc/svc_simple.c: Likewise.
16011         * sunrpc/svc_tcp.c: Likewise.
16012         * sunrpc/svc_udp.c: Likewise.
16013         * sunrpc/svc_unix.c: Likewise.
16014         * sunrpc/svcauth_des.c: Likewise.
16015         * sunrpc/xcrypt.c: Likewise.
16016         * sunrpc/xdr.c: Likewise.
16017         * sunrpc/xdr_array.c: Likewise.
16018         * sunrpc/xdr_float.c: Likewise.
16019         * sunrpc/xdr_mem.c: Likewise.
16020         * sunrpc/xdr_rec.c: Likewise.
16021         * sunrpc/xdr_ref.c: Likewise.
16022         * sunrpc/xdr_sizeof.c: Likewise.
16023         * sunrpc/xdr_stdio.c: Likewise.
16025         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16026         handling.
16028 2010-08-19  Andreas Schwab  <schwab@redhat.com>
16030         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16032 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
16034         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16035         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16036         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16037         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16038         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16039         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16040         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16041         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16042         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16043         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16044         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16045         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16046         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16047         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16049 2010-07-26  Anton Blanchard  <anton@samba.org>
16051         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16052         * malloc/arena.c (heap_trim): Likewise.
16054 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
16056         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16057         here.  Not...
16058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16059         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16061 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16063         * sysdeps/i386/elf/Makefile: New file.
16065 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16067         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16068         from fanotify_init.
16069         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16072 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
16074         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16075         of strncasecmp_l.
16076         * sysdeps/multiarch/strcmp.S: Likewise.
16078 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
16080         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16081         strncase_l-nonascii.
16082         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16083         Add strncase_l-ssse3.
16084         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16085         * sysdeps/x86_64/strcmp.S: Likewise.
16086         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16087         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16088         * sysdeps/x86_64/strncase.S: New file.
16089         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16090         * sysdeps/x86_64/strncase_l.S: New file.
16091         * string/Makefile (strop-tests): Add strncasecmp.
16092         * string/test-strncasecmp.c: New file.
16094         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16095         warning.
16097         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16098         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16100 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16102         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16104 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
16106         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16107         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16108         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16110 2010-05-01  Alan Modra  <amodra@gmail.com>
16112         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16113         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16114         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16115         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16116         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16117         tidying.  Don't tail-call __sigjmp_save for static lib.
16118         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16119         save location.
16120         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16121         (CALL_MCOUNT): Add eh info, and nop after bl.
16122         (TAIL_CALL_SYSCALL_ERROR): New macro.
16123         (PSEUDO_RET): Use it.
16124         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16125         Correct save location of integer regs and cr.
16126         (_dl_profile_resolve): Correct cr save location.  Delete nops
16127         after bl when SHARED.  Reduce cfi size a little by better
16128         placement of cfi directives.
16129         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16130         make a stack frame.  Instead use parm save area as a temp.
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16132         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
16133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16134         Don't make a stack frame for parent, use parm save area.
16135         Increase child stack frame to 112 bytes.  Don't save unused reg,
16136         and adjust reg usage.  Set up cfi on error recovery and
16137         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16139         (__makecontext): Add dummy nop after jump to exit.
16140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16141         Use correct parm save area and cr save, reduce stack frame.
16142         Correct cfi for possible PSEUDO_RET frame setup.
16143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16144         Branch to local label emitted by PSEUDO_RET rather than
16145         __syscall_error.
16147 2010-08-12  Andreas Schwab  <schwab@redhat.com>
16149         [BZ #11904]
16150         * locale/programs/locale.c (print_assignment): New function.
16151         (show_locale_vars): Use it.
16153 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
16155         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16156         field.
16157         (struct statfs64): Likewise.
16158         (_STATFS_F_FLAGS): Define.
16159         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16160         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16161         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16162         (ST_VALID): Define locally.
16163         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16164         __statvfs_getflags, use the provided value.
16165         * sysdeps/unix/sysv/linux/kernel-features.h: Define
16166         __ASSUME_STATFS_F_FLAGS.
16168         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16170         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16171         Add sys/fanotify.h.
16172         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16173         fanotify_mask for GLIBC_2.13.
16174         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16175         fanotify_init and fanotify_mark.
16176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16177         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16179         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16180         Add prlimit.
16181         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16182         prlimit64 for GLIBC_2.13.
16183         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16184         prlimit64.
16185         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16186         syscall.
16187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16188         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16189         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16190         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
16192         add prlimit alias.
16193         * sysdeps/unix/sysv/linux/prlimit.c: New file.
16195         [BZ #11903]
16196         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16197         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16199         * nss/Makefile: Add rules to build and run tst-nss-test1.
16200         * shlib-versions: Add entry for libnss_test1.
16201         * nss/nss_test1.c: New file.
16202         * nss/tst-nss-test1.c: New file.
16204         * nss/nsswitch.c (__nss_database_custom): Define new variable.
16205         (__nss_configure_lookup): Set appropriate entry in
16206         __nss_configure_lookup to true.
16207         * nss/nsswitch.h: Define enum with indeces of databases in
16208         databases and __nss_database_custom arrays.  Declare
16209         __nss_database_custom.
16210         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16211         to avoid using nscd when custom rules are installed.
16212         * nss/getXXbyYY_r.c: Likewise.
16213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16215         * nss/nss_files/files-parse.c: Whitespace fixes.
16217 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
16219         [BZ #11883]
16220         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16221         * posix/fnmatch_loop.c: Likewise.
16223 2010-07-17  Andi Kleen  <ak@linux.intel.com>
16225         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16226         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16227         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16228         * Versions.def [GLIBC_2.13]: Add.
16230 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
16232         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16233         Also fail if tpwd after pwuid call is NULL.
16235 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16237         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16238         when converting to ms.
16240 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16242         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16243         EOPNOTSUPP errors with ENOTTY.
16244         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16245         EOPNOTSUPP errors with ENOTTY.
16247 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
16249         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16250         Add strcasecmp_l-ssse3.
16251         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16252         strcasecmp.
16253         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16254         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16255         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16257 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
16259         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16261         * string/Makefile (strop-tests): Add strcasecmp.
16262         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16263         strcasecmp_l-nonascii.
16264         (gen-as-const-headers): Add locale-defines.sym.
16265         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16266         * sysdeps/x86_64/strcasecmp.S: New file.
16267         * sysdeps/x86_64/strcasecmp_l.S: New file.
16268         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16269         * sysdeps/x86_64/locale-defines.sym: New file.
16270         * string/test-strcasecmp.c: New file.
16272         * string/test-strcasestr.c: Test both ends of the range of characters.
16273         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16275 2010-07-29  Roland McGrath  <roland@redhat.com>
16277         [BZ #11856]
16278         * manual/locale.texi (Yes-or-No Questions): Fix example code.
16280 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
16282         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16283         for ld.so.
16285 2010-07-27  Andreas Schwab  <schwab@redhat.com>
16287         * manual/memory.texi (Malloc Tunable Parameters): Document
16288         M_PERTURB.
16290 2010-07-26  Roland McGrath  <roland@redhat.com>
16292         [BZ #11840]
16293         * configure.in (-fgnu89-inline check): Set and substitute
16294         gnu89_inline, not libc_cv_gnu89_inline.
16295         * configure: Regenerated.
16296         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16298 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
16300         * string/test-strnlen.c: New file.
16301         * string/Makefile (strop-tests): Add strnlen.
16302         * string/tester.c (test_strnlen): Add a few more test cases.
16303         * string/tst-strlen.c: Better error reporting.
16305         * sysdeps/x86_64/strnlen.S: New file.
16307 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
16309         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16310         lower-latency instructions.
16312 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
16314         * string/test-strcasestr.c: New file.
16315         * string/test-strstr.c: New file.
16316         * string/Makefile (strop-tests): Add strstr and strcasestr.
16317         * string/str-two-way.h: Don't undefine MAX.
16318         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16320 2010-07-21  Andreas Schwab  <schwab@redhat.com>
16322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16323         strcasestr-nonascii.
16324         (CFLAGS-strcasestr-nonascii.c): Define.
16325         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16326         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16327         Remove unused attribute.
16329 2010-07-20  Roland McGrath  <roland@redhat.com>
16331         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16332         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
16333         ld.so.cache was broken.  With it, there is no way to disable dsocaps
16334         like LD_HWCAP_MASK can disable hwcaps.
16336 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16338         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16340 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
16342         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16343         call in strcasestr.
16344         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16345         __strcasestr_sse42_nonascii.
16346         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16347         strcasestr-nonascii.c.
16348         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16350 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
16352         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16353         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16354         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16355         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16357 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
16359         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16360         fcntl.
16362 2010-07-06  Andreas Schwab  <schwab@redhat.com>
16364         [BZ #11577]
16365         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16366         dl_signal_cerror.
16368 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
16370         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16371         _PC_PIPE_BUF using F_GETPIPE_SZ.
16373 2010-07-05  Roland McGrath  <roland@redhat.com>
16375         * manual/arith.texi (Rounding Functions): Fix rint description
16376         implicit in round description.
16378 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
16380         * elf/Makefile: Fix linking for a few tests to make recent linker
16381         happy.
16383 2010-06-30  Andreas Schwab  <schwab@redhat.com>
16385         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16386         $(common-objpfx)libc_nonshared.a.
16388 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
16390         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16391         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16392         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16393         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16394         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16395         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16396         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16397         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16412         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16413         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16414         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16415         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16416         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16417         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16418         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16419         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16420         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16421         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16422         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16423         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16439 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16441         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16442         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
16443         * string/memmove.c (memmove): Renamed to ...
16444         (MEMMOVE): ...this.  Default to memmove.
16445         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16446         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16447         (END_CHK): Define.
16448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16449         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16450         mempcpy-ssse3-back memmove-ssse3-back.
16451         * sysdeps/x86_64/multiarch/bcopy.S: New file .
16452         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16453         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16454         * sysdeps/x86_64/multiarch/memcpy.S: New file.
16455         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16456         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16457         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16458         * sysdeps/x86_64/multiarch/memmove.c: New file.
16459         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16460         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16461         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16462         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16463         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16465         Define.
16466         (index_Fast_Copy_Backward): Define.
16467         (HAS_ARCH_FEATURE): Define.
16468         (HAS_FAST_REP_STRING): Define.
16469         (HAS_FAST_COPY_BACKWARD): Define.
16471 2010-06-21  Andreas Schwab  <schwab@redhat.com>
16473         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16474         Restore proper fallback handling.
16476 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
16478         [BZ #11701]
16479         * posix/group_member.c (__group_member): Correct checking loop.
16481         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16482         OOM in getpwuid_r correctly.  Return error number when the caller
16483         should return, otherwise -1.
16484         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16485         call returning > 0 value.
16486         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16488 2010-06-07  Andreas Schwab  <schwab@redhat.com>
16490         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16491         libc_nonshared.a from targets in modules-names.
16493 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
16495         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16496         requires it.
16498 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
16500         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16501         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16502         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16503         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16505 2010-06-02  Andreas Schwab  <schwab@redhat.com>
16507         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16509 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
16511         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16512         and F_GETPIPE_SZ.
16513         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16514         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16516         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16517         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16518         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16520 2010-06-14  Roland McGrath  <roland@redhat.com>
16522         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16524 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
16526         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16527         __REDIRECT followed by __THROW.
16528         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16529         * posix/getopt.h (getopt): Likewise.
16531 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16533         * hurd/lookup-at.c (__file_name_lookup_at): Accept
16534         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
16535         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16536         in AT_FLAGS.
16537         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16538         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16540 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
16542         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16544 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
16546         [BZ #11640]
16547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16548         Properly check family and model.
16550 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
16552         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16554 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
16556         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16558 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
16560         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16561         symbol reference.
16563 2010-05-19  Andreas Schwab  <schwab@redhat.com>
16565         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16566         symbol reference.
16568 2010-05-21  Andreas Schwab  <schwab@redhat.com>
16570         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16571         and internal_recvmmsg.
16572         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16573         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16574         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16575         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16577         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16578         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16579         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16581 2010-05-20  Andreas Schwab  <schwab@redhat.com>
16583         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16585 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
16587         POWER7 optimizations.
16588         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16589         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16591 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
16593         * version.h: Update for 2.13 development version.
16595 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
16597         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16598         exceptions.  Return 0.
16600 2010-05-07  Roland McGrath  <roland@redhat.com>
16602         * elf/ldconfig.c (main): Add a const.
16604 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
16606         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16607         (args_options): Add no-idn option.
16608         (ahosts_keys_int): Add idn_flags to ai_flags.
16609         (parse_option): Handle 'i' option to clear idn_flags.
16611         * malloc/malloc.c (_int_free): Possible race in the most recently
16612         added check.  Only act on the data if no current modification
16613         happened.
16615 See ChangeLog.17 for earlier changes.