Use i386 bits/wchar.h for i386 and x86-64
[glibc.git] / ChangeLog
blob8cc25ef497f342cc1068e729baf90d365f469f22
1 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #14117]
4         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
5         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
14         [BZ #14117]
15         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16         <bits/wordsize.h>.
17         (__WCHAR_MIN): Support __WORDSIZE == 64.
18         (__WCHAR_MAX): Likewise.
20         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23         [BZ #14183]
24         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27         [BZ #14117]
28         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35         Defined to 1 if __x86_64__ isn't defined.
36         (_STAT_VER_LINUX_OLD): New.
37         (st_atime): Remove duplicate.
38         (st_mtime): Likewise.
39         (st_ctime): Likewise.
41 2012-05-31  David S. Miller  <davem@davemloft.net>
43         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44         entries.
46 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49         gen-libm-test.pl.
51         [BZ #14132]
52         * elf/dl-reloc.c: Include <_itoa.h>.
53         (_dl_reloc_bad_type): Remove use of INTUSE.
54         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56         * stdio-common/psiginfo.c (psiginfo): Likewise.
57         * stdio-common/psignal.c (psignal): Likewise.
58         * string/strsignal.c (strsignal): Likewise.
59         * include/signal.h (_sys_siglist): Declare hidden proto.
60         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61         INTVARDEF with libc_hidden_data_def.
62         * stdio-common/itoa-udigits.c: Likewise.
63         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64         (_itoa_lower_digits_internal): Remove declaration.
65         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67         (_sys_sigabbrev_internal): Remove aliases.
68         (_sys_siglist): Define hidden alias.
70 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73         bits/sysctl.h.
75 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77         [BZ #14117]
78         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
79         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
81         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
82         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
83         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
84         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
85         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
86         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
88         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
89         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
90         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
92         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
93         with __addr.
94         (insw): Likewise.
95         (insl): Likewise.
96         (outsb): Likewise.
97         (outsw): Likewise.
98         (outsl): Likewise.
100         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
101         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
102         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
104         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
105         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
106         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
107         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
108         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
109         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
111         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
112         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
114         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
115         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
117         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
118         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
119         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
121         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
122         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
123         to ...
124         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
126         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
127         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
128         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
130         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
131         for x86-64.
132         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
134 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
136         * math/math.h (M_El): Use two more decimal places.
137         (M_LOG2El): Likewise.
138         (M_LOG10El): Likewise.
139         (M_LN2l): Likewise.
140         (M_LN10l): Likewise.
141         (M_PIl): Likewise.
142         (M_PI_2l): Likewise.
143         (M_PI_4l): Likewise.
144         (M_1_PIl): Likewise.
145         (M_2_PIl): Likewise.
146         (M_2_SQRTPIl): Likewise.
147         (M_SQRT2l): Likewise.
148         (M_SQRT1_2l): Likewise.
150 2012-05-31  David S. Miller  <davem@davemloft.net>
152         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
153         values between float registers.
154         * sysdeps/sparc/sparc64/memset.S: Likewise.
155         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
157 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
159         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
160         -D_FORTIFY_SOURCE=1.
161         (CPPFLAGS-tst-longjmp_chk.c): Define.
162         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
163         (CPPFLAGS-tst-longjmp_chk2.c): Define.
164         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
165         CFLAGS-tst-wchar-h.c.
167 2012-05-31  Marek Polacek  <polacek@redhat.com>
169         [BZ #14132]
170         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
171         __endmntent_internal): Remove declaration.
172         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
173         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
174         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
176 2012-05-30  David S. Miller  <davem@davemloft.net>
178         * sysdeps/sparc/sparc32/soft-fp/q_util.c
179         (___Q_simulate_exceptions): Use real FP ops rather than writing
180         into the %fsr.
181         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
182         Likewise.
184 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
186         [BZ #14117]
187         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
188         * sysdeps/x86/bits/xtitypes.h: This.
190         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
191         * sysdeps/x86/bits/wordsize.h: This.
193         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
194         * sysdeps/x86/bits/huge_vall.h: This.
196         * sysdeps/i386/bits/select.h: Removed.
197         * sysdeps/x86_64/bits/select.h: Renamed to ...
198         * sysdeps/x86/bits/select.h: This.
200         * sysdeps/i386/bits/setjmp.h: Removed.
201         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
202         * sysdeps/x86/bits/setjmp.h: This.
204         * sysdeps/i386/bits/mathdef.h: Removed.
205         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
206         * sysdeps/x86/bits/mathdef.h: This.
208 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
210         [BZ #14132]
211         * include/sys/socket.h (__connect_internal)
212         (__libc_sa_len_internal): Remove declaration.
213         (__connect, __libc_sa_len): Declare hidden_proto.
214         (SA_LEN): Remove use of INTUSE.
215         * socket/connect.c: Add libc_hidden_def.
216         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
217         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
218         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
219         alias.
220         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
221         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
222         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
223         of adding _internal alias.
225 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
227         [BZ #14117]
228         * sysdeps/i386/bits/link.h: Removed.
229         * sysdeps/i386/bits/linkmap.h: Likewise.
230         * sysdeps/x86_64/bits/link.h: Renamed to ...
231         * sysdeps/x86/bits/link.h: This.
232         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
233         * sysdeps/x86/bits/linkmap.h: This.
235         * sysdeps/i386/bits/endian.h: Removed.
236         * sysdeps/x86_64/bits/endian.h: Renamed to ...
237         * sysdeps/x86/bits/endian.h: This.
239         * sysdeps/i386/bits/byteswap.h: Removed.
240         * sysdeps/i386/bits/byteswap-16.h: Likewise.
241         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
242         * sysdeps/x86/bits/byteswap.h: This.
243         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
244         * sysdeps/x86/bits/byteswap-16.h: This.
245         * sysdeps/i386/Implies: Add x86.
246         * sysdeps/x86_64/Implies: Likewise.
248 2012-05-30  David S. Miller  <davem@davemloft.net>
250         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
251         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
252         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
253         (FP_TRAPPING_EXCEPTIONS): Define.
254         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
255         (FP_TRAPPING_EXCEPTIONS): Define.
256         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
257         subnormals only when inexact has been signalled or underflow
258         exceptions are enabled.
259         (_FP_PACK_CANONICAL): Likewise.
261 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
263         [BZ #14183]
264         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
265         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
267 2012-05-30  Richard Henderson  <rth@twiddle.net>
269         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
270         with #ifndef NOT_IN_libc.
272         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
273         marked to avoid plt entry.
275 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
277         [BZ #14112]
278         * Makeconfig (default-abi): New macro.
279         (abi-includes): Likewise.
280         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
281         $(abi-$(default-abi)-lib-soname) for soname if defined.
282         ($(common-objpfx)gnu/lib-names.stmp): Generate from
283         abi-variants.
284         * Makefile (installed-stubs): Likewise.
285         * include/stubs-biarch.h: Removed.
286         * scripts/lib-names.awk: Only handle one library at a time.
287         * scripts/soversions.awk: Remove WORDSIZE support.
288         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
289         entries.
290         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
291         Removed.
292         (syscall-list-default-condition): Likewise.
293         (syscall-list-default-condition): Likewise.
294         (syscall-list-includes): Likewise.
295         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
296         syscall-list-* with abi-*.  Handle undefined abi-variants.
297         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
298         * sysdeps/unix/sysv/linux/i386/Implies: New file.
299         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
300         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
301         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
302         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
303         Removed.
304         (syscall-list-32-options): Likewise.
305         (syscall-list-32-condition): Likewise.
306         (syscall-list-64-options): Likewise.
307         (syscall-list-64-condition): Likewise.
308         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
309         macro.
310         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
311         Renamed to ...
312         (abi-*): This.
313         (abi-64-ld-soname): New macro.
314         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
315         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
316         Renamed to ...
317         (abi-*): This.
318         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
319         * sysdeps/x86_64/x32/shlib-versions: Likewise.
321 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
323         * sysdeps/unix/sysv/linux/kernel-features.h
324         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
325         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
326         include <kernel-features.h>.
327         [!__NR_ftruncate64]: Remove conditional code.
328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
329         [__NR_ftruncate64]: Make code unconditional.
330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
331         * sysdeps/unix/sysv/linux/truncate64.c: Do not
332         include <kernel-features.h>.
333         [!__NR_ftruncate64]: Remove conditional code.
334         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
335         [__NR_ftruncate64]: Make code unconditional.
336         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
338         include <kernel-features.h>.
339         [!__NR_ftruncate64]: Remove conditional code.
340         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
341         [__NR_ftruncate64]: Make code unconditional.
342         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
344         include <kernel-features.h>.
345         [!__NR_ftruncate64]: Remove conditional code.
346         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
347         [__NR_ftruncate64]: Make code unconditional.
348         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
350         * configure.in (libc_cv_fpie): Weaken to a compile test using
351         LIBC_TRY_CC_OPTION.
352         * configure: Regenerated.
354 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
360         Refreshed.
361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
367         Refreshed.
369 2012-05-27  David S. Miller  <davem@davemloft.net>
371         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
372         (___Q_zero): New.
373         (__Q_simulate_exceptions): Return void.  Change to simulate
374         exceptions by writing into the %fsr.
375         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
376         (__Qp_handle_exceptions): Likewise.
377         (numbers): Delete.
378         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
379         __Qp_handle_exceptions.
380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
381         __Qp_handle_exceptions.
382         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
383         as unused and give dummy FP_RND_NEAREST initializer.
384         (FP_INHIBIT_RESULTS): Define.
385         (___Q_simulate_exceptions): Update declaration.
386         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
387         formatting.
388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
389         as unused and give dummy FP_RND_NEAREST initializer.
390         (__Qp_handle_exceptions): Update declaration.
391         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
392         formatting.
394 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
396         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
397         the temporary FPU control word.
398         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
399         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
400         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
401         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
402         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
403         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
404         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
405         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
406         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
407         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
408         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
410 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
412         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
413         fields.
415 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
417         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
418         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
419         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
420         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
421         Likewise.
422         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
423         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
424         Likewise.
426 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
428         * po/h.po: Update from translation team.
430 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
432         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
434         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
435         handling of denormals.
436         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
437         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
438         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
439         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
440         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
441         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
442         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
443         Likewise.
445 2012-05-26  Marek Polacek  <polacek@redhat.com>
447         [BZ #14152]
448         * math/libm-test.inc (fma_test): Don't always expect underflow
449         exception.
451 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
453         [BZ #12416]
454         * elf/tst-execstack.c: Include stackinfo.h.
455         (do_test): Adjust test case to ensure that pthread_getattr_np
456         behaviour remains the same after marking stack executable.
458 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
460         * sysdeps/unix/sysv/linux/kernel-features.h
461         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
462         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
463         kernel-features.h.
464         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
465         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
466         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
467         kernel-features.h.
468         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
469         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
471 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
473         * configure.in: Define the default includes to being none.
474         * configure: Regenerated.
476 2012-05-25  Roland McGrath  <roland@hack.frob.com>
478         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
479         * sysdeps/x86_64/setjmp.S: Likewise.
480         * sysdeps/i386/bsd-setjmp.S: Likewise.
481         * sysdeps/i386/bsd-_setjmp.S: Likewise.
482         * sysdeps/i386/setjmp.S: Likewise.
483         * sysdeps/i386/__longjmp.S: Likewise.
484         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
485         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
487         * include/stap-probe.h: New file.
488         * configure.in: Handle --enable-systemtap.
489         * configure: Regenerated.
490         * config.h.in (USE_STAP_PROBE): New #undef.
491         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
492         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
493         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
495 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
497         [BZ #13717]
498         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
499         to 2.4.0 where earlier.
500         * sysdeps/unix/sysv/linux/configure: Regenerated.
501         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
502         <kernel-features.h>.
503         [__ASSUME_32BITUIDS]: Make code unconditional.
504         [!__ASSUME_32BITUIDS]: Remove conditional code.
505         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
506         <kernel-features.h>.
507         [__ASSUME_32BITUIDS]: Make code unconditional.
508         [!__ASSUME_32BITUIDS]: Remove conditional code.
509         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
510         [__ASSUME_32BITUIDS]: Make code unconditional.
511         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
512         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
513         <kernel-features.h>.
514         [__ASSUME_32BITUIDS]: Make code unconditional.
515         [!__ASSUME_32BITUIDS]: Remove conditional code.
516         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
517         <kernel-features.h>.
518         [__ASSUME_32BITUIDS]: Make code unconditional.
519         [!__ASSUME_32BITUIDS]: Remove conditional code.
520         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
521         <kernel-features.h>.
522         [__ASSUME_32BITUIDS]: Make code unconditional.
523         [!__ASSUME_32BITUIDS]: Remove conditional code.
524         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
525         <kernel-features.h>.
526         [__ASSUME_32BITUIDS]: Make code unconditional.
527         [!__ASSUME_32BITUIDS]: Remove conditional code.
528         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
529         <kernel-features.h>.
530         [__ASSUME_32BITUIDS]: Make code unconditional.
531         [!__ASSUME_32BITUIDS]: Remove conditional code.
532         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
533         <kernel-features.h>.
534         [__ASSUME_32BITUIDS]: Make code unconditional.
535         [!__ASSUME_32BITUIDS]: Remove conditional code.
536         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
537         <kernel-features.h>.
538         [__ASSUME_32BITUIDS]: Make code unconditional.
539         [!__ASSUME_32BITUIDS]: Remove conditional code.
540         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
541         <kernel-features.h>.
542         [__ASSUME_32BITUIDS]: Make code unconditional.
543         [!__ASSUME_32BITUIDS]: Remove conditional code.
544         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
545         <kernel-features.h>.
546         [__ASSUME_32BITUIDS]: Make code unconditional.
547         [!__ASSUME_32BITUIDS]: Remove conditional code.
548         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
549         <kernel-features.h>.
550         [__ASSUME_32BITUIDS]: Make code unconditional.
551         [!__ASSUME_32BITUIDS]: Remove conditional code.
552         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
553         <kernel-features.h>.
554         [__NR_setresgid] (__setresgid): Do not declare.
555         [__ASSUME_32BITUIDS]: Make code unconditional.
556         [!__ASSUME_32BITUIDS]: Remove conditional code.
557         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
558         <kernel-features.h>.
559         [__NR_setresuid] (__setresuid): Do not declare.
560         [__ASSUME_32BITUIDS]: Make code unconditional.
561         [!__ASSUME_32BITUIDS]: Remove conditional code.
562         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
563         <kernel-features.h>.
564         [__ASSUME_32BITUIDS]: Make code unconditional.
565         [!__ASSUME_32BITUIDS]: Remove conditional code.
566         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
567         <kernel-features.h>.
568         [__ASSUME_32BITUIDS]: Make code unconditional.
569         [!__ASSUME_32BITUIDS]: Remove conditional code.
570         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
571         <kernel-features.h>.
572         [__ASSUME_32BITUIDS]: Make code unconditional.
573         [!__ASSUME_32BITUIDS]: Remove conditional code.
574         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
575         <kernel-features.h>.
576         [__ASSUME_32BITUIDS]: Make code unconditional.
577         [!__ASSUME_32BITUIDS]: Remove conditional code.
578         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
579         <kernel-features.h>.
580         [__ASSUME_32BITUIDS]: Make code unconditional.
581         [!__ASSUME_32BITUIDS]: Remove conditional code.
582         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
583         <kernel-features.h>.
584         [__ASSUME_32BITUIDS]: Make code unconditional.
585         [!__ASSUME_32BITUIDS]: Remove conditional code.
586         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
587         <kernel-features.h>.
588         [__ASSUME_32BITUIDS]: Make code unconditional.
589         [!__ASSUME_32BITUIDS]: Remove conditional code.
590         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
591         <kernel-features.h>.
592         [__ASSUME_32BITUIDS]: Make code unconditional.
593         [!__ASSUME_32BITUIDS]: Remove conditional code.
594         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
595         <kernel-features.h>.
596         [__ASSUME_32BITUIDS]: Make code unconditional.
597         [!__ASSUME_32BITUIDS]: Remove conditional code.
598         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
599         <kernel-features.h>.
600         [__ASSUME_32BITUIDS]: Make code unconditional.
601         [!__ASSUME_32BITUIDS]: Remove conditional code.
602         * sysdeps/unix/sysv/linux/kernel-features.h
603         (__ASSUME_SETRESUID_SYSCALL): Remove.
604         (__ASSUME_SETRESGID_SYSCALL): Likewise.
605         (__ASSUME_32BITUIDS): Likewise.
606         (__ASSUME_LDT_WORKS): Likewise.
607         (__ASSUME_O_DIRECTORY): Likewise.
608         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
609         architecture but not kernel version.
610         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
611         (__ASSUME_MMAP2_SYSCALL): Likewise.
612         (__ASSUME_STAT64_SYSCALL): Likewise.
613         (__ASSUME_IPC64): Likewise.
614         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
615         <kernel-features.h>.
616         [__ASSUME_32BITUIDS]: Make code unconditional.
617         [!__ASSUME_32BITUIDS]: Remove conditional code.
618         * sysdeps/unix/sysv/linux/opendir.c: Do not include
619         <kernel-features.h>.
620         [__ASSUME_O_DIRECTORY]: Make code unconditional.
621         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
622         132096]: Remove conditional code.
623         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
624         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
625         <kernel-features.h>.
626         [__ASSUME_32BITUIDS]: Make code unconditional.
627         [!__ASSUME_32BITUIDS]: Remove conditional code.
628         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
629         <kernel-features.h>.
630         [__ASSUME_32BITUIDS]: Make code unconditional.
631         [!__ASSUME_32BITUIDS]: Remove conditional code.
632         * sysdeps/unix/sysv/linux/setegid.c: Do not include
633         <kernel-features.h>.
634         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
635         unconditional.
636         (__setresgid): Do not declare.
637         [__ASSUME_32BITUIDS]: Make code unconditional.
638         [!__ASSUME_32BITUIDS]: Remove conditional code.
639         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
640         <kernel-features.h>.
641         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
642         unconditional.
643         (__setresuid): Do not declare.
644         [__ASSUME_32BITUIDS]: Make code unconditional.
645         [!__ASSUME_32BITUIDS]: Remove conditional code.
646         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
647         <kernel-features.h>.
648         [__ASSUME_32BITUIDS]: Make code unconditional.
649         [!__ASSUME_32BITUIDS]: Remove conditional code.
650         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
651         <kernel-features.h>.
652         [__ASSUME_32BITUIDS]: Make code unconditional.
653         [!__ASSUME_32BITUIDS]: Remove conditional code.
655 2012-05-25  Richard Henderson  <rth@twiddle.net>
657         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
658         dl_hwcap to ifunc resolver.
659         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
660         elf_ifunc_invoke.
661         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
662         dl_hwcap to ifunc resolver.
663         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
665 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
667         [BZ #14153]
668         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
669         for |x| <= 2**-26, not 2**-57.
670         * math/libm-test.inc (acos_test): Do not allow spurious underflow
671         exception.
673 2012-05-24  Jeff Law  <law@redhat.com>
675         * stdio-common/Makefile (tests): Add bug25.
676         * stdio-common/bug25.c: New test.
678 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
680         [BZ #13576]
681         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
682         multiple of MALLOC_ALIGNMENT in size.
683         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
685 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
687         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
688         Require >= 256.
689         (FILENAME_MAX): Use macro-int-constant.
690         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
691         (_IOFBF): Use macro-int-constant.
692         (_IOLBF): Likewise.
693         (_IONBF): Likewise.
694         (SEEK_CUR): Likewise.
695         (SEEK_END): Likewise.
696         (SEEK_SET): Likewise.
697         (TMP_MAX): Likewise.
698         (EOF): Use macro-int-constant.  Require < 0.
699         (NULL): Use macro-constant.  Require == 0.
700         (stdin): Require type to be FILE *.
701         (stdout): Likewise.
702         (stderr): Likewise.
703         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
704         macro-int-constant.
705         (EXIT_SUCCESS): Likewise.
706         (NULL): Use macro-constant.  Require == 0.
707         (RAND_MAX): Use macro-int-constant.
708         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
709         [C99-based standards] (strtof): Require function.
710         [C99-based standards] (strtold): Likewise.
711         [C99-based standards] (strtoll): Likewise.
712         [C99-based standards] (strtoull): Likewise.
713         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
714         [ISO || ISO99 || ISO11] (limits.h): Likewise.
715         [ISO || ISO99 || ISO11] (math.h): Likewise.
716         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
717         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
718         [ISO || ISO99 || ISO11] (*_t): Do not allow.
720 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
722         [BZ #14132]
723         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
724         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
725         * intl/dgettext.c (DCGETTEXT): Likewise.
726         * intl/gettext.c (DCGETTEXT): Likewise.
727         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
728         * posix/regex_internal.h (gettext): Likewise.
729         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
730         Remove declaration.
731         * include/argz.h (__argz_count_internal)
732         (__argz_stringify_internal): Remove declaration.
733         (__argz_count, __argz_stringify): Declare hidden proto.
734         * intl/dcgettext.c: Remove use of INTDEF.
735         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
736         * string/argz-stringify.c: Likewise.
737         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
738         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
739         Declare hidden proto.
740         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
741         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
742         Declare hidden proto.
743         * include/stdio.h (__asprintf_internal): Don't declare.
744         (__asprintf): Don't define as macro.  Declare hidden proto.
745         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
746         (__fsetlocking): Declare hidden proto.
747         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
748         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
749         hidden proto.
750         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
751         (_IO_setlinebuf): Remove use of INTUSE.
752         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
753         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
754         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
755         Remove declaration.
756         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
757         (_IO_do_flush): Remove use of INTUSE.
758         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
759         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
760         (_IO_adjust_column, _IO_least_wmarker)
761         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
762         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
763         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
764         (_IO_default_doallocate, _IO_wdefault_doallocate)
765         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
766         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
767         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
768         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
769         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
770         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
771         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
772         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
773         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
774         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
775         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
776         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
777         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
778         proto.
779         (_IO_flush_all_internal, _IO_adjust_column_internal)
780         (_IO_default_uflow_internal, _IO_default_finish_internal)
781         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
782         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
783         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
784         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
785         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
786         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
787         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
788         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
789         (_IO_file_close_internal, _IO_file_close_it_internal)
790         (_IO_file_underflow_internal, _IO_file_overflow_internal)
791         (_IO_file_init_internal, _IO_file_attach_internal)
792         (_IO_file_fopen_internal, _IO_file_read_internal)
793         (_IO_file_sync_internal, _IO_file_seek_internal)
794         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
795         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
796         (_IO_str_underflow_internal, _IO_str_overflow_internal)
797         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
798         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
799         (_IO_list_all_internal, _IO_link_in_internal)
800         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
801         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
802         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
803         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
804         (_IO_do_write_internal, _IO_padn_internal)
805         (_IO_getline_info_internal, _IO_getline_internal)
806         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
807         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
808         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
809         (_IO_vfscanf_internal, _IO_vfprintf_internal)
810         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
811         (_IO_init_internal, _IO_un_link_internal): Don't declare.
812         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
813         with libc_hidden_ver, remove use of INTUSE.
814         * libio/genops.c: Likewise.
815         * libio/freopen.c: Likewise.
816         * libio/freopen64.c: Likewise.
817         * libio/iofclose.c: Likewise.
818         * libio/iofdopen.c: Likewise.
819         * libio/iofflush.c: Likewise.
820         * libio/iofflush_u.c: Likewise.
821         * libio/iofgets.c: Likewise.
822         * libio/iofgets_u.c: Likewise.
823         * libio/iofopen.c: Likewise.
824         * libio/iofopncook.c: Likewise.
825         * libio/iofread.c: Likewise.
826         * libio/iofread_u.c: Likewise.
827         * libio/ioftell.c: Likewise.
828         * libio/iofwrite.c: Likewise.
829         * libio/iogetline.c: Likewise.
830         * libio/iogets.c: Likewise.
831         * libio/iogetwline.c: Likewise.
832         * libio/iopadn.c: Likewise.
833         * libio/iopopen.c: Likewise.
834         * libio/ioseekoff.c: Likewise.
835         * libio/ioseekpos.c: Likewise.
836         * libio/iosetbuffer.c: Likewise.
837         * libio/iosetvbuf.c: Likewise.
838         * libio/ioungetc.c: Likewise.
839         * libio/ioungetwc.c: Likewise.
840         * libio/iovdprintf.c: Likewise.
841         * libio/iovsprintf.c: Likewise.
842         * libio/iovsscanf.c: Likewise.
843         * libio/memstream.c: Likewise.
844         * libio/obprintf.c: Likewise.
845         * libio/oldfileops.c: Likewise.
846         * libio/oldiofclose.c: Likewise.
847         * libio/oldiofdopen.c: Likewise.
848         * libio/oldiofopen.c: Likewise.
849         * libio/oldiopopen.c: Likewise.
850         * libio/oldstdfiles.c: Likewise.
851         * libio/putc.c: Likewise.
852         * libio/setbuf.c: Likewise.
853         * libio/setlinebuf.c: Likewise.
854         * libio/stdfiles.c: Likewise.
855         * libio/strops.c: Likewise.
856         * libio/vasprintf.c: Likewise.
857         * libio/vscanf.c: Likewise.
858         * libio/vsnprintf.c: Likewise.
859         * libio/vswprintf.c: Likewise.
860         * libio/wfiledoalloc.c: Likewise.
861         * libio/wfileops.c: Likewise.
862         * libio/wgenops.c: Likewise.
863         * libio/wmemstream.c: Likewise.
864         * libio/wstrops.c: Likewise.
865         * libio/__fpurge.c: Likewise.
866         * libio/__fsetlocking.c: Likewise.
867         * assert/assert.c: Likewise.
868         * debug/fgets_chk.c: Likewise.
869         * debug/fgets_u_chk.c: Likewise.
870         * debug/fread_chk.c: Likewise.
871         * debug/fread_u_chk.c: Likewise.
872         * debug/gets_chk.c: Likewise.
873         * debug/obprintf_chk.c: Likewise.
874         * debug/vasprintf_chk.c: Likewise.
875         * debug/vdprintf_chk.c: Likewise.
876         * debug/vsnprintf_chk.c: Likewise.
877         * debug/vsprintf_chk.c: Likewise.
878         * malloc/mtrace.c: Likewise.
879         * misc/error.c: Likewise.
880         * misc/syslog.c: Likewise.
881         * stdio-common/asprintf.c: Likewise.
882         * stdio-common/fxprintf.c: Likewise.
883         * stdio-common/getw.c: Likewise.
884         * stdio-common/isoc99_fscanf.c: Likewise.
885         * stdio-common/isoc99_scanf.c: Likewise.
886         * stdio-common/isoc99_vfscanf.c: Likewise.
887         * stdio-common/isoc99_vscanf.c: Likewise.
888         * stdio-common/isoc99_vsscanf.c: Likewise.
889         * stdio-common/printf-prs.c: Likewise.
890         * stdio-common/printf_fp.c: Likewise.
891         * stdio-common/printf_fphex.c: Likewise.
892         * stdio-common/printf_size.c: Likewise.
893         * stdio-common/putw.c: Likewise.
894         * stdio-common/scanf.c: Likewise.
895         * stdio-common/sprintf.c: Likewise.
896         * stdio-common/tmpfile.c: Likewise.
897         * stdio-common/vfprintf.c: Likewise.
898         * stdio-common/vfscanf.c: Likewise.
899         * stdlib/strfmon_l.c: Likewise.
900         * sunrpc/openchild.c: Likewise.
901         * sunrpc/xdr_stdio.c: Likewise.
902         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
903         * sysdeps/mach/hurd/tmpfile.c: Likewise.
905 2012-05-24  Roland McGrath  <roland@hack.frob.com>
907         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
909         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
910         in the third column, to generate for the shared library an IFUNC
911         that uses _dl_vdso_vsym.
912         * Makerules (COMPILE.c, compile-stdin.c): New variables.
913         * Makeconfig (object-suffixes-noshared): New variable.
915         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
916         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
917         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
918         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
920         [BZ #14132]
921         * include/sys/time.h (__gettimeofday): Remove macro.
922         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
923         * time/gettimeofday.c (__gettimeofday): Remove #undef.
924         Remove INTDEF.
925         (__gettimeofday): Add libc_hidden_def.
926         (gettimeofday): Add libc_hidden_weak.
927         * sysdeps/mach/gettimeofday.c: Likewise.
928         * sysdeps/posix/gettimeofday.c: Likewise.
929         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
930         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
932         (__gettimeofday_internal): Remove strong_alias.
933         (__gettimeofday): Add libc_hidden_def.
934         (gettimeofday): Add libc_hidden_weak.
935         * sysdeps/unix/syscalls.list (gettimeofday):
936         Remove __gettimeofday_internal alias.
938 2012-05-24  Daniel Jacobowitz  <drow@false.org>
939             H.J. Lu  <hongjiu.lu@intel.com>
941         [BZ #12495]
942         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
943         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
944         (largebin_index_32_big): New.
945         (largebin_index): Use it for 16-byte alignment.
946         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
947         correction with front_misalign.
949 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
953         Likewise.
954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
955         Likewise.
956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
957         Likewise.
958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
959         Likewise.
960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
961         Likewise.
962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
963         Likewise.
964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
965         Likewise.
966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
967         Likewise.
968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
969         Likewise.
970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
971         Likewise.
972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
973         Likewise.
974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
975         Likewise.
977         * scripts/data/c++-types-x32-linux-gnu.data: New file.
978         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
980 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
982         [BZ #10846]
983         [BZ #14036]
984         * math/libm-test.inc (exp_test): Add test from bug 14036.
985         (pow_test): Add test from bug 10846.
987         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
988         and other flags.
989         (special_function): Do not include flags in test name.
990         (parse_args): Likewise.
991         * sysdeps/i386/fpu/libm-test-ulps: Update.
992         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
993         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
994         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
997         * math/gen-libm-test.pl (%beautify): Add entries for underflow
998         exceptions.
999         * math/libm-test.inc ("Philosophy"): Update comment about
1000         exception testing.
1001         (UNDERFLOW_EXCEPTION): New macro.
1002         (UNDERFLOW_EXCEPTION_OK): Likewise.
1003         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1004         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1005         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1006         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1007         (INVALID_EXCEPTION_OK): Update value.
1008         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1009         (OVERFLOW_EXCEPTION_OK): Likewise.
1010         (IGNORE_ZERO_INF_SIGN): Likewise.
1011         (test_exceptions): Handle underflow exceptions.
1012         (acos_test): Update for underflow exception expectations.
1013         (cexp_test): Likewise.
1014         (clog_test): Likewise.
1015         (clog10_test): Likewise.
1016         (csqrt_test): Likewise.
1017         (ctan_test): Likewise.
1018         (ctanh_test): Likewise.
1019         (exp_test): Likewise.
1020         (exp10_test): Likewise.
1021         (exp2_test): Likewise.
1022         (expm1_test): Likewise.
1023         (fma_test): Likewise.
1024         (j0_test): Likewise.
1025         (jn_test): Likewise.
1026         (nexttoward_test): Likewise.
1027         (pow_test): Likewise.
1028         (scalbn_test): Likewise.
1029         (scalbln_test): Likewise.
1030         (tan_test): Likewise.
1031         (y1_test): Likewise.
1032         * sysdeps/i386/fpu/libm-test-ulps: Update.
1033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1035 2012-05-23  David S. Miller  <davem@davemloft.net>
1037         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1038         (__libc_sigaction): Remove unused local variables.
1040 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1042         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1044 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
1046         mktime: avoid signed integer overflow
1047         * time/mktime.c (__mktime_internal): Do not mishandle the case
1048         where diff == INT_MIN.
1050         mktime: simplify computation of average
1051         * time/mktime.c (ranged_convert): Use new time_t_avg function
1052         instead of rolling our own (probably-slower) code.
1054         mktime: do not assume signed right shift propagates sign bit
1055         * time/mktime.c (isdst_differ): New static function.
1056         (__mktime_internal): No need to normalize tm_isdst now.
1057         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1058         tm_isdst values.
1060         mktime: merge another wrapv change from gnulib
1061         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1062         from some compilers.
1064         mktime: remove incorrect attempt at unusual arithmetics
1065         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1066         The code didn't really work on such machines anyway.
1067         (TYPE_MINIMUM): Assume two's complement.
1068         (twos_complement_arithmetic): Verify that long_int and time_t
1069         are two's complement (or unsigned, in the latter case).
1071         mktime: check signed shifts on long_int and time_t, too
1072         * time/mktime.c (SHR): Check that shifts work as desired
1073         on the types long_int and time_t too, as SHR is used on
1074         such types.
1076         mktime: do not assume 'long' is wide enough
1077         * time/mktime.c (verify): Move decl up.
1078         (long_int): New type.
1079         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1080         to remove assumption in the code that 'long' is wide enough to
1081         store year values.  This assumption is not true on x32 and on
1082         some non-glibc platforms.
1084         mktime: merge wrapv change from gnulib
1085         * time/mktime.c (WRAPV): New macro.
1086         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1087         (guess_time_tm, __mktime_internal): Do not assume that signed
1088         integer overflow wraps around; modern compilers generate code
1089         where this assumption is no longer valid.
1091 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1093         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1094         Replace "jmp L(pseudo_end)" with "ret".
1095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1096         Likewise.
1098 2012-05-23  Andreas Jaeger  <aj@suse.de>
1100         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1101         * sysdeps/unix/sysv/linux/poll.c: Remove file.
1103 2012-05-23  Andreas Jaeger  <aj@suse.de>
1104             Maximilian Attems  <max@stro.at>
1106         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1107         New macros.
1109 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
1111         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1112         code so that pseudo_end is just ret and the stack pointer is
1113         correct also for static library in error case.
1115 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
1117         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1118         move to syscalls.list.
1119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1124         * manual/install.texi (Running make install): Do not mention Linux
1125         kernel version for which pt_chown is not needed.
1126         (Linux): Do not mention problems with nscd with 2.0 kernels.
1127         * INSTALL: Regenerated.
1129 2012-05-23  Andreas Jaeger  <aj@suse.de>
1131         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1132         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1133         macro.
1134         * sysdeps/unix/sysv/linux/s390/bits/mman.h
1135         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1136         * sysdeps/unix/sysv/linux/sh/bits/mman.h
1137         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1138         * sysdeps/unix/sysv/linux/i386/bits/mman.h
1139         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1140         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1141         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1142         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1143         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1144         * sysdeps/unix/sysv/linux/bits/in.h
1145         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1147 2012-05-22  Roland McGrath  <roland@hack.frob.com>
1149         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1150         (PREPARE_VERSION): Just use assert instead, it will be elided
1151         under [NDEBUG] anyway.
1153 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1155         * sysdeps/unix/sysv/linux/Makefile: Include
1156         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1157         (sysdep_routines): Remove sysctl.
1158         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1159         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1160         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1161         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1162         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1164 2012-05-22  Andreas Jaeger  <aj@suse.de>
1166         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1167         that pseudo_end is just ret and the stack pointer is correct also
1168         for static library in error case.
1170 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1172         [BZ #14122]
1173         * nss/nsswitch.c (defconfig_entries): New variable.
1174         (__nss_database_lookup): Don't leak defconfig entries.
1175         (nss_parse_service_list): Don't leak on error paths.
1176         (free_database_entries): New function.
1177         (free_defconfig): New function.
1178         (free_mem): Move common code to free_database_entries.
1180 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1182         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1183         Add arch_prctl.
1184         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1186         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1187         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1189         New macro.
1190         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1191         (INTERNAL_SYSCALL_TYPES): Likewise.
1192         (LOAD_ARGS_TYPES_[1-6]): Likewise.
1193         (LOAD_REGS_TYPES_[1-6]): Likewise.
1194         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1195         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1197 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1199         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1200         copysignl for GLIBC_2_0.
1201         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1202         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1204         logbl for GLIBC_2_0.
1205         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1206         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1208 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1210         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1211         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1213         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1214         Use "neg %eax".
1216         * time/mktime.c: Update copyright years.
1218 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1220         mktime: merge comment-quoting-style change from gnulib
1221         * time/mktime.c: Quote 'like this' in comments.
1222         The GNU coding standards suggest that we no longer quote `like this',
1223         as "`" and "'" are typically rendered asymmetrically nowadays.
1224         The typical gnulib style is to quote 'like this' when quoting
1225         code, and "like this" when quoting English.
1227         * time/mktime.c (compile-command): Add "-I.".
1229         mktime: merge mktime-internal.h change from gnulib
1230         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1232         mktime: merge time_r change from gnulib
1233         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1235         mktime: merge DEBUG change from gnulib
1236         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1237         case system <time.h> has a #define.
1239         mktime: merge <sys/types.h> change from gnulib
1240         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1241         since <time.t> is now guaranteed to define time_t.
1243         mktime: merge HAVE_CONFIG_H change from gnulib
1244         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1246 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1249         Use "neg %eax".
1251         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1252         __rlim_t cast.
1253         (struct rusage): Use anonymous union to pad each field to
1254         __syscall_slong_t.
1256 2012-05-21  David S. Miller  <davem@davemloft.net>
1258         * Makefules (o-iterator): Remove .s cases.
1259         (compile-command.s): Delete.
1260         (COMPILE.s): Delete.
1261         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1263 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
1265         * configure.in (libc_cv_predef_stack_protector): Only consider
1266         "foobar" and "__stack_chk_fail" lines in libc_undefs.
1267         * configure: Regenerated.
1269 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1272         New macro.  Use R*LP on int and pointer.
1273         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1274         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1275         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1276         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1278         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1279         [__WORDSIZE_TIME64_COMPAT32] instead of
1280         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1281         (struct utmp): Likewise.
1282         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1283         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1284         Renamed to ...
1285         (__WORDSIZE_TIME64_COMPAT32): This.
1286         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1287         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1288         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1289         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1290         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1291         (__WORDSIZE_TIME64_COMPAT32): New macro.
1293 2012-05-21  Andreas Jaeger  <aj@suse.de>
1295         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1296         only if [SHARED]. Add prototype for __wcschr_ia32.
1298 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1300         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1301         of %rbp unmolested in the jmp_buf while mangling the low bits.
1302         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1303         unmolested high bits of %rbp while demangling the low bits.
1304         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1306 2012-05-21  Andreas Jaeger  <aj@suse.de>
1308         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1309         * sunrpc/svc_simple.c: Use it for registerrpc.
1310         * sunrpc/xcrypt.c: Use it for passwd2des.
1312         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1314 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1316         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1317         Don't define if [__SYSCALL_WORDSIZE != 32].
1318         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1319         New macro.
1321 2012-05-21  Bruno Haible  <bruno@clisp.org>
1322             Andreas Jaeger  <aj@suse.de>
1324         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1325         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1326         inptr and inend for must_buffer_ch.
1327         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1328         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1329         * stdio-common/Makefile (tests): Remove bug15.
1330         (bug15-ENV): Remove macro.
1331         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1332         anymore.
1334 2012-05-19  Andreas Jaeger  <aj@suse.de>
1335             Roland McGrath  <roland@hack.frob.com>
1337         * manual/contrib.texi: Completely rewritten. It contains now an
1338         alphabetical list of contributors and their contributions.
1340 2012-05-21  Richard Henderson  <rth@twiddle.net>
1342         * misc/getauxval.c (__getauxval): Use unsigned long int.
1343         * misc/sys/auxv.h: Include <sys/cdefs.h>.
1344         (getauxval): Use unsigned long int.
1346 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1348         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1350 2012-05-21  Roland McGrath  <roland@hack.frob.com>
1352         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1353         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1354         __alignof__ (long double).
1356 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1360 2012-05-20  Richard Henderson  <rth@twiddle.net>
1362         * misc/getauxval.c: New file.
1363         * misc/sys/auxv.h: New file.
1364         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1365         (routines): Add getauxval.
1366         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1367         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1368         * elf/dl-sysdep.c (_dl_auxv): Remove.
1369         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1370         * elf/dl-support.c (_dl_auxv): New variable.
1371         (_dl_aux_init): Initialize it.
1372         * manual/startup.texi (Auxiliary Vector): New node.
1373         * sysdeps/generic/bits/hwcap.h: New file.
1374         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1375         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
1376         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1377         * sysdeps/sparc/sysdep.h: ... here.  Include it.
1378         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1379         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1381         Update.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1385         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1391 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1395 2012-05-19  David S. Miller  <davem@davemloft.net>
1397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1399 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1401         [BZ #14123]
1402         * math/s_ccosh.c: Include <float.h>
1403         (__ccosh): Avoid internal overflow calculating sinh and cosh
1404         values before multiplying by sin and cos values.
1405         * math/s_ccoshf.c: Likewise.
1406         * math/s_ccoshl.c: Likewise.
1407         * math/s_csin.c: Likewise.
1408         * math/s_csinf.c: Likewise.
1409         * math/s_csinl.c: Likewise.
1410         * math/s_csinh.c: Likewise.
1411         * math/s_csinhf.c: Likewise.
1412         * math/s_csinhl.c: Likewise.
1413         * math/libm-test.inc (ccos_test): Add more tests.
1414         (ccosh_test): Likewise.
1415         (csin_test): Likewise.
1416         (csinh_test): Likewise.
1417         * sysdeps/i386/fpu/libm-test-ulps: Update.
1418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1420 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1422         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1423         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1425         * sysdeps/x86_64/x32/_itoa.h: Add comment.
1427 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
1429         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1430         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1431         * sysdeps/powerpc/soft-fp/Versions: Likewise.
1432         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1433         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1434         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1435         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1436         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1437         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1438         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1439         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1440         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1441         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1442         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1443         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1444         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1445         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1446         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1447         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1448         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1449         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1450         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1451         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1452         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1453         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1454         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1455         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1456         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1457         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1458         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1459         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1461 2012-05-18  Andreas Jaeger  <aj@suse.de>
1463         * csu/.gitignore: Delete.
1465 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1467         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1468         (timex): Use __syscall_slong_t.
1470 2012-05-18  Andreas Jaeger  <aj@suse.de>
1471             Carlos O'Donell  <carlos_odonell@mentor.com>
1473         * manual/install.texi (Configuring and compiling): Update
1474         description about files modified in the source directory.
1475         * INSTALL: Regenerated.
1477 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1479         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1480         value.  Use "or" to set return value to -1.
1481         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1482         negate return value.
1484 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1486         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1487         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1488         failure if the compiler has Graphite support disabled.
1489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1490         Likewise.
1491         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1492         CFLAGS-memmove.c): Likewise.
1493         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1494         Likewise.
1496 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1498         * sysdeps/x86_64/x32/_itoa.h: New file.
1500         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1501         getdents system call only if kernel and user dirents have the
1502         same d_ino and d_off.
1504         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1505         LLONG_MAX != LONG_MAX.
1506         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1507         (_fitoa_word): Likewise.
1509         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1510         years.
1511         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1512         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1513         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1515         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1516         include <bits/wordsize.h>.  Check __x86_64__ instead of
1517         __WORDSIZE.
1518         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1519         if __x86_64__ is defined.  Use anonymous union on fpstate.
1521         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1522         anonymous union.
1524 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
1526         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1527         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1528         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1529         Refer to _rtld_local_ro instead of _rtld_global_ro.
1530         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1531         Likewise.
1532         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1533         Likewise.
1534         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1535         Likewise.
1536         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1537         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1538         of _rtld_global, and rtld_progname instead of _dl_argv[0].
1540         * sysdeps/powerpc/powerpc32/dl-machine.c
1541         (__elf_machine_runtime_setup) [PROF]: Don't reference
1542         _dl_prof_resolve.
1544 2012-05-18  Andreas Jaeger  <aj@suse.de>
1546         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1547         function only available for GCCs before 3.4 since GCC 3.4
1548         introduced a builtin.
1549         (lrint): Likewise.
1550         (llrintf): Likewise.
1551         (llrint): Likewise.
1552         (fmaxf): Likewise.
1553         (fmax): Likewise.
1554         (fminf): Likewise.
1555         (fmin): Likewise.
1556         (rint): Likewise.
1557         (rintf): Likewise.
1558         (nearbyint): Likewise.
1559         (nearbyintf): Likewise.
1560         (ceil): Likewise.
1561         (ceilf): Likewise.
1562         (floor): Likewise.
1563         (floorf): Likewise.
1565 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1567         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1568         on both fields and cast pointer to __syscall_ulong_t.
1570         * bits/types.h (__fsword_t): New type.
1571         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1572         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1573         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1574         (__FSWORD_T_TYPE): Likewise.
1575         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1576         (__FSWORD_T_TYPE): Likewise.
1577         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1578         (__FSWORD_T_TYPE): Likewise.
1579         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1580         (__FSWORD_T_TYPE): Likewise.
1581         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1582         __SWORD_TYPE with __fsword_t.
1583         (statfs64): Likewise.
1585 2012-05-17  David S. Miller  <davem@davemloft.net>
1587         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1589 2012-05-17  Andreas Jaeger  <aj@suse.de>
1591         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1592         warning.
1594 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1596         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1598 2012-05-17  Andreas Jaeger  <aj@suse.de>
1600         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1601         when it is used.
1603 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
1605         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1607 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1609         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1610         * sysdeps/x86_64/tst-mallocalign1.c: New file.
1612 2012-05-17  Andreas Jaeger  <aj@suse.de>
1613             Carlos O'Donell  <carlos_odonell@mentor.com>
1615         [BZ #14059]
1616         * sysdeps/x86_64/multiarch/init-arch.h
1617         (bit_YMM_Usable): Rename to...
1618         (bit_AVX_Usable): ... this.
1619         (bit_FMA4_Usable): New macro.
1620         (bit_XMM_state): New macro.
1621         (bit_YMM_state): New macro.
1622         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1623         [__ASSEMBLER__] (index_AVX_Usable): ... this.
1624         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1625         (CPUID_OSXSAVE): New macro.
1626         (CPUID_AVX): New macro.
1627         (CPUID_FMA4): New macro.
1628         (index_YMM_Usable): Rename to...
1629         (index_AVX_Usable): ... this.
1630         (HAS_AVX): Use HAS_ARCH_FEATURE.
1631         (HAS_FMA4): Likewise.
1632         (HAS_YMM_USABLE): Remove.
1633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1634         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1635         are present.
1636         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1637         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1638         * sysdeps/x86_64/multiarch/Makefile: Likewise.
1639         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1640         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1642 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
1644         * math/libm-test.c: Support platforms without multiple rounding modes.
1645         * math/bug-nextafter.c: Support platforms without FP exceptions.
1646         * math/bug-nexttoward.c: Likewise.
1647         * math/test-fenv.c: Likewise.
1648         * math/test-misc.c: Likewise.
1649         * stdlib/bug-getcontext.c: Likewise.
1651 2012-05-17  Andreas Jaeger  <aj@suse.de>
1653         * manual/examples/search.c (critter_cmp): Change signature to
1654         avoid warnings.
1655         * manual/string.texi (Collation Functions): Likewise.
1657 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1659         * bits/types.h: Fold copyright years.
1660         * bits/typesizes.h: Likewise.
1661         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1662         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1663         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1664         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1665         * time/time.h: Likewise.
1667 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
1669         [BZ #208]
1670         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1671         in instead of returning them.  Return void.
1672         (__libc_mallinfo): Accumulate over all arenas.
1673         (__malloc_stats): Adjust for change in int_mallinfo interface.
1675 2012-05-16  Roland McGrath  <roland@hack.frob.com>
1677         [BZ #10375]
1678         * configure.in (NM): Add AC_CHECK_TOOL for it.
1679         (libc_extra_cflags): New substituted variable.
1680         Check for -fstack-protector being used implicitly.
1681         * configure: Regenerated.
1682         * config.make.in (config-extra-cflags): New variable,
1683         gets @libc_extra_cflags@.
1684         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1686         [BZ #10375]
1687         * configure.in: Check for _FORTIFY_SOURCE being predefined.
1688         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1689         * configure: Regenerated.
1690         * config.make.in (CPPUNDEFS): New substituted variable.
1691         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1692         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1693         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1695 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1697         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1698         (mq_attr): Use __syscall_slong_t.
1700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1702         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1703         Check __x86_64__ instead of __WORDSIZE.
1704         (_STAT_VER_LINUX): Likewise.
1705         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
1706         __syscall_ulong_t and __syscall_slong_t.
1707         (stat64): Likewise.
1709 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1711         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1713 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1715         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1717 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1719         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1720         __syscall_ulong_t.
1722         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1723         include <bits/wordsize.h>.  Check __x86_64__ instead of
1724         __WORDSIZE.
1725         (greg_t): Use "__extension__ long long int" if __x86_64__ is
1726         defined.
1727         (mcontext_t): Replace "unsigned long" with "unsigned long long".
1729         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1730         include <bits/wordsize.h>.  Check __x86_64__ instead of
1731         __WORDSIZE.
1732         (user_regs_struct): Use "__extension__ unsigned long long"
1733         instead of "unsigned long" if __x86_64__ is defined.
1734         (user): Likewise.  Pad after pointer field if __ILP32__ is
1735         defined.
1737 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1739         * configure.in (makeinfo): Require version 4.5 or later.  Allow
1740         versions 5 to 9.
1741         * configure: Regenerated.
1742         * manual/install.texi (texinfo): Increase version requirement to
1743         4.5 or later.
1744         * INSTALL: Regenerated.
1746         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1750         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1752         * sysdeps/x86_64/x32/ffs.c: New file.
1754         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1755         __syscall_ulong_t.
1756         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1757         defined.  Use __syscall_ulong_t.
1758         (shminfo): Use __syscall_ulong_t.
1759         (shm_info): Likewise.
1761         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1762         __syscall_ulong_t.
1764         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1765         <bits/wordsize.h>.
1766         (msgqnum_t): Use __syscall_ulong_t.
1767         (msglen_t): Likewise.
1768         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
1769         __syscall_ulong_t.
1771         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1772         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1774         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1776         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1777         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1779         * sysvipc/sys/msg.h (msgbuf): Replace long int with
1780         __syscall_slong_t.
1782         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1783         include <bits/wordsize.h>.  Check __x86_64__ instead of
1784         __WORDSIZE.
1786         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1787         "unsigned long long int" if __x86_64__ is defined.
1788         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1790         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1791         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1792         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1794         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1795         <stdint.h>.
1796         (GET_PC): Cast to uintptr_t first.
1797         (GET_FRAME): Likewise.
1798         (GET_STACK): Likewise.
1800         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1801         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1802         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1803         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1804         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1805         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1806         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1807         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1808         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1809         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1810         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1811         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1812         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1813         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1814         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1815         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1816         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1817         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1818         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1819         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1820         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1821         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1822         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1823         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1824         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1825         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1826         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1827         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1828         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1830 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
1832         * Makerules (+depfiles): Also collect depfiles from .oS in
1833         $(extra-objs).
1834         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1835         .oS, $(libnldbl-routines)).
1837         * Makerules (native-compile-mkdep-flags): Define.
1838         * sunrpc/Makefile (extra-objs): Add $(addprefix
1839         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1840         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1841         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
1842         calling $(make-target-directory).
1844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1846         * bits/types.h (__snseconds_t): Removed.
1847         * time/time.h (struct timespec): Replace __snseconds_t with
1848         __syscall_slong_t.
1849         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1850         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1851         Likewise.
1852         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1853         (__SNSECONDS_T_TYPE): Likewise.
1854         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1855         (__SNSECONDS_T_TYPE): Likewise.
1856         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1857         (__SNSECONDS_T_TYPE): Likewise.
1859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1861         * sysdeps/mach/hurd/bits/typesizes.h
1862         (__SYSCALL_SLONG_TYPE): New macro.
1863         (__SYSCALL_ULONG_TYPE): Likewise.
1865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1867         * bits/types.h (__syscall_slong_t): New type.
1868         (__syscall_ulong_t): Likewise.
1870         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1871         (__SYSCALL_ULONG_TYPE): Likewise.
1872         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1873         (__SYSCALL_SLONG_TYPE): Likewise.
1874         (__SYSCALL_ULONG_TYPE): Likewise.
1875         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1876         (__SYSCALL_SLONG_TYPE): Likewise.
1877         (__SYSCALL_ULONG_TYPE): Likewise.
1878         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1879         (__SYSCALL_SLONG_TYPE): Likewise.
1880         (__SYSCALL_ULONG_TYPE): Likewise.
1882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1884         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1885         Add sigaltstack-offsets.sym.
1886         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1887         <sigaltstack-offsets.h>.
1888         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
1889         longjmp_msg pointer.
1890         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
1891         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1892         signal stack.
1893         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1895 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
1897         * elf/stackguard-macros.h: Remove file.
1898         * sysdeps/generic/stackguard-macros.h: New file.
1899         * sysdeps/i386/stackguard-macros.h: Likewise.
1900         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1901         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1902         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1903         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1904         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1905         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1906         * sysdeps/x86_64/stackguard-macros.h: Likewise.
1907         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1908         <elf/stackguard-macros.h>.
1910         [BZ #14109]
1911         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1912         __aligned__ in attribute.
1913         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1914         (gregset_t): Likewise.
1916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1918         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1919         * sysdeps/x86_64/64/Implies-after: Here.  New file.
1920         * sysdeps/x86_64/x32/Implies-after: New file.
1922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1924         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1925         and access return value for _dl_profile_fixup.  Use R10_LP to
1926         load frame size.
1928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1930         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1934         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1935         * sysdeps/x86_64/x32/sysdep.h: New file.
1937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1939         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1940         * sysdeps/x86_64/setjmp.S: Likewise.
1942 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1944         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1945         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1946         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1947         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1948         remove unused global constant.
1950 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
1952         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1953         include of <not-cancel.h>.
1955 2012-05-15  Roland McGrath  <roland@hack.frob.com>
1957         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1959 2012-05-15  Jeff Law  <law@redhat.com>
1960             Andreas Jaeger  <aj@suse.de>
1962         [BZ #13594]
1963         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1964         out from...
1965         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1966         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1967         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1968         code changing __hst_map_handle.map.
1970 2012-05-15  Roland McGrath  <roland@hack.frob.com>
1972         * configure.in (sysnames): Look for Implies-before and Implies-after
1973         files.
1974         * configure: Regenerated.
1976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1978         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1979         8-byte data alignment with LP_SIZE alignment.
1981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1983         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1984         into R10_LP.
1986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1988         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1992         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1993         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1994         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1995         Likewise.
1996         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2000         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2001         (stackinfo_sub_sp): Likewise.
2003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2005         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2006         RAX_LP.
2008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2011         into R*_LP.
2013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2015         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2016         sizes into R*_LP.
2018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2020         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2024         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2025         into R11_LP and load __x86_64_shared_cache_size_half into
2026         R8_LP.
2028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
2030         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2031         R8_LP.
2033 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2035         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2036         logb for POWER7.
2037         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2038         logbf for POWER7.
2039         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2040         logbl for POWER7.
2041         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2042         powerpc32/power7/fpu/s_logb.c via #include.
2043         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2044         powerpc32/power7/fpu/s_logbf.c via #include.
2045         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2046         powerpc32/power7/fpu/s_logbl.c via #include.
2048 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
2050         * README.libm: Remove file.
2052 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2054         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2055         count for x32.  Use R*_LP and omit operand-size suffix.
2057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2059         * shlib-versions: Move x86_64-.*-linux.* entries to ...
2060         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
2061         * sysdeps/x86_64/x32/shlib-versions: New file.
2063 2012-05-14  Roland McGrath  <roland@hack.frob.com>
2065         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2066         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2067         Use _dl_fatal_printf instead.
2069 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2071         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2072         set if not set by the user.  Do not allow for being unset.
2073         * sysdeps/unix/sysv/linux/configure: Regenerated.
2075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2077         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2078         the `q' suffix from lea and replace .quad with ASM_ADDR.
2080 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2083         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
2084         instead of $17.
2085         (PTR_DEMANGLE): Likewise.
2087 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2089         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2090         (LP_OP): Likewise.
2091         (ASM_ADDR): Likewise.
2092         (RAX_LP): Likewise.
2093         (RBP_LP): Likewise.
2094         (RBX_LP): Likewise.
2095         (RCX_LP): Likewise.
2096         (RDI_LP): Likewise.
2097         (RSI_LP): Likewise.
2098         (RSP_LP): Likewise.
2099         (R8_LP): Likewise.
2100         (R9_LP): Likewise.
2101         (R10_LP): Likewise.
2102         (R10_LP): Likewise.
2103         (R11_LP): Likewise.
2104         (R12_LP): Likewise.
2105         (R13_LP): Likewise.
2106         (R14_LP): Likewise.
2107         (R15_LP): Likewise.
2109 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2111         * sysdeps/x86_64/x32/dl-machine.h: New file.
2113 2012-05-14  Andreas Jaeger  <aj@suse.de>
2115         * manual/Makefile (subdir): Remove export of subdir.
2116         (all): Remove target.
2117         (.PHONY): Remove all from list.
2118         (mkinstalldirs): Remove.
2119         (.PHONY): Remove installdirs from list.
2120         ($(inst_infodir)/libc.info): Use make-target-directory.
2121         (installdirs): Remove.
2122         (subdir_%): Remove.
2123         (glibc-targets): Remove.
2124         (lib): Remove.
2125         (stubs): Remove.
2126         ($(objpfx)stubs ../po/manual.pot): Remove.
2127         ($(objpfx)stamp%): Remove.
2128         (make-target-directory): Remove.
2129         (subdir_install): Remove.
2130         (routines): Remove.
2131         (aux): Remove.
2132         (sources): Remove.
2133         (objects): Remove.
2134         (headers): Remove.
2136         [BZ #13750]
2137         * manual/.gitignore: Remove, it's not needed anymore.
2138         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2139         all files in it.
2140         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2141         directory.
2142         (texis): Renamed to $(objpfx)texis.
2143         (texis-path): New, contains path to generated files.
2144         (chapters.%): Use texis-path for complete path, add extra argument
2145         libc-texinfo.sh.
2146         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2147         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2148         (summary,texi, stamp-summary): Use complete path of
2149         files. Generate files in build dir.
2150         (dir-add.texi): Build in build dir.
2151         (libm-err.texi,stamp-libm-err): Likewise.
2152         (version.texi, stamp-version): Likewise.
2153         (.%c.texi): Likewise.
2154         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2155         (mostlyclean): Remove target.
2156         (realclean): Remove target.
2157         (generated): Add new variable with contents from mostlyclean and
2158         realclean, remove entries duplicated in common-mostlyclean, add
2159         stamp-libm-err and stamp-version.
2160         (generated-dirs): Add libc directory.
2161         ($(inst_infodir)/libc.info): Install files from build dir.
2163         * manual/install.texi (Configuring and compiling): Adjust since
2164         the info files are not part of the tar ball anymore.
2166 2012-05-14  Andreas Jaeger  <aj@suse.de>
2168         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2169         variable.
2171 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
2173         [BZ #13717]
2174         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2175         to 2.2.0 where earlier.
2176         * sysdeps/unix/sysv/linux/configure: Regenerated.
2177         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2178         Remove conditional code.
2179         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2180         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2181         Remove conditional code.
2182         [!__NR_lchown]: Likewise.
2183         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2184         [__NR_lchown]: Likewise.
2185         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2186         comment referencing __ASSUME_LCHOWN_SYSCALL.
2187         * sysdeps/unix/sysv/linux/i386/sigaction.c
2188         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2189         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2190         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2191         Remove conditional code.
2192         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2193         (__protocol_available): Remove #if 0 code.
2194         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2195         conditional code.
2196         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2197         * sysdeps/unix/sysv/linux/kernel-features.h
2198         (__ASSUME_GETCWD_SYSCALL): Don't define.
2199         (__ASSUME_REALTIME_SIGNALS): Likewise.
2200         (__ASSUME_PREAD_SYSCALL): Likewise.
2201         (__ASSUME_PWRITE_SYSCALL): Likewise.
2202         (__ASSUME_POLL_SYSCALL): Likewise.
2203         (__ASSUME_LCHOWN_SYSCALL): Likewise.
2204         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2205         non-SPARC.
2206         (__ASSUME_SIOCGIFNAME): Don't define.
2207         (__ASSUME_MSG_NOSIGNAL): Likewise.
2208         (__ASSUME_SENDFILE): Define unconditionally.
2209         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2210         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2211         conditional code.
2212         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2213         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2214         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2215         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2216         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2217         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2218         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2220         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2221         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2223         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2224         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2226         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2227         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2229         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2230         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2232         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2233         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2235         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2236         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2238         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2241         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2242         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2243         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2244         Remove conditional code.
2245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2246         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2247         Remove conditional code.
2248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2249         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2250         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2251         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2252         Remove conditional code.
2253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2254         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2255         Remove conditional code.
2256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2257         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2258         Remove conditional code.
2259         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2260         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2261         Remove conditional code.
2262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2263         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2264         Remove conditional code.
2265         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2266         * sysdeps/unix/sysv/linux/sh/pwrite64.c
2267         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2268         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2269         * sysdeps/unix/sysv/linux/sigaction.c
2270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2272         * sysdeps/unix/sysv/linux/sigpending.c
2273         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2274         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2275         * sysdeps/unix/sysv/linux/sigprocmask.c
2276         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2277         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2278         * sysdeps/unix/sysv/linux/sigsuspend.c
2279         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2280         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2281         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2282         (__libc_missing_rt_sigs): Remove.
2283         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2284         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2285         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2286         Remove conditional code.
2287         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2288         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2289         return 1.
2290         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2291         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2292         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2293         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2295 2012-05-14  Andreas Jaeger  <aj@suse.de>
2297         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2298         it's not used in glibc.
2299         (__coshm1): Likewise.
2300         (__acosh1p): Likewise.
2301         (__sgn): Likewise.
2303         * manual/string.texi (Copying and Concatenation): Add missing
2304         variable in concat example.
2305         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2309         [BZ #14103]
2310         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2311         __builtin_clzl with __builtin_clzll.
2313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
2315         [BZ #14104]
2316         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2317         libc_freeres_ptr.
2319 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2321         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2322         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2323         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2324         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2326 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
2328         * NEWS: Update ia64 info.
2330 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
2332         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2333         used as bcopy.
2335 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
2337         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2338         * sysdeps/unix/syscalls.list (dup3): Likewise.
2339         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2340         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2342 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2344         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2345         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2347 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2349         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2350         thread pointer.
2351         (TLS_IE): Use mov/add instead of movq/addq to load thread
2352         pointer.
2353         (TLS_GD_PREFIX): New.
2354         (TLS_GD): Use it.
2356 2012-05-11  David S. Miller  <davem@davemloft.net>
2358         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2359         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2360         (_FPU_SETCW): Likewise.
2362 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2364         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2365         is 32-byte aligned.
2367 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
2369         [BZ #11837]
2370         * iconvdata/gb18030.c: Update tables.
2371         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
2372         characters specially.
2373         (BODY for TO_LOOP): Add encoding of missing ranges.
2375 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
2377         [BZ #13673]
2378         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2379         * sysdeps/mach/hurd/dup3.c: Likewise.
2380         * sysdeps/mach/hurd/readlinkat.c: Likewise.
2381         * sysdeps/powerpc/memmove.c:: Likewise.
2383 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2385         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2386         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2388 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2390         * elf/elf.h (R_X86_64_RELATIVE64): New.
2391         (R_X86_64_NUM): Updated.
2392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2393         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
2394         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2395         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2396         tst-quad1pie tst-quad2pie
2397         (modules-names): Add tst-quadmod1 tst-quadmod2.
2398         ($(objpfx)tst-quad1): New dependency.
2399         ($(objpfx)tst-quad2): Likewise.
2400         ($(objpfx)tst-quad1pie): Likewise.
2401         ($(objpfx)tst-quad2pie): Likewise.
2402         * sysdeps/x86_64/tst-quad1.c: New file.
2403         * sysdeps/x86_64/tst-quad1pie.c: New file.
2404         * sysdeps/x86_64/tst-quad2.c: Likewise.
2405         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2406         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2407         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2408         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2409         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2413         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2414         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2415         * streams/stropts.h (t_scalar_t): Define type.
2417         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2418         (_PATH_PRESERVE): Set to "/var/lib".
2419         (_PATH_RWHODIR): Set to "/var/spool/rwho".
2421         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2422         instead of int.
2424         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2425         if __dir_mkfile succeeded.
2427         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2428         checking for _hurd_dtablesize.  Unlock it right after having
2429         finished _hurd_dtable allocation.
2431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2433         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2434         * sysdeps/mach/hurd/configure: Regenerated.
2435         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2436         special-casing to...
2437         * sysdeps/gnu/configure.in: ... this new file.
2438         * sysdeps/unix/sysv/linux/configure: Regenerated.
2439         * sysdeps/gnu/configure: New generated file.
2441         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2442         for Linux: use nsec instead of usec, as well as:
2443         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2444         members of type struct timespec.
2445         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2446         New macros.
2447         (struct stat64): Likewise.
2448         (_STATBUF_ST_NSEC): New macro.
2449         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2451         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2452         __strtoul_internal rather than strtoul.
2454 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2456         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2457         and reject them.
2459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2461         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2462         which preserves existing values.
2463         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2465 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2467         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2468         TIMEOUT values.  Return EINVAL for NFDS values either negative or
2469         greater than FD_SETSIZE.
2471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2473         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2474         allocated, call __vm_protect to finish enabling the existing space, and
2475         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2476         allocate the remainder.
2478 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2480         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2481         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
2483 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2485         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2486         sysdeps/mach/hurd/readlink.c.
2488         * posix/tst-sysconf.c (posix_options): Only use
2489         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2490         _POSIX_SYNCHRONIZED_IO when they are defined
2491         * sysdeps/mach/hurd/bits/posix_opt.h:
2492         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2493         (_XOPEN_REALTIME): Undefine macro.
2494         (_XOPEN_REALTIME_THREADS): Undefine macro.
2495         (_XOPEN_SHM): Undefine macro.
2496         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2497         macro to -1.
2498         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2499         macro to -1.
2500         (_POSIX_ASYNC_IO): Undefine macro.
2501         (_POSIX_PRIORITIZED_IO): Undefine macro.
2502         (_POSIX_SPIN_LOCKS): Define macro to -1.
2504         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2505         SA_NODEFER, SA_RESETHAND.
2506         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2507         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2508         F_DUPFD_CLOEXEC.
2510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2512         * elf/Makefile (pldd-modules): Define unconditionally.
2514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2516         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2520         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2521         Return ENOENT when name is empty.
2522         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2526         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2528         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2530 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2532         Fix mlock in all cases except non-readable pages.
2533         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2534         instead of VM_PROT_ALL as parameter to __vm_wire function.
2536         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2537         (__mkdir): When path is `/', just fail with EEXIST.
2538         * sysdeps/mach/hurd/mkdirat.c: Likewise.
2540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2542         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2543         <sys/uio.h> (for writev).
2544         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2545         and <sys/param.h> (for MIN).
2547 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2549         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2550         REQUESTED_TIME.  Properly set the remaining time and return EINTR
2551         if interrupted.
2553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2555         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2556         Depend on against $(link-rpcuserlibs).
2558 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2560         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2561         (__libc_stack_end): Do not use attribute_relro.
2562         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2563         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2564         to libthread-provided value.
2565         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2566         attribute_relro.
2568 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2570         [BZ #3748]
2571         * bits/libc-lock.h (__libc_once_get): New macro.
2572         * sysdeps/mach/bits/libc-lock.h: Likewise.
2573         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2574         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2575         instead of using implementation details.
2577         * libio/fileops.c: Unconditionally include <kernel-features.h>.
2578         * libio/freopen.c: Likewise.
2579         * libio/freopen64.c: Likewise.
2580         * misc/syslog.c: Likewise.
2581         * nscd/connections.c: Likewise.
2582         * nscd/netgroupcache.c: Likewise.
2583         * sysdeps/posix/getcwd.c: Likewise.
2585 2012-05-10  Roland McGrath  <roland@hack.frob.com>
2587         * math/w_ilogbf.c: Add #include <limits.h>.
2589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2591         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2592         path instead of returning without unlocking.
2594         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2595         immediate-write ioctls.
2596         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2600         * sysdeps/mach/hurd/i386/init-first.c (init): Use
2601         __builtin_frame_address instead of making assumptions about the
2602         location of the return address relative to DATA.  Force early load of
2603         the return address.
2604         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2605         __builtin_frame_address.
2607         dup3 for GNU Hurd.
2608         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2609         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
2610         implement dup3 and do some further code clean-ups.
2611         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2612         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2616         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2618         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2619         HURD_CRITICAL_END around holding _hurd_dtable_lock.
2620         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2621         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2622         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2623         d->port.lock.
2625         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2626         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
2627         when handler == SIG_ERR, not when handler != SIG_ERR.
2629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2631         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2632         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2633         definitions.
2635         accept4 for GNU Hurd.
2636         * include/sys/socket.h (__libc_accept4): New prototype.
2637         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
2638         to implement __libc_accept4.
2639         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2640         __libc_accept4.
2641         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2643         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2644         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2645         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2646         signal-defines.sym.
2648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2650         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2654         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2655         assertion on O_CLOEXEC flag.
2656         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2657         * hurd/intern-fd.c: Likewise.
2658         * hurd/port2fd.c: Likewise.
2660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2662         [BZ #3906]
2663         * bits/in.h (IPV6_PKTINFO): Define new macro.
2664         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2666 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2668         [BZ #13954]
2669         [BZ #13955]
2670         [BZ #13956]
2671         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2672         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2673         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2674         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2675         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2676         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2677         * math/libm-test.inc (logb_test) : Additional logb tests.
2679 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
2680             Andreas Jaeger  <aj@suse.de>
2682         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2683         * configure: Regenerated.
2684         * config.h.in (LINK_OBSOLETE_RPC): New macro.
2685         * config.make.in (link-obsolete-rpc): New substituted variable.
2686         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2687         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2688         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2689         (shared-only-routines): Don't set it under [link-obsolete-rpc],
2690         so that libc.a contains the symbols.
2691         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2692         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2693         * sunrpc/auth_none.c: Likewise.
2694         * sunrpc/auth_unix.c: Likewise.
2695         * sunrpc/authdes_prot.c: Likewise.
2696         * sunrpc/authuxprot.c: Likewise.
2697         * sunrpc/clnt_gen.c: Likewise.
2698         * sunrpc/clnt_perr.c: Likewise.
2699         * sunrpc/clnt_raw.c: Likewise.
2700         * sunrpc/clnt_simp.c: Likewise.
2701         * sunrpc/clnt_tcp.c: Likewise.
2702         * sunrpc/clnt_udp.c: Likewise.
2703         * sunrpc/clnt_unix.c: Likewise.
2704         * sunrpc/des_crypt.c: Likewise.
2705         * sunrpc/des_soft.c: Likewise.
2706         * sunrpc/get_myaddr.c: Likewise.
2707         * sunrpc/key_call.c: Likewise.
2708         * sunrpc/key_prot.c: Likewise.
2709         * sunrpc/netname.c: Likewise.
2710         * sunrpc/pm_getmaps.c: Likewise.
2711         * sunrpc/pm_getport.c: Likewise.
2712         * sunrpc/pmap_clnt.c: Likewise.
2713         * sunrpc/pmap_prot.c: Likewise.
2714         * sunrpc/pmap_prot2.c: Likewise.
2715         * sunrpc/pmap_rmt.c: Likewise.
2716         * sunrpc/publickey.c: Likewise.
2717         * sunrpc/rpc_cmsg.c: Likewise.
2718         * sunrpc/rpc_common.c: Likewise.
2719         * sunrpc/rpc_dtable.c: Likewise.
2720         * sunrpc/rpc_prot.c: Likewise.
2721         * sunrpc/rpc_thread.c: Likewise.
2722         * sunrpc/rtime.c: Likewise.
2723         * sunrpc/svc.c: Likewise.
2724         * sunrpc/svc_auth.c: Likewise.
2725         * sunrpc/svc_raw.c: Likewise.
2726         * sunrpc/svc_run.c: Likewise.
2727         * sunrpc/svc_tcp.c: Likewise.
2728         * sunrpc/svc_udp.c: Likewise.
2729         * sunrpc/svc_unix.c: Likewise.
2730         * sunrpc/svcauth_des.c: Likewise.
2731         * sunrpc/xcrypt.c: Likewise.
2732         * sunrpc/xdr.c: Likewise.
2733         * sunrpc/xdr_array.c: Likewise.
2734         * sunrpc/xdr_float.c: Likewise.
2735         * sunrpc/xdr_intXX_t.c: Likewise.
2736         * sunrpc/xdr_mem.c: Likewise.
2737         * sunrpc/xdr_rec.c: Likewise.
2738         * sunrpc/xdr_ref.c: Likewise.
2739         * sunrpc/xdr_sizeof.c: Likewise.
2740         * sunrpc/xdr_stdio.c: Likewise.
2742 2012-05-10  Roland McGrath  <roland@hack.frob.com>
2744         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2745         change.  Update copyright years.
2747 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
2749         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2751 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
2752             Joseph Myers  <joseph@codesourcery.com>
2753             Paul Pluzhnikov  <ppluzhnikov@google.com>
2755         [BZ #14012]
2756         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2757         requiring rpcgen.
2758         [cross-compiling] (extra-libs): Likewise.
2759         [cross-compiling] (extra-libs-others): Likewise.
2760         [cross-compiling] (librpcsvc-routines): Likewise.
2761         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2762         [cross-compiling] (omit-deps): Likewise.
2763         (sunrpc-CPPFLAGS): New variable.
2764         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2765         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2766         (cross-rpcgen-objs): New variable.
2767         (extra-objs): Append $(cross-rpcgen-objs).
2768         ($(cross-rpcgen-objs)): New rule.
2769         ($(objpfx)cross-rpcgen): Likewise.
2770         (rpcgen-cmd): Define to use $(built-program-file).  Expand
2771         comment.
2772         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2773         ($(objpfx)x%.stmp): Likewise.
2774         * sunrpc/proto.h [IS_IN_build] (_): Define.
2775         [IS_IN_build] (_libc_intl_domainname): Likewise.
2777 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2780         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2781         and R_X86_64_TPOFF64.
2783 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
2785         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2786         sysdeps/unix/sysv/syscalls.list.
2787         (stime): Likewise.
2788         (utime): Likewise.
2789         * sysdeps/unix/sysv/syscalls.list: Remove file.
2791 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2793         [BZ #3440]
2794         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2795         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2796         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2797         (__LC_IDENTIFICATION): Make these macros useful in #if
2798         expressions, as required by C99.
2800 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
2802         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2803         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
2804         after this.
2806 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2808         * stdlib/longlong.h: Updated from GCC.
2810 2012-05-09  Andreas Jaeger  <aj@suse.de>
2812         * nscd/nscd.c (run_modes): Make named enum, reorder so that
2813         default is first entry.
2814         (run_mode): Set type.
2815         (main): Remove informal message about syslog.
2816         (options): Fix typo.
2818         [BZ #14053]
2819         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2820         to asm.
2821         (lrint): Likewise.
2822         (llrintf): Likewise.
2823         (llrint): Likewise.
2824         (rint): Likewise.
2825         (rintf): Likewise.
2826         (nearbyint): Likewise.
2827         (nearbyintf): Likewise.
2829 2012-05-09  Andreas Jaeger  <aj@suse.de>
2830             Pedro Alves  <palves@redhat.com>
2832         * nscd/nscd.c (run_mode): Use enum.
2833         (main): Cleanup coding style issue.
2835 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
2836             Andreas Jaeger  <aj@suse.de>
2838         * nscd/nscd.c (go_background): Replaced with...
2839         (run_mode): ... this.
2840         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2841         (options): Add -F --foreground.
2842         (main): Implement it.
2843         (parse_opt): Parse it.
2845 2012-05-09  Andreas Jaeger  <aj@suse.de>
2847         [BZ #14083]
2848         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2849         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2850         -Wconversion warning.
2851         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2852         Likewise.
2854 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
2856         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
2857         == 0.
2858         (LC_ALL): Use macro-int-constant.
2859         (LC_COLLATE): Likewise.
2860         (LC_CTYPE): Likewise.
2861         (LC_MESSAGES): Likewise.
2862         (LC_MONETARY): Likewise.
2863         (LC_NUMERIC): Likewise.
2864         (LC_TIME): Likewise.
2865         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2866         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2867         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2868         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2869         Specify type.
2870         [C99-based standards] (float_t): Expect type.
2871         [C99-based standards] (double_t): Expect type.
2872         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
2873         type.
2874         [C99-based standards] (HUGE_VALL): Likewise.
2875         [C99-based standards] (INFINITY): Likewise.
2876         [C99-based standards] (NAN): Likewise.
2877         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2878         [C99-based standards] (FP_NAN): Likewise.
2879         [C99-based standards] (FP_NORMAL): Likewise.
2880         [C99-based standards] (FP_SUBNORMAL): Likewise.
2881         [C99-based standards] (FP_ZERO): Likewise.
2882         [C99-based standards] (FP_FAST_FMA): Use
2883         optional-macro-int-constant.  Specify type.  Require == 1.
2884         [C99-based standards] (FP_FAST_FMAF): Likewise.
2885         [C99-based standards] (FP_FAST_FMAL): Likewise.
2886         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2887         [C99-based standards] (FP_ILOGBNAN): Likewise.
2888         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2889         Specify type.
2890         [C99-based standards] (MATH_ERREXCEPT): Likewise.
2891         [C99-based standards] (math_errhandling): Specify type.
2892         [ISO99 || ISO11] (signgam): Do not allow.
2893         [non-C99-based standards] (copysignf): Do not allow.
2894         [non-C99-based standards] (exp2f): Likewise.
2895         [non-C99-based standards] (log2f): Likewise.
2896         [non-C99-based standards] (modff): Allow.
2897         [non-C99-based standards] (erff): Do not allow.
2898         [non-C99-based standards] (erfcf): Likewise.
2899         [non-C99-based standards] (gammaf): Likewise.
2900         [non-C99-based standards] (hypotf): Likewise.
2901         [non-C99-based standards] (j0f): Likewise.
2902         [non-C99-based standards] (j1f): Likewise.
2903         [non-C99-based standards] (jnf): Likewise.
2904         [non-C99-based standards] (lgammaf): Likewise.
2905         [non-C99-based standards] (tgammaf): Likewise.
2906         [non-C99-based standards] (y0f): Likewise.
2907         [non-C99-based standards] (y1f): Likewise.
2908         [non-C99-based standards] (ynf): Likewise.
2909         [non-C99-based standards] (isnanf): Likewise.
2910         [non-C99-based standards] (acoshf): Likewise.
2911         [non-C99-based standards] (asinhf): Likewise.
2912         [non-C99-based standards] (atanhf): Likewise.
2913         [non-C99-based standards] (cbrtf): Likewise.
2914         [non-C99-based standards] (expm1f): Likewise.
2915         [non-C99-based standards] (ilogbf): Likewise.
2916         [non-C99-based standards] (log1pf): Likewise.
2917         [non-C99-based standards] (logbf): Likewise.
2918         [non-C99-based standards] (nextafterf): Likewise.
2919         [non-C99-based standards] (remainderf): Likewise.
2920         [non-C99-based standards] (rintf): Likewise.
2921         [non-C99-based standards] (scalbf): Likewise.
2922         [non-C99-based standards] (copysignl): Likewise.
2923         [non-C99-based standards] (exp2l): Likewise.
2924         [non-C99-based standards] (log2l): Likewise.
2925         [non-C99-based standards] (modfl): Allow.
2926         [non-C99-based standards] (erfl): Do not allow.
2927         [non-C99-based standards] (erfcl): Likewise.
2928         [non-C99-based standards] (gammal): Likewise.
2929         [non-C99-based standards] (hypotl): Likewise.
2930         [non-C99-based standards] (j0l): Likewise.
2931         [non-C99-based standards] (j1l): Likewise.
2932         [non-C99-based standards] (jnl): Likewise.
2933         [non-C99-based standards] (lgammal): Likewise.
2934         [non-C99-based standards] (tgammal): Likewise.
2935         [non-C99-based standards] (y0l): Likewise.
2936         [non-C99-based standards] (y1l): Likewise.
2937         [non-C99-based standards] (ynl): Likewise.
2938         [non-C99-based standards] (isnanl): Likewise.
2939         [non-C99-based standards] (acoshl): Likewise.
2940         [non-C99-based standards] (asinhl): Likewise.
2941         [non-C99-based standards] (atanhl): Likewise.
2942         [non-C99-based standards] (cbrtl): Likewise.
2943         [non-C99-based standards] (expm1l): Likewise.
2944         [non-C99-based standards] (ilogbl): Likewise.
2945         [non-C99-based standards] (log1pl): Likewise.
2946         [non-C99-based standards] (logbl): Likewise.
2947         [non-C99-based standards] (nextafterl): Likewise.
2948         [non-C99-based standards] (remainderl): Likewise.
2949         [non-C99-based standards] (rintl): Likewise.
2950         [non-C99-based standards] (scalbl): Likewise.
2951         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2952         [non-C99-based standards] (FP_*): Do not allow.
2953         [C99-based standards] (FP_*): Change to
2954         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2955         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2956         allow.
2957         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2958         (SIG_ERR): Likewise.
2959         [X/Open-based standards] (SIG_HOLD): Likewise.
2960         (SIG_IGN): Likewise.
2961         (SIGABRT): Use macro-int-constant.  Specify type.  Require
2962         positive value.
2963         (SIGFPE): Likewise.
2964         (SIGILL): Likewise.
2965         (SIGINT): Likewise.
2966         (SIGSEGV): Likewise.
2967         (SIGTER): Likewise.
2968         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2969         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2970         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2971         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2972         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2973         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2974         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2975         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2976         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2977         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2978         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2979         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2980         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2981         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2982         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2983         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2984         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2985         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2986         [X/Open-based standards] (SIGTRAP): Likewise.
2987         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2988         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2989         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2990         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2991         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2992         allow.
2994 2012-05-08  Ian Wienand  <ianw@vmware.com>
2996         [BZ #14080]
2997         * time/tzset.c (__tzset_parse_tz): Update default rules for
2998         daylight time changes in the Energy Policy Act of 2005.
3000 2012-05-09  Andreas Jaeger  <aj@suse.de>
3002         [BZ #13983]
3003         * elf/ldconfig.c (parse_conf): Change string to make clear that
3004         ldconfig only issued a warning if ld.so.conf does not exist.
3006 2012-05-08  David S. Miller  <davem@davemloft.net>
3008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3009         movxtod instead of popping the value on the stack.
3011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3013 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
3015         * config.h.in: Add HAVE_ARM_PCS_VFP.
3017 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
3019         [BZ #13979]
3020         * include/features.h: Warn if user requests __FORTIFY_SOURCE
3021         checking but the checks are disabled for any reason.
3023 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3025         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3026         and ELF64_R_TYPE with ELFW(R_TYPE).
3028 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
3030         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3031         (ulimit): Likewise.
3033         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3034         (settimeofday): Likewise.
3036 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
3038         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
3039         a struct th_u2 inside the union, and move tu_block/tu_code into
3040         a new th_u3 union of tu_block/tu_code inside of that.  Move
3041         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
3042         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
3043         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3044         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3045         (th_stuff): Change to th_u1.tu_stuff.
3046         (th_data): Define.
3047         (th_msg): Change to th_u1.th_u2.tu_data.
3049 2012-05-07  David S. Miller  <davem@davemloft.net>
3051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3053         [BZ #14074]
3054         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3055         (SETUP_PIC_REG): Use it.
3056         (SETUP_PIC_REG_LEAF): Use it.
3058 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
3060         [BZ #13885]
3061         [BZ #13923]
3062         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3063         USE_AS_EXPM1L.
3064         (EXPL_FINITE): Likewise.
3065         (FLDLOG): Likewise.
3066         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3067         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3068         e_expl.S.
3069         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3070         USE_AS_EXPM1L.
3071         (EXPL_FINITE): Likewise.
3072         (FLDLOG): Likewise.
3073         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3074         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3075         e_expl.S.
3076         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
3077         test of -max_value argument for long double.
3078         * sysdeps/i386/fpu/libm-test-ulps: Update.
3079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3081 2012-05-06  David S. Miller  <davem@davemloft.net>
3083         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3084         quad soft-float symbols whose references which are compiler
3085         generated.
3086         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3088 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
3090         [BZ #13884]
3091         [BZ #13914]
3092         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3093         USE_AS_EXP10L.
3094         (EXPL_FINITE): Likewise.
3095         (FLDLOG): Likewise.
3096         (c0): Likewise.
3097         (c1): Likewise.
3098         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3099         Adjust comments for base varying.
3100         (__expl_finite): Change alias to EXPL_FINITE.
3101         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3102         e_expl.S.
3103         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3104         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3105         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3106         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3107         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3108         USE_AS_EXP10L.
3109         (EXPL_FINITE): Likewise.
3110         (FLDLOG): Likewise.
3111         (c0): Likewise.
3112         (c1): Likewise.
3113         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
3114         Adjust comments for base varying.
3115         (__expl_finite): Change alias to EXPL_FINITE.
3116         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
3117         tests for bugs.
3118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3120         [BZ #14064]
3121         * math/libm-test.inc (check_float_internal): Correct ulp
3122         calculation for subnormal expected results.
3124 2012-05-06  Andreas Jaeger  <aj@suse.de>
3126         * Makeconfig (+math-flags): New, set to -frounding-math.
3127         (+cflags): Add +math-flags so that all of glibc gets compiled with
3128         it.
3130         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3132 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
3134         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3135         Disable one test.
3137         [BZ #13787]
3138         [BZ #13922]
3139         [BZ #14036]
3140         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3141         (__ieee754_expl): Allow for and saturate large arguments.
3142         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3143         (u_threshold): Likewise.
3144         (__exp): Call __ieee754_exp before checking for overflow and
3145         underflow.
3146         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3147         (u_threshold): Likewise.
3148         (__expf): Call __ieee754_expf before checking for overflow and
3149         underflow.
3150         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3151         (u_threshold): Likewise.
3152         (__expl): Call __ieee754_expl before checking for overflow and
3153         underflow.
3154         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3155         (__ieee754_expl): Allow for and saturate large arguments.
3156         * math/libm-test.inc (exp_test): Add another test.  Do not allow
3157         missing overflow exception on overflow.
3158         (expm1_test): Do not allow missing overflow exception on overflow.
3160         * sysdeps/i386/fpu/e_expl.c: Move to ...
3161         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
3162         rather than using inline asm.
3163         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3164         * sysdeps/x86_64/fpu/e_expl.S: Copy from
3165         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3167         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3168         (nice): Likewise.
3169         (poll): Likewise.
3170         (signal): Likewise.
3171         (time): Likewise.
3172         (times): Likewise.
3174 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3176         * sysdeps/unix/syscalls.list (adjtime): Add entry from
3177         sysdeps/unix/common/syscalls.list.
3178         (fchmod): Likewise.
3179         (fchown): Likewise.
3180         (ftruncate): Likewise.
3181         (getrusage): Likewise.
3182         (gettimeofday): Likewise.
3183         (setpgid): Likewise.
3184         (setregid): Likewise.
3185         (setreuid): Likewise.
3186         (sigaction): Likewise.
3187         (truncate): Likewise.
3188         (vhangup): Likewise.
3189         * sysdeps/unix/common/syscalls.list: Remove file.
3190         * sysdeps/unix/bsd/Implies: Don't include unix/common.
3191         * sysdeps/unix/sysv/linux/Implies: Likewise.
3193 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3195         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3197         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3198         Moved to ...
3199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3200         Here.
3201         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3202         to ...
3203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3204         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3205         to ...
3206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3207         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3208         to ...
3209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3210         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3211         to ...
3212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3213         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3214         to ...
3215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3216         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3217         to ...
3218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3219         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3220         to ...
3221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3222         Here.
3223         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3224         to ...
3225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3226         Here.
3227         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3228         to ...
3229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3230         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3231         Moved to ...
3232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3233         Here.
3234         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3235         to ...
3236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3238 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3240         * sysdeps/unix/common/bits/dirent.h: Remove file.
3241         * sysdeps/unix/common/bits/fcntl.h: Likewise.
3243         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3244         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3245         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3246         * sysdeps/unix/bsd/isatty.c: Likewise.
3247         * sysdeps/unix/bsd/tcdrain.c: Likewise.
3248         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3249         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3251 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3253         [BZ #13563]
3254         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3255         long double comparison inaccuracies.
3256         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3259 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
3261         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3262         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3264 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
3266         [BZ #14049]
3267         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3268         nonzero digits before rounding a hex value.
3269         * stdlib/tst-strtod.c (tests): Add another test.
3271 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3273         * sysdeps/s390/fpu/libm-test-ulps: Update.
3275 2012-05-03  Andreas Jaeger  <aj@suse.de>
3277         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3278         does not get optimized out.
3279         (malloc_opt_barrier): New.
3281 2012-05-03  Andreas Jaeger  <aj@suse.de>
3282             Roland McGrath  <roland@hack.frob.com>
3284         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3285         intermediate file deletion.
3286         (generated): Add .symlist files.
3288 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
3290         [BZ #13775]
3291         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3292         Redirect under this condition.
3293         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3294         [__USE_GNU] (__dprintf_chk): Not under this condition.
3295         [__USE_GNU] (__vdprintf_chk): Likewise.
3296         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3297         under this condition.
3298         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3299         [__USE_XOPEN2K8] (dprintf): Define under this condition.
3300         [__USE_XOPEN2K8] (vdprintf): Likewise.
3301         [__USE_GNU] (__dprintf_chk): Not under this condition.
3302         [__USE_GNU] (__vdprintf_chk): Likewise.
3303         [__USE_GNU] (dprintf): Likewise.
3304         [__USE_GNU] (vdprintf): Likewise.
3306 2012-05-03  Roland McGrath  <roland@hack.frob.com>
3308         * elf/Makefile (common-generated): Set this instead of generated for
3309         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
3310         $(all-built-dso)-derived lists.
3312 2012-05-03  Andreas Jaeger  <aj@suse.de>
3314         * sysdeps/i386/fpu/libm-test-ulps: Update.
3316         * FAQ: Removed.
3317         * FAQ.in: Likewise.
3318         * scripts/gen-FAQ.pl: Likewise.
3319         * manual/install.texi (Installation): Point to online location of
3320         FAQ.
3321         * Makefile (files-for-dist): Remove FAQ.
3322         (FAQ): Remove.
3324 2012-05-02  Allan McRae  <allan@archlinux.org>
3326         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3327         (LDFLAGS-reldepmod5.so): Likewise.
3328         (LDFLAGS-reldep6mod1.so): Likewise.
3329         (LDFLAGS-reldep6mod4.so): Likewise.
3330         (LDFLAGS-reldep8mod3.so): Likewise.
3331         (LDFLAGS-unload4mod1.so): Likewise.
3332         (LDFLAGS-unload4mod2.so): Likewise.
3333         (LDFLAGS-tst-initorder): Likewise.
3334         (LDFLAGS-tst-initordera2.so): Likewise.
3335         (LDFLAGS-tst-initordera3.so): Likewise.
3336         (LDFLAGS-tst-initordera4.so): Likewise.
3337         (LDFLAGS-tst-initorderb2.so): Likewise.
3338         (LDFLAGS-noload): Likewise.
3339         (LDFLAGS-next): Likewise.
3340         (LDFLAGS-order2mod1.so): Likewise.
3341         (LDFLAGS-order2mod2.so): Likewise.
3342         (LDFLAGS-tst-initorder2): Likewise.
3343         (LDFLAGS-tst-initorder2a.so): Likewise.
3344         (LDFLAGS-tst-initorder2b.so): Likewise.
3345         (LDFLAGS-tst-initorder2c.so): Likewise.
3346         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3348 2012-05-02  David S. Miller  <davem@davemloft.net>
3350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3352 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3354         [BZ #14055]
3355         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3357 2012-05-02  Andreas Jaeger  <aj@suse.de>
3359         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3360         since we manipulate rounding mode.
3361         (CPPFLAGS-test-idouble.c): Likewise.
3362         (CPPFLAGS-test-ifloat.c): Likewise.
3363         (CFLAGS-test-ldouble.c): Likewise.
3364         (CFLAGS-test-double.c): Likewise.
3365         (CFLAGS-test-float.c): Likewise.
3366         (CFLAGS-test-misc.c): Likewise.
3367         (CFLAGS-test-test-fenv.c): Likewise.
3369 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3371         [BZ #2550]
3372         [BZ #2570]
3373         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3374         comparisons to determine direction to adjust input.
3376 2012-05-01  Roland McGrath  <roland@hack.frob.com>
3378         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3379         output to the target.
3381         * scripts/localplt.awk: New file.
3382         * elf/Makefile ($(objpfx)check-localplt): Target removed.
3383         (check-localplt-CFLAGS): Variable removed.
3384         ($(all-built-dso:=.jmprel)): New static pattern rule.
3385         (generated): Add those targets.
3386         (localplt-built-dso): New variable.
3387         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3389         * elf/check-localplt.c: File removed.
3391         * scripts/check-execstack.awk: New file.
3392         * elf/Makefile ($(objpfx)check-execstack): Target removed.
3393         (check-execstack-CFLAGS): Variable removed.
3394         ($(objpfx)check-execstack.h): Target removed.
3395         ($(objpfx)execstack-default): New target.
3396         (generated): Add that instead of check-execstack.h.
3397         ($(all-built-dso:=.phdr)): New static pattern rule.
3398         (generated): Add those targets.
3399         * elf/check-execstack.c: File removed.
3401         * scripts/check-textrel.awk: New file.
3402         * elf/Makefile ($(objpfx)check-textrel): Target removed.
3403         (check-textrel-CFLAGS): Variable removed.
3404         (all-built-dso): Use := to define.o
3405         ($(all-built-dso:=.dyn)): New static pattern rule.
3406         (generated): Add those targets.
3407         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3408         * config.make.in (READELF): New substituted variable.
3409         * elf/check-textrel.c: File removed.
3411 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
3413         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3414         allow.
3415         * conform/data/ctype.h-data [C99-based standards] (isblank):
3416         Expect function.
3417         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3418         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3419         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3420         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3421         Specify type.  Require positive value.
3422         (EILSEQ): Likewise.
3423         (ERANGE): Likewise.
3424         [ISO || POSIX] (EILSEQ): Do not expect.
3425         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3426         Specify type.  Require positive value.
3427         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3428         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3429         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3430         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3431         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3432         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3433         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3434         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3435         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3436         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3437         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3438         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3439         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3440         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3441         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3442         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3443         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3444         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3445         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3446         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3447         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3448         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3449         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3450         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3451         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3452         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3453         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3454         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3455         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3456         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3457         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3458         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3459         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3460         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3461         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3462         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3463         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3464         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3465         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3466         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3467         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3468         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3469         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3470         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3471         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3472         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3473         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3474         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3475         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3476         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3477         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3478         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3479         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3480         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3481         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3482         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3483         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3484         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3485         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3486         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3487         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3488         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3489         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3490         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3491         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3492         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3493         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3494         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3495         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3496         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3497         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3498         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3499         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3500         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3501         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3502         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3503         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3504         Require >= 2.
3505         (FLT_ROUNDS): Expect as macro, not constant.
3506         (FLT_MANT_DIG): Use macro-int-constant.
3507         (DBL_MANT_DIG): Likewise.
3508         (LDBL_MANT_DIG): Likewise.
3509         (FLT_DIG): Likewise.
3510         (DBL_DIG): Likewise.
3511         (LDBL_DIG): Likewise.
3512         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
3513         (DBL_MIN_EXP): Likewise.
3514         (LDBL_MIN_EXP): Likewise.
3515         (FLT_MAX_EXP): Use macro-int-constant.
3516         (DBL_MAX_EXP): Likewise.
3517         (LDBL_MAX_EXP): Likewise.
3518         (FLT_MAX_10_EXP): Likewise.
3519         (DBL_MAX_10_EXP): Likewise.
3520         (LDBL_MAX_10_EXP): Likewise.
3521         (FLT_MAX): Use macro-constant.
3522         (DBL_MAX): Likewise.
3523         (LDBL_MAX): Likewise.
3524         (FLT_EPSILON): Use macro-constant.  Give upper bound.
3525         (DBL_EPSILON): Likewise.
3526         (LDBL_EPSILON): Likewise.
3527         (FLT_MIN): Likewise.
3528         (DBL_MIN): Likewise.
3529         (LDBL_MIN): Likewise.
3530         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3531         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3532         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3533         [ISO11] (FLT_HAS_SUBNORM): Likewise.
3534         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3535         [ISO11] (DBL_DECIMAL_DIG): Likewise.
3536         [ISO11] (FLT_DECIMAL_DIG): Likewise.
3537         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3538         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3539         [ISO11] (FLT_TRUE_MIN): Likewise.
3540         [ISO11] (LDBL_TRUE_MIN): Likewise.
3541         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3542         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3543         (SCHAR_MIN): Use macro-int-constant.  Specify type.
3544         (SCHAR_MAX): Likewise.
3545         (UCHAR_MAX): Likewise.
3546         (CHAR_MIN): Likewise.
3547         (CHAR_MAX): Likewise.
3548         (MB_LEN_MAX): Use macro-int-constant.
3549         (SHRT_MIN): Use macro-int-constant.  Specify type.
3550         (SHRT_MAX): Likewise.
3551         (USHRT_MAX): Likewise.
3552         (INT_MAX): Likewise.
3553         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
3554         bound negative.
3555         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3556         bound with "U".
3557         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3558         bound with "L".
3559         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
3560         bound negative.  Suffix upper bound with "L".
3561         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3562         bound with "UL".
3563         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3564         Specify type.
3565         [C99-based standards] (LLONG_MAX): Likewise.
3566         [C99-based standards] (ULLONG_MAX): Likewise.
3567         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
3568         == 0.
3569         [ISO11] (max_align_t): Require type.
3570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3572         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3573         from $CFLAGS, without defining away __attribute__ calls.
3574         (checknamespace): Use $CFLAGS_namespace.
3576         * conform/conformtest.pl (@keywords): Only include C99 keywords
3577         for standards based on C99 or C11.
3579         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3580         Disable tests.
3581         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3582         UNIX98]: Likewise.
3584         * conform/conformtest.pl: Handle "macro-int-constant" and test for
3585         usability of symbols in #if.
3587         * conform/conformtest.pl: If macro or constant types start
3588         "promoted:", expect the symbol to be of the following type
3589         promoted by the integer promotions.
3591         * conform/conformtest.pl: Parse all "constant" and "macro" lines
3592         in one place.  Also handle "macro-constant".
3594         * conform/conformtest.pl: Only accept expected macro values with
3595         "==".  Parse all "macro" lines in one place.
3596         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3598         * conform/conformtest.pl: Handle braced types on "constant" lines
3599         instead of handling "typed-constant".
3600         * conform/data/signal.h-data: Use "constant" instead of
3601         "typed-constant".
3603         * conform/conformtest.pl: Handle "optional-" at start of lines in
3604         one place rather than duplicating several cases.  Handle each
3605         format of "macro" line with initial "optional-".
3607         * conform/conformtest.pl: Only accept expected constant or
3608         optional-constant values with "==".  Parse all "constant" lines in
3609         one place.  Parse all "optional-constant" lines in one place.
3610         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3611         * conform/data/fmtmsg.h-data: Likewise.
3612         * conform/data/netinet/in.h-data: Likewise.
3613         * conform/data/tar.h-data: Likewise.
3614         * conform/data/limits.h-data: Use "==" form on "constant" and
3615         "optional-constant" lines.
3617         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3618         Use -std=c99 for XOPEN2K.
3619         (@knownproblems): Remove.
3620         (newtoken): Don't check %isknown.
3622         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3623         Do not expect macro.
3624         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3625         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3626         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3627         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3628         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3629         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3630         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3631         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3632         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3633         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3634         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3635         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3636         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3637         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3638         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3639         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3640         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3641         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3642         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3643         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3644         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3645         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3646         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3647         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3648         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3649         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3650         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3651         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3652         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3653         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3654         [XPG3] (acosh): Likewise.
3655         [XPG3] (asinh): Likewise.
3656         [XPG3] (atanh): Likewise.
3657         [XPG3] (cbrt): Likewise.
3658         [XPG3] (expm1): Likewise.
3659         [XPG3] (ilogb): Likewise.
3660         [XPG3] (log1p): Likewise.
3661         [XPG3] (logb): Likewise.
3662         [XPG3] (nextafter): Likewise.
3663         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3664         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3665         [XPG3] (remainder): Likewise.
3666         [XPG3] (rint): Likewise.
3667         [XPG3 || XPG4 || UNIX98] (round): Likewise.
3668         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3669         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3670         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3671         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3672         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3673         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3674         [UNIX98 || XOPEN2K] (scalb): Expect.
3675         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3676         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3677         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3678         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3679         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3680         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3681         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3682         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3683         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3684         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3685         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3686         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3687         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3688         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3689         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3690         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3691         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3692         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3693         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3694         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3695         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3696         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3697         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3698         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3699         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3700         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3701         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3702         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3703         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3704         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3705         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3706         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3707         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3708         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3709         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3710         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3711         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3712         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3713         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3714         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3715         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3716         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3717         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3718         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3719         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3720         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3721         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3722         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3723         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3724         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3725         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3726         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3727         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3728         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3729         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3730         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3731         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3732         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3733         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3734         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3735         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3736         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3737         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3738         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3739         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3740         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3741         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3742         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3743         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3744         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3745         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3746         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3747         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3748         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3749         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3750         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3751         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3752         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3753         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3754         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3755         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3756         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3757         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3758         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3759         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3760         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3761         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3762         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3763         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3764         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3765         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3766         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3767         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3768         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3769         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3770         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3771         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3772         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3773         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3774         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3775         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3776         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3777         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3778         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3779         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3780         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3781         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3782         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3783         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3784         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3785         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3786         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3787         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3788         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3789         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3790         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3791         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3792         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3793         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3794         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3795         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3796         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3797         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3798         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3799         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3800         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3801         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3802         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3803         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3804         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3805         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3806         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3807         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3808         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3809         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3810         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3811         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3813         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3814         _XOPEN_SOURCE_EXTENDED for XPG4.
3816         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3818         * Makeconfig (localtime): Remove variable.
3819         (inst_localtime-file): Likewise.
3821 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3824         Update.
3825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3826         Update.
3827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3828         Update.
3829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3830         Update.
3831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3832         Update.
3833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3834         Update.
3835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3836         Update.
3837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3838         Update.
3839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3840         Update.
3842 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
3844         [BZ #2550]
3845         [BZ #2570]
3846         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3847         comparisons to determine direction to adjust input.
3848         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3849         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3850         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3851         Likewise.
3852         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3853         Likewise.
3854         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3855         Likewise.
3856         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3857         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3858         Likewise.
3859         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3860         Likewise.
3861         * math/libm-test.inc (nexttoward_test): Add more tests.
3863 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3865         [BZ #14040]
3866         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3867         in version GLIBC_2.1, not GLIBC_2.0.
3868         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3869         Likewise.
3871 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
3873         [BZ #13942]
3874         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3875         (1 - x) * (1 + x).
3876         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3877         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3878         * math/libm-test.inc (acos_test): Add more tests.
3879         (asin_test): Likewise.
3880         * sysdeps/i386/fpu/libm-test-ulps: Update.
3881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3883         [BZ #14034]
3884         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3885         of square root.
3886         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3887         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3888         * math/libm-test.inc (acos_test_tonearest): New function.
3889         (acos_test_towardzero): Likewise.
3890         (acos_test_downward): Likewise.
3891         (acos_test_upward): Likewise.
3892         (asin_test_tonearest): Likewise.
3893         (asin_test_towardzero): Likewise.
3894         (asin_test_downward): Likewise.
3895         (asin_test_upward): Likewise.
3896         (main): Call the new functions.
3897         * sysdeps/i386/fpu/libm-test-ulps: Update.
3898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3900         [BZ #13884]
3901         [BZ #13924]
3902         * math/e_exp10.c: Include <float.h>.
3903         (__ieee754_exp10): Handle underflow here rather than multiplying
3904         large negative argument by M_LN10.
3905         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3906         of __ieee754_expf.
3907         * math/e_exp10l.c: Include <float.h>.
3908         (__ieee754_exp10l): Handle underflow here rather than multiplying
3909         large negative argument by M_LN10l.
3910         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
3911         spurious overflow exception on underflow.
3913 2012-04-29  Marek Polacek  <polacek@redhat.com>
3915         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3916         (__fortify_function): New macro.
3917         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3918         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3919         __extern_always_inline.
3920         * libio/bits/stdio2.h: Likewise.
3921         * libio/bits/stdio.h: Likewise.
3922         * string/string.h: Likewise.
3923         * string/bits/string3.h: Likewise.
3924         * include/stdio.h: Likewise.
3925         * stdlib/bits/stdlib.h: Likewise.
3926         * stdlib/stdlib.h: Likewise.
3927         * rt/bits/mqueue2.h: Likewise.
3928         * rt/mqueue.h: Likewise.
3929         * posix/bits/unistd.h: Likewise.
3930         * posix/unistd.h: Likewise.
3931         * io/bits/poll2.h: Likewise.
3932         * io/bits/fcntl2.h: Likewise.
3933         * io/fcntl.h: Likewise.
3934         * io/sys/poll.h: Likewise.
3935         * misc/bits/syslog.h: Likewise.
3936         * misc/bits/syslog-ldbl.h: Likewise.
3937         * misc/sys/syslog.h: Likewise.
3938         * socket/bits/socket2.h: Likewise.
3939         * socket/sys/socket.h: Likewise.
3940         * debug/tst-chk1.c: Likewise.
3941         * wcsmbs/bits/wchar2.h: Likewise.
3942         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3943         * wcsmbs/wchar.h: Likewise.
3945 2012-04-29  Andreas Jaeger  <aj@suse.de>
3947         * Makerules (tests): Remove enable-check-abi protection.
3948         (check-abi-warn): Remove.
3949         (check-abi-%): Remove check-abi-warn usage.
3951         * configure.in: Remove check-abi configure option.
3952         * configure: Regenerated.
3953         * config.make.in (enable-check-abi): Remove.
3955 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
3957         [BZ #14033]
3958         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3959         double functions to double *_finite functions.
3961         [BZ #13941]
3962         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3963         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3964         LDBL_MIN_EXP.
3965         * stdio-common/Makefile (tests): Add tst-sprintf3.
3966         * stdio-common/tst-sprintf3.c: New file.
3968         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3969         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3971 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
3973         * conform/conformtest.pl: Remove duplicate typed-constant
3974         handling.
3976 2012-04-28  David S. Miller  <davem@davemloft.net>
3978         * Makerules (%.abilist): Add vpath on sysdep_dirs.
3979         (check-abi-%): Remove AWK script prerequisite and explicit
3980         abilist directory.
3981         (check-abi): Rewrite to just diff the symlist with the abilist.
3982         (config-tls, config-abi-config): Delete, no longer used.
3983         (update-abi-%): Remove AWK script and explicit abilist directory.
3984         (update-abi): Rewrite to simply compare and conditionally copy the
3985         symlist and the sysdep abilist file.  Remove update-abi-config
3986         checks.
3987         * abilist/ld.abilist: Remove.
3988         * abilist/libBrokenLocale.abilist: Remove.
3989         * abilist/libanl.abilist: Remove.
3990         * abilist/libcrypt.abilist: Remove.
3991         * abilist/libdl.abilist: Remove.
3992         * abilist/librt.abilist: Remove.
3993         * abilist/libthread_db.abilist: Remove.
3994         * abilist/libutil.abilist: Remove.
3995         * scripts/extract-abilist.awk: Remove.
3996         * scripts/merge-abilist.awk: Remove.
3997         * sysdeps/generic/libcidn.abilist: New file.
3998         * sysdeps/generic/libnss_compat.abilist: New file.
3999         * sysdeps/generic/libnss_db.abilist: New file.
4000         * sysdeps/generic/libnss_dns.abilist: New file.
4001         * sysdeps/generic/libnss_files.abilist: New file.
4002         * sysdeps/generic/libnss_hesiod.abilist: New file.
4003         * sysdeps/generic/libnss_nis.abilist: New file.
4004         * sysdeps/generic/libnss_nisplus.abilist: New file.
4005         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4006         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4007         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4008         file.
4009         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4010         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4011         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4012         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4013         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4014         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4015         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4016         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4017         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4018         file.
4019         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4020         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4021         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4022         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4023         file.
4024         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4025         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4026         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4027         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4028         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4029         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4030         file.
4031         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4032         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4033         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4034         file.
4035         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4037         New file.
4038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4039         New file.
4040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4041         New file.
4042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4043         New file.
4044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4045         New file.
4046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4047         New file.
4048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4049         New file.
4050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4051         New file.
4052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4053         New file.
4054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4055         New file.
4056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4057         New file.
4058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4059         New file.
4060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4061         New file.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4063         file.
4064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4065         New file.
4066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4067         New file.
4068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4069         file.
4070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4071         New file.
4072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4073         New file.
4074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4075         file.
4076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4077         New file.
4078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4079         New file.
4080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4081         New file.
4082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4083         New file.
4084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4085         New file.
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4087         New file.
4088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4090         file.
4091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4092         New file.
4093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4094         file.
4095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4096         file.
4097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4098         file.
4099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4100         file.
4101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4102         file.
4103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4104         New file.
4105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4106         file.
4107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4108         file.
4109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4110         New file.
4111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4112         file.
4113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4115         file.
4116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4117         New file.
4118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4119         file.
4120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4121         file.
4122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4123         file.
4124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4125         file.
4126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4127         file.
4128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4129         New file.
4130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4131         file.
4132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4133         file.
4134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4135         New file.
4136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4137         file.
4138         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4139         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4140         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4141         file.
4142         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4143         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4144         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4145         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4146         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4147         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4148         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4149         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4150         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4151         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4154         file.
4155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4156         New file.
4157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4158         file.
4159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4160         file.
4161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4162         file.
4163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4164         file.
4165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4166         file.
4167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4168         New file.
4169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4170         New file.
4171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4172         file.
4173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4174         New file.
4175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4176         file.
4177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4179         file.
4180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4181         New file.
4182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4183         file.
4184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4185         file.
4186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4187         file.
4188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4189         file.
4190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4191         file.
4192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4193         New file.
4194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4195         New file.
4196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4197         file.
4198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4199         New file.
4200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4201         file.
4203 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
4205         * conform/conformtest.pl: Fix typo in handling typed-constant from
4206         allow-header.
4208 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4210         * README: Cut down references to pre-2.6 Linux kernels and
4211         Linuxthreads.  Update lists of configurations in libc and ports
4212         and sort alphabetically.  Say "or newer" with Linux kernel version
4213         requirements.
4215         * config.h.in [IS_IN_build]: Allow compiling without optimization.
4217 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4219         [BZ #887]
4220         * math/libm-test.inc (logb_test_downward): New test to expose
4221         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4222         rounding mode.
4224 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
4226         [BZ #14027]
4227         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4228         to be done.
4229         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4230         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4232 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
4234         * sysdeps/unix/i386/brk.S: Remove file.
4235         * sysdeps/unix/i386/dl-brk.S: Likewise.
4236         * sysdeps/unix/i386/pipe.S: Likewise.
4237         * sysdeps/unix/i386/sigreturn.S: Likewise.
4238         * sysdeps/unix/i386/syscall.S: Likewise.
4239         * sysdeps/unix/i386/vfork.S: Likewise.
4240         * sysdeps/unix/i386/wait.S: Likewise.
4242         * sysdeps/unix/common/tcsendbrk.c: Move to ...
4243         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4245         * configure.in (arm*-none*): Do not allow without
4246         --enable-hacker-mode.
4247         (netbsd*): Remove case setting base_os.
4248         (386bsd*): Likewise.
4249         (freebsd*): Likewise.
4250         (bsdi*): Likewise.
4251         (osf*): Likewise.
4252         (sunos*): Likewise.
4253         (ultrix*): Likewise.
4254         (newsos*): Likewise.
4255         (dynix*): Likewise.
4256         (*bsd*): Likewise.
4257         (sysv*): Likewise.
4258         (isc*): Likewise.
4259         (esix*): Likewise.
4260         (sco*): Likewise.
4261         (minix*): Likewise.
4262         (irix4*): Likewise.
4263         (irix6*): Likewise.
4264         (solaris[2-9]*): Likewise.
4265         (none): Likewise.
4266         * configure: Regenerated.
4268 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4270         [BZ #11521]
4271         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4272         overflow or cancellation in calculating denominator.
4273         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4274         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4275         down expression to avoid unexpected rounding in newer GCCs.
4276         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4278 2012-04-26  David S. Miller  <davem@davemloft.net>
4280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4281         long-double compat symbols.
4282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4296 2012-04-25  David S. Miller  <davem@davemloft.net>
4298         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4299         HWCAP_* values only after the memory barriers have been defined.
4300         (atomic_full_barrier): Define.
4301         (atomic_read_barrier): Define.
4302         (atomic_write_barrier): Define.
4304 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4306         * shlib-versions: Add libgcc_s version information.
4307         * sysdeps/generic/libgcc_s.h: Remove.
4308         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4309         libgcc_s.h.
4310         * sysdeps/gnu/unwind-resume.c: Likewise.
4311         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4313 2012-04-25  David S. Miller  <davem@davemloft.net>
4315         * sysdeps/unix/sparc/brk.S: Delete.
4316         * sysdeps/unix/sparc/dl-brk.S: Delete.
4317         * sysdeps/unix/sparc/pipe.S: Delete.
4318         * sysdeps/unix/sparc/sysdep.S: Delete.
4319         * sysdeps/unix/sparc/sysdep.h: Delete.
4320         * sysdeps/unix/sparc/vfork.S: Delete.
4321         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4322         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4323         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4324         ret_ERRVAL, r0, r1, MOVE): Define.
4325         (JUMPTARGET): Remove.
4326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4327         sysdeps/unix/sparc/sysdep.h
4328         (ENTRY, END): Remove.
4329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4331 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
4333         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4334         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4335         -DIS_IN_build.
4337         * timezone/README: Update upstream location and email address for
4338         tzcode and tzdata.
4339         * timezone/zdump.c: Update from tzcode 2012b.
4340         * timezone/zic.c: Likewise.
4342         * configure.in (libc_cv_as_needed): Remove test.
4343         * configure: Regenerated.
4344         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4345         conditional definition.
4346         [$(have-as-needed) != yes] (no-as-needed): Likewise.
4347         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4348         * config.make.in (have-as-needed): Remove variable.
4350 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4351             Paul Pluzhnikov  <ppluzhnikov@google.com>
4353         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4354         strings correctly.
4356 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4358         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4359         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4360         * sysdeps/sh/strlen.S: Likewise.
4362 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4364         * sysdeps/unix/fork.S: Remove file.
4365         * sysdeps/unix/i386/fork.S: Likewise.
4366         * sysdeps/unix/sparc/fork.S: Likewise.
4368         * sysdeps/unix/system.c: Remove file.
4369         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4371         * sysdeps/unix/getegid.S: Remove file.
4372         * sysdeps/unix/geteuid.S: Likewise.
4374 2012-04-24  Roland McGrath  <roland@hack.frob.com>
4376         * scripts/check-localplt.awk: New file.
4377         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4378         of diff.
4379         * scripts/data/localplt-generic.data: Add a comment.
4381         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4382         NODE when __dir_mkfile failed.
4383         * sysdeps/mach/hurd/symlinkat.c: Likewise.
4384         Reported by Ludovic Courtès <ludo@gnu.org>.
4386 2012-04-24  Andreas Jaeger  <aj@suse.de>
4388         * Makerules (common-clean): Also remove gen-as-const-headers
4389         files.
4391 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4393         * Makerules (native-compile): Do not change working directory for
4394         build.  Use $(OUTPUT_OPTION) in command.
4395         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4397 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4399         [BZ #13886]
4400         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4401         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4402         * math/libm-test.inc (floor_test): Add more tests.
4403         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4405 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
4407         * sysdeps/unix/getdents.c: Remove file.
4408         * sysdeps/unix/sysv/getdents.c: Likewise.
4409         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4411         * sysdeps/unix/syscalls.list (madvise): Add syscall from
4412         sysdeps/unix/mman/syscalls.list.
4413         (mmap): Likewise.
4414         (mprotect): Likewise.
4415         (msync): Likewise.
4416         (munmap): Likewise.
4417         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4418         * sysdeps/unix/mman/syscalls.list: Remove.
4419         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4421         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4422         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4423         * configure: Regenerated.
4424         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4425         $(libgcc_s_suffix).
4426         * config.make.in (libgcc_s_suffix): Remove variable.
4428 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
4430         * sysdeps/unix/sysv/gethostname.c: Move to ...
4431         * sysdeps/posix/gethostname.c: ... here.
4433         * sysdeps/unix/execve.S: Remove file.
4435         * sysdeps/unix/_exit.S: Remove file.
4437 2012-04-23  Andreas Jaeger  <aj@suse.de>
4439         [BZ #13739]
4440         * manual/Makefile: Remove make dist support, there's no
4441         need for a stand-alone documentation tar ball.
4442         (TEXI2DVI): Define always, it's not in Makeconfig.
4443         (dist): Removed.
4444         (tar-it): Removed.
4445         (edition): Removed.
4446         (glibc-doc-$(edition).tar): Removed
4447         (%.Z): Removed.
4448         (%.gz): Removed.
4449         (%.uu): Removed.
4450         (ETAGS): Remove, it's in Makeconfig.
4451         (move-if-change): Remove, it's in Makeconfig.
4453 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
4455         [BZ #13970]
4456         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4457         (strtod, strtof, strtold, strtol, strtoul, strtoq)
4458         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4459         (strtod_l, strtof_l, strtold_l): Remove __wur.
4460         It is not necessarily an error to ignore strtol's return value.
4461         One can reliably look at the stored endptr to decide whether
4462         the number had valid syntax.
4464 2012-04-21  Andreas Jaeger  <aj@suse.de>
4466         [BZ #13739]
4467         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4469 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
4471         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4472         * sysdeps/unix/sysv/Versions: Remove file.
4474 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
4476         [BZ #13927]
4477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4479 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
4481         [BZ #7064]
4482         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4483         version from __vm86.
4485 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
4487         * sysdeps/unix/common/lxstat.c: Remove file.
4488         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4490         * sysdeps/unix/sysv/Makefile: Remove file.
4492         * sysdeps/unix/sysv/direct.h: Remove file.
4494         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4495         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4496         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4497         * sysdeps/unix/sysv/bits/signum.h: Likewise.
4498         * sysdeps/unix/sysv/bits/stat.h: Likewise.
4499         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4500         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4502         * sysdeps/unix/sysv/setrlimit.c: Remove file.
4504         * sysdeps/unix/xmknod.c: Remove file.
4505         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4507         * sysdeps/unix/sysv/settimeofday.c: Remove file.
4509         * sysdeps/unix/sysv/i386/time.S: Remove file.
4511         * sysdeps/unix/fxstat.c: Remove file.
4512         * sysdeps/unix/xstat.c: Likewise.
4513         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4515         * sysdeps/unix/sysv/sigaction.c: Remove file.
4517         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4518         (sysdep_headers): Remove variable.
4519         [termio.h not in sysdep_headers] (generated): Likewise.
4520         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4521         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4522         * sysdeps/unix/sysv/tcdrain.c: Likewise.
4523         * sysdeps/unix/sysv/tcflow.c: Likewise.
4524         * sysdeps/unix/sysv/tcflush.c: Likewise.
4525         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4526         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4527         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4528         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4529         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4531         * sysdeps/unix/siglist.c: Remove file.
4533         * sysdeps/unix/getppid.S: Remove file.
4535         * sysdeps/unix/mkdir.c: Remove file.
4536         * sysdeps/unix/rmdir.c: Likewise.
4538 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
4540         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4541         ERR_MAX value.
4542         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4543         errlist-compat value.
4545 2012-04-18  David S. Miller  <davem@davemloft.net>
4547         * sysdeps/generic/memcopy.h (reg_char): Delete.
4548         * debug/strcat_chk.c: Use char, not reg_char.
4549         * debug/strcpy_chk.c: Likewise.
4550         * debug/strncat_chk.c: Likewise.
4551         * debug/strncpy_chk.c: Likewise.
4552         * string/memchr.c: Likewise.
4553         * string/memrchr.c: Likewise.
4554         * string/rawmemchr.c: Likewise.
4555         * string/strcat.c: Likewise.
4556         * string/strchr.c: Likewise.
4557         * string/strchrnul.c: Likewise.
4558         * string/strcmp.c: Likewise.
4559         * string/strcpy.c: Likewise.
4560         * string/strncat.c: Likewise.
4561         * string/strncmp.c: Likewise.
4562         * string/strncpy.c: Likewise.
4564 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4566         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4567         __builtin_memcopy is called when src and dest ranges are known to not
4568         overlap.
4570 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4572         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4573         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4574         fwd_align_merge macro call.
4575         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4576         bwd_align_merge macro call.
4577         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4579 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4581         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4582         bwd_align_merge macros.
4583         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4584         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4585         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4587 2012-04-18  David S. Miller  <davem@davemloft.net>
4589         * sysdeps/sparc/sparc64/memcopy.h: Delete.
4591 2012-04-18  Andreas Jaeger  <aj@suse.de>
4593         [BZ# 6794]
4594         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4595         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4596         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4598         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4599         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4600         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4602         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4603         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4604         Adjust for changed ldbl-128 files.
4606         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4607         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4608         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4610 2012-04-17  David S. Miller  <davem@davemloft.net>
4612         * sysdeps/sparc/sparc32/memcopy.h: Delete.
4614 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
4616         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4617         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4618         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4619         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4620         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4621         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4623 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4625         [BZ #6794]
4626         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4627         * math/libm-test.inc: Add ilogb errno and exception tests.
4628         * math/w_ilogb.c: New file: ilogb wrapper.
4629         * math/w_ilogbf.c: New file: ilogbf wrapper.
4630         * math/w_ilogbl.c: New file: ilogbl wrapper.
4631         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4632         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4633         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4634         exception being thrown with 0.0 as argument.
4635         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4636         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4637         exception being thrown with 0.0 as argument.
4638         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4639         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4640         exception being thrown with 0.0 as argument.
4641         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4642         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4643         exception being thrown with 0.0 as argument.
4644         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4645         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4646         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4647         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4648         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4649         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4650         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4651         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4652         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4654 2012-04-17  Petr Baudis  <pasky@ucw.cz>
4656         * include/sys/uio.h: Change __vector to __iovec to avoid clash
4657         with altivec.
4659 2012-04-16  Marek Polacek  <polacek@redhat.com>
4661         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4663 2012-04-16  Marek Polacek  <polacek@redhat.com>
4665         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4666         operands of fdivp instruction.
4668 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
4670         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4671         * elf/tst-auditmod3b.c: Likewise.
4672         * elf/tst-auditmod4b.c: Likewise.
4673         * elf/tst-auditmod5b.c: Likewise.
4674         * elf/tst-auditmod6b.c: Likewise.
4675         * elf/tst-auditmod6c.c: Likewise.
4676         * elf/tst-auditmod7b.c: Likewise.
4677         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4678         * sysdeps/x86_64/preconfigure.in: Likewise.
4679         * sysdeps/x86_64/preconfigure: Regenerated.
4681 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
4683         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4684         __ILP32__.
4686 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
4688         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4689         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4691 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
4693         [BZ #13973]
4694         * locale/iso-639.def: Fix gl language name. Spotted by
4695         Yaron Shahrabani.
4697 2012-04-12  Roland McGrath  <roland@hack.frob.com>
4699         [BZ #2074]
4700         * libio/libio.h (__io_write_fn): Update comment.
4702 2012-04-12  Petr Baudis  <pasky@ucw.cz>
4704         [BZ #2074]
4705         * stdio.texi (Hook Functions): The user provided writer function
4706         is not allowed to return -1.
4708 2012-04-11  David S. Miller  <davem@davemloft.net>
4710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4712 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
4714         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4715         Add a leading slash to rtkaio.
4717 2012-04-11  Jim Meyering  <meyering@redhat.com>
4719         [BZ #11959]
4720         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4721         It is not necessarily an error to ignore fwrite's return
4722         value.  One can reliably use ferror to test for errors after
4723         the fact.
4725 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4727         * bits/types.h (__snseconds_t): New type.
4728         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4730         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4732         (__SNSECONDS_T_TYPE): Likewise.
4733         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4734         (__SNSECONDS_T_TYPE): Likewise.
4735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4736         (__SNSECONDS_T_TYPE): Likewise.
4738 2012-04-10  Andreas Jaeger  <aj@suse.de>
4740         [BZ #2636]
4741         * manual/time.texi (Processor Time): Return type of times is
4742         elapsed real time since an arbitrary point in the past.
4743         (CPU Time): Move CLK_TCK from here...
4744         (Processor Time): ...to here.  Correct description.
4745         * manual/conf.texi (Constants for Sysconf): Correct description of
4746         _SC_CLK_TCK.
4748 2012-04-10  David S. Miller  <davem@davemloft.net>
4750         [BZ #13967]
4751         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4752         where the is a gap between DT_REL(A) and DT_JMPREL.
4754 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4756         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4757         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4758         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4760 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4762         * elf/dl-support.c (_dl_inhibit_cache): New variable.
4763         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4764         (dl_main): Handle --inhibit-cache.
4765         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4766         _dl_inhibit_cache.
4767         * elf/dl-load.c (_dl_map_object): Use it.
4768         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4770 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
4772         [BZ #13872]
4773         * sysdeps/i386/fpu/e_powl.S (p78): New object.
4774         (__ieee754_powl): Saturate large exponents rather than testing for
4775         overflow of y*log2(x).
4776         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4777         * math/libm-test.inc (pow_test): Do not permit spurious overflow
4778         exceptions.
4780         [BZ #11521]
4781         * math/s_ctan.c: Include <float.h>.
4782         (__ctan): Avoid internal overflow or cancellation in calculating
4783         denominator.
4784         * math/s_ctanf.c: Likewise.
4785         * math/s_ctanl.c: Likewise.
4786         * math/s_ctanh.c: Likewise.
4787         * math/s_ctanhf.c: Likewise.
4788         * math/s_ctanhl.c: Likewise.
4789         * math/libm-test.inc (ctan_test): Add more tests.
4790         (ctanh_test): Likewise.
4791         * sysdeps/i386/fpu/libm-test-ulps: Update.
4792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4794 2012-04-09  Andreas Jaeger  <aj@suse.de>
4796         [BZ #6894]
4797         * manual/filesys.texi (Directory Entries): Mention that d_namlen
4798         is an optional BSD extension.
4800         [BZ #10254]
4801         * manual/stdio.texi (Opening Streams): Document additional fopen
4802         parameters.
4804 2012-04-09  Roland McGrath  <roland@hack.frob.com>
4806         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4807         %eax without telling the compiler.
4809 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
4811         [BZ # 13963]
4812         * manual/install.texi: Use sourceware.org.
4814 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
4816         [BZ #13873]
4817         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4818         (__ieee754_pow): Generate overflow and underflow using huge*huge
4819         and tiny*tiny rather than just returning constant infinity or zero
4820         for large exponents.
4821         * math/libm-test.inc (pow_test): Require overflow exceptions for
4822         applicable cases of large exponents.
4824         [BZ #706]
4825         * sysdeps/i386/fpu/e_pow.S (p10): New object.
4826         (__ieee754_pow): Use iterative multiplication algorithm only for
4827         integer exponents with absolute value below 1024.  Check for odd
4828         integer exponents when using algorithm for real exponents.
4829         * math/libm-test.inc (pow_test): Add more tests.
4830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4832 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
4834         [BZ #13705]
4835         * math/libm-test.inc (exp_test): Do not allow overflow exception
4836         on underflow test.
4838 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
4840         [BZ #13705]
4841         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4842         instead of __kernel_standard_f.
4844 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
4846         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4847         * sysdeps/x86_64/memset_chk.S: Likewise.
4849 2012-04-08  Andreas Jaeger  <aj@suse.de>
4851         [BZ #10153]
4852         * manual/startup.texi (Environment Access): Describe return value
4853         for putenv and setenv.
4855         [BZ #6895]
4856         * manual/filesys.texi (Directory Entries): Add description for
4857         DT_LNK.
4859         [BZ #6890]
4860         * manual/filesys.texi (Directory Entries): Clarify that it's file
4861         system not operating system in the description of DT_UNKNOWN.
4863         [BZ #6578]
4864         * manual/syslog.texi (closelog): Fix reference, it's openlog.
4866 2012-04-08  Stephen Compall  <s11@member.fsf.org>
4868         [BZ #6649]
4869         * manual/llio.texi (Opening and Closing Files): Add cross
4870         reference to explain mode argument.
4872 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
4874         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4875         * sysdeps/x86_64/memset_chk.S: Likewise.
4877 2012-04-07  David S. Miller  <davem@davemloft.net>
4879         * elf/elf.h (R_SPARC_WDISP10): Define.
4880         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4881         R_SPARC_SIZE32.
4882         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4883         R_SPARC_SIZE64 and R_SPARC_H34.
4885 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
4887         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4888         conditions and remove no longer applicable assertion.
4890 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
4892         * bits/byteswap.h: Include <features.h>.
4893         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4894         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4896 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
4898         * bits/byteswap.h (__bswap_16): Removed.
4899         Include <bits/byteswap-16.h> to get __bswap_16.
4900         * sysdeps/i386/bits/byteswap.h: Likewise.
4901         * sysdeps/s390/bits/byteswap.h: Likewise.
4902         * sysdeps/x86_64/bits/byteswap.h: Likewise.
4903         * bits/byteswap-16.h: New file.
4904         * sysdeps/i386/bits/byteswap-16.h: Likewise.
4905         * sysdeps/s390/bits/byteswap-16.h: Likewise.
4906         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4907         * string/Makefile (headers): Add bits/byteswap-16.h.
4909 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4911         [BZ #13895]
4912         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4913         extra indirection.
4914         * nss/Makefile (tests-static, tests): Add tst-nss-static.
4915         * nss/tst-nss-static.c: New.
4917 2012-04-06  Robert Millan  <rmh@gnu.org>
4919         [BZ #6486]
4920         * manual/llio.texi (File Position Primitive): lseek
4921         refers to WHENCE when it really means OFFSET.
4923 2012-04-06  Andreas Jaeger  <aj@suse.de>
4925         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4926         strncmp declarations.
4928         * abilist/libc.abilist: Add __poll and __ppoll.
4930 2012-04-05  David S. Miller  <davem@davemloft.net>
4932         * scripts/check-local-headers.sh: Accept a host triplet in the
4933         path matched by the exclude regexp.
4935         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4936         definition.
4937         * sysdeps/powerpc/powerpc32/dl-machine.h
4938         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4939         * sysdeps/s390/s390-32/dl-machine.h
4940         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4941         * sysdeps/sparc/sparc32/dl-machine.h
4942         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4943         * sysdeps/sparc/sparc64/dl-machine.h
4944         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4946         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4947         lazy binding.
4948         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4949         undefined symbol errors.
4951         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4952         DT_NEEDED entries.
4954 2012-04-05  Michael Matz  <matz@suse.de>
4956         [BZ #13592]
4957         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4959 2012-04-05  Andreas Jaeger  <aj@suse.de>
4961         [BZ #13908]
4962         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4963         comment.
4965 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4968         which ROUND is no valid rounding mode.
4970 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4972         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4973         read again.
4974         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4976 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4978         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4979         an exception using FPU order intentionally.
4981 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4983         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4984         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4985         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4986         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4988 2012-04-05  Simon Josefsson  <simon@josefsson.org>
4990         [BZ #12340]
4991         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4992         EINVAL when BUFLEN is too smal.
4994 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4996         [BZ #13553]
4997         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4998         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5000 2012-04-03  Andreas Jaeger  <aj@suse.de>
5002         [BZ #13938]
5003         * manual/setjmp.texi (System V contexts): Fix sentence.
5005         [BZ #13926]
5006         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5007         New macro for this case.
5008         [!__GNUC__] (__bswap_64): New inline function for this case.
5009         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5010         * bits/byteswap.h: Likewise.
5011         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5012         ull, guard with __GLIBC_HAVE_LONG_LONG.
5014         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5015         __GLIBC_HAVE_LONG_LONG.
5017         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5018         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5020 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5022         [BZ #13691]
5023         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5024         inptr and inend, rather than using last_ch.
5026 2012-04-02  David S. Miller  <davem@davemloft.net>
5028         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5029         * stdio-common/printf-parse.h (read_int): Change return type to
5030         'int', return -1 on INT_MAX overflow.
5031         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5032         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
5033         overflows INT_MAX.  Check for overflow of in-format-string precision
5034         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
5035         SIZE_MAX not INT_MAX for integer overflow test.
5036         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5037         skip the construct in the format string but do not record anything.
5038         * stdio-common/bug22.c: Adjust to test both width/prevision
5039         INT_MAX overflow as well as total length INT_MAX overflow.  Check
5040         explicitly for proper errno values.
5042 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5044         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5045         CHAR_MAX.
5046         * string/test-strcmp.c [! WIDE]: Likewise.
5047         * time/tst-mktime2.c: Likewise for INT_MAX.
5048         * string/test-string.h: #include <sys/param.h> for MIN.
5050         * csu/init-first.c (__libc_init_first): Call __ctype_init.
5051         * sysdeps/i386/init-first.c (init): Likewise.
5052         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5053         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5054         * sysdeps/sh/init-first.c (init): Likewise.
5056 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
5058         * po/ru.po: Update from translation team.
5059         * po/vi.po: Likewise.
5061 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5063         * resolv/nss_dns/dns-host.c: Merge copyright years.
5065 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5067         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5068         Optimize memcpy with prefetch if
5069         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
5070         src, dst pointers have unequal 16 byte alignments.
5072 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5074         [BZ #13928]
5075         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5076         from a CNAME entry and return the minimum ttl for the query.
5077         (gaih_getanswer_slice): Likewise.
5079 2012-03-30  Jeff Law  <law@redhat.com>
5081         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5082         due to long keys.
5083         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5084         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5086         * resolv/nss_dns/dns-host.c: Update copyright year.
5088 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
5090         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5091         requests to save a system call.  Fix check that all bytes are sent.
5093         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5094         comments for sendmmsg.
5096 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5098         [BZ #13691]
5099         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5100         with only 1 character between 0x0041 and 0x01b0.
5101         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5102         * wcsmbs/tst-mbsnrtowcs.c: New file.
5104 2012-03-29  David S. Miller  <davem@davemloft.net>
5106         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5107         small copies by hand.
5109 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5111         [BZ #13761]
5112         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5113         _nss_compat_initgroups_dyn): Fall back to malloc/free
5114         for large group memberships.
5116 2012-03-28  David S. Miller  <davem@davemloft.net>
5118         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5119         that branches into memcpy.
5120         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5121         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5122         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5123         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5124         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5125         bits.
5126         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5127         implementation too.
5128         * sysdeps/sparc/mempcpy.S: New file.
5130         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5131         the IFUNC routine in the libc case.
5132         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5134         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5135         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5136         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5137         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5138         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5139         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5140         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5141         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5143         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5144         loop to 256 bytes instead of 64 bytes and fix test signedness.
5146         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5147         * sysdeps/sparc/sparc32/Makefile: rather than here...
5148         * sysdeps/sparc/sparc64/Makefile: and here.
5150 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
5152         * malloc/mallocbug.c: Avoid warnings about unused variables.
5154 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5156         [BZ #13760]
5157         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5158         in the right place. Discard and retry query if response is
5159         larger than input buffer size.
5161 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
5163         [BZ #369]
5164         [BZ #2678]
5165         [BZ #3866]
5166         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5167         x for large integer exponent.
5168         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5169         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
5170         sign of result as needed afterwards.
5171         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5172         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5173         result for underflowing pow the same as for overflow.
5174         (__kernel_standard_l): Handle powl overflow and underflow here
5175         rather than calling __kernel_standard.
5176         * math/libm-test.inc (pow_test): Add more tests.
5178         [BZ #3868]
5179         [BZ #13879]
5180         [BZ #13910]
5181         [BZ #13911]
5182         [BZ #13912]
5183         [BZ #13913]
5184         [BZ #13915]
5185         [BZ #13916]
5186         [BZ #13917]
5187         [BZ #13918]
5188         [BZ #13919]
5189         [BZ #13920]
5190         [BZ #13921]
5191         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5192         * sysdeps/ieee754/k_standard.c: Include <float.h>.
5193         (__kernel_standard_l): New function.
5194         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5195         __kernel_standard.
5196         * math/w_acosl.c (__acosl): Likewise.
5197         * math/w_asinl.c (__asinl): Likewise.
5198         * math/w_atan2l.c (__atan2l): Likewise.
5199         * math/w_atanhl.c (__atanhl): Likewise.
5200         * math/w_coshl.c (__coshl): Likewise.
5201         * math/w_exp10l.c (__exp10l): Likewise.
5202         * math/w_exp2l.c (__exp2l): Likewise.
5203         * math/w_fmodl.c (__fmodl): Likewise.
5204         * math/w_hypotl.c (__hypotl): Likewise.
5205         * math/w_j0l.c (__j0l, __y0l): Likewise.
5206         * math/w_j1l.c (__j1l, __y1l): Likewise.
5207         * math/w_jnl.c (__jnl, __ynl): Likewise.
5208         * math/w_lgammal.c (__lgammal): Likewise.
5209         * math/w_log10l.c (__log10l): Likewise.
5210         * math/w_log2l.c (__log2l): Likewise.
5211         * math/w_logl.c (__logl): Likewise.
5212         * math/w_powl.c (__powl): Likewise.
5213         * math/w_remainderl.c (__remainderl): Likewise.
5214         * math/w_scalbl.c (sysv_scalbl): Likewise.
5215         * math/w_sinhl.c (__sinhl): Likewise.
5216         * math/w_sqrtl.c (__sqrtl): Likewise.
5217         * math/w_tgammal.c (__tgammal): Likewise.
5218         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5219         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5220         * math/libm-test.inc (acos_test): Add more tests.
5221         (acosh_test): Likewise.
5222         (asin_test): Likewise.
5223         (atanh_test): Likewise.
5224         (exp_test): Likewise.
5225         (exp10_test): Likewise.
5226         (exp2_test): Likewise.
5227         (expm1_test): Likewise.
5228         (lgamma_test): Likewise.
5229         (log_test): Likewise.
5230         (log10_test): Likewise.
5231         (log1p_test): Likewise.
5232         (log2_test): Likewise.
5233         (pow_test): Do not allow some spurious overflow exceptions.
5234         (sqrt_test): Add more tests.
5235         (tgamma_test): Likewise.
5236         (y0_test): Likewise.
5237         (y1_test): Likewise.
5238         (yn_test): Likewise.
5240 2012-03-27  Anton Blanchard  <anton@samba.org>
5242         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5243         MAP_HUGETLB.
5244         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5245         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5246         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5248 2012-03-27  David S. Miller  <davem@davemloft.net>
5250         * conform/Makefile: Run run-conformtest.sh using $(BASH).
5252         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5253         have-as-vis3 check.
5255 2012-03-27  Andreas Jaeger  <aj@suse.de>
5257         * sysdeps/x86_64/elf/configure.in: Moved to ...
5258         * sysdeps/x86_64/configure.in: ... here.
5259         * sysdeps/x86_64/elf/start.S: Moved to ...
5260         * sysdeps/x86_64/start.S: ... here.
5261         * sysdeps/x86_64/elf/configure: Delete.
5263         * sysdeps/x86_64/configure.in: Merge contents from
5264         sysdeps/i386/configure.in (without i686 check).
5266         * sysdeps/i386/elf/Versions: Merge into ...
5267         * sysdeps/i386/Versions: ... this.
5268         * sysdeps/i386/elf/Versions: Delete file.
5269         * sysdeps/i386/elf/start.S: Moved to ...
5270         * sysdeps/i386/start.S: ...here.
5271         * sysdeps/i386/elf/configure.in: Merge into...
5272         * sysdeps/i386/configure.in: ...here.
5273         * sysdeps/i386/elf/configure.in: Delete file.
5274         * sysdeps/i386/elf/configure: Delete file.
5276         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5277         * debug/backtracesyms.c: ... here.
5278         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5279         * debug/backtracesymsfd.c: ... here.
5280         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5281         * sysdeps/generic/ifunc-sel.h: ... here.
5283         * sysdeps/unix/i386/start.c: Delete file.
5284         * sysdeps/unix/sparc/start.c: Delete file.
5285         * sysdeps/unix/start.c: Delete file.
5287         * sysdeps/sh/elf/configure.in: Moved to ...
5288         * sysdeps/sh/configure.in: ... here.
5289         * sysdeps/sh/elf/start.S: Moved to ...
5290         * sysdeps/sh/start.S: ... here.
5291         * sysdeps/sh/elf/configure: Delete file.
5293         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5294         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5295         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5296         * sysdeps/powerpc/powerpc64/entry.h: ... here.
5297         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5298         * sysdeps/powerpc/powerpc64/start.S: here.
5299         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5300         * sysdeps/powerpc/powerpc64/Makefile: ... this.
5301         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5302         * sysdeps/powerpc/powerpc64/configure.in: ... this.
5303         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5305         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5306         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5307         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5308         * sysdeps/powerpc/powerpc32/start.S: ... here.
5309         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5310         * sysdeps/powerpc/powerpc32/configure.in: ... this.
5311         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5313         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5314         * sysdeps/powerpc/ifunc-sel.h: ... here.
5315         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5316         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5318         * sysdeps/sparc/elf/configure.in: Moved to ...
5319         * sysdeps/sparc/configure.in: ... here.
5320         * sysdeps/sparc/elf/configure: Delete file.
5321         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5322         * sysdeps/sparc/sparc32/start.S: ... here.
5323         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5324         * sysdeps/sparc/sparc64/start.S: ... here.
5325         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5326         * sysdeps/sparc/sparc32/Makefile: ... this.
5327         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5328         * sysdeps/sparc/sparc64/Makefile: ... this.
5330         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5331         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5332         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5333         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5334         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5335         * sysdeps/s390/s390-32/setjmp.S: ... here.
5336         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5337         * sysdeps/s390/s390-32/configure.in: ... here.
5338         * sysdeps/s390/s390-32/elf/configure: Delete file.
5339         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5340         * sysdeps/s390/s390-32/start.S: ... here.
5342         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5343         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5344         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5345         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5346         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5347         * sysdeps/s390/s390-64/setjmp.S: ... here.
5348         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5349         * sysdeps/s390/s390-64/configure.in: ... here
5350         * sysdeps/s390/s390-64/elf/configure: Delete file.
5351         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5352         * sysdeps/s390/s390-64/start.S: ... here.
5353         * sysdeps/s390/s390-64/elf/configure: Delete.
5355         * configure.in: Remove support for elf directories in sysdeps.
5357         * configure: Regenerated.
5358         * sysdeps/i386/configure: Regenerated.
5359         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5360         * sysdeps/powerpc/powerpc64/configure: Regenerated.
5361         * sysdeps/s390/s390-32/configure: Regenerated.
5362         * sysdeps/s390/s390-64/configure: Regenerated.
5363         * sysdeps/sh/configure: Regenerated.
5364         * sysdeps/sparc/configure: Regenerated.
5365         * sysdeps/x86_64/configure: Regenerated.
5367 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
5369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5371         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5372         denormal result into account.
5374 2012-03-25  Roland McGrath  <roland@hack.frob.com>
5376         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5377         Reported by Allan McRae <allan@archlinux.org>.
5379 2012-03-23  Jeff Law  <law@redhat.com>
5381         * nss/getnssent.c (__nss_getent): Fix typo.
5383 2012-03-23  David S. Miller  <davem@davemloft.net>
5385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5387 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
5389         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5390         to pad to uint64_t for each field.
5391         (dl_tls_index): Replace unsigned long with uint64_t.
5393 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
5394         Paul Pluzhnikov  <ppluzhnikov@google.com>
5396         [BZ #6528]
5397         * grp/Makefile (otherlibs): Don't set it.
5398         * inet/Makefile (otherlibs): Likewise.
5399         * login/Makefile (otherlibs): Likewise.
5400         * nscd/Makefile (otherlibs): Likewise.
5401         * posix/Makefile (otherlibs): Likewise.
5402         * pwd/Makefile (otherlibs): Likewise.
5403         * rt/Makefile (otherlibs): Likewise.
5404         * sunrpc/Makefile (otherlibs): Likewise.
5405         * nss/Makefile (otherlibs): Likewise.
5406         Add libnss_files to routines and static-only-routines.
5407         ($(objpfx)getent): Remove rule.
5408         * resolv/Makefile: Add libnss_dns and libresolv to routines and
5409         static-only-routines.
5411 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
5413         [BZ #13892]
5414         * math/s_cexp.c: Include <float.h>.
5415         (__cexp): Handle exp result overflowing not necessarily
5416         overflowing both real and imaginary parts of result.
5417         * math/s_cexpf.c: Likewise.
5418         * math/s_cexpl.c: Likewise.
5419         * math/libm-test.inc (cexp_test): Add more tests.
5420         * sysdeps/i386/fpu/libm-test-ulps: Update.
5421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5425         * include/link.h (ELFW): New macro.
5426         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5427         Replace ELF64_R_TYPE with ELFW(R_TYPE).
5429 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5431         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5432         with uint64_t.
5434 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5436         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5437         declaration.
5438         (struct La_x32_retval): Likewise.
5440 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5442         * sysdeps/x86_64/preconfigure.in: New file.
5443         * sysdeps/x86_64/preconfigure: New generated file.
5445 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
5447         [BZ #13824]
5448         * math/e_exp2l.c: Include <float.h>.
5449         (__ieee754_exp2l): Handle overflow and underflow cases
5450         separately.  Only pass fractional part of argument to
5451         __ieee754_expl.
5452         * math/libm-test.inc (exp2_test): Add more tests.
5454         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5455         negating x to take absolute value.
5456         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5457         Likewise.
5458         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5459         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5460         Likewise.
5461         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5462         computing low part if x was negated.
5463         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5465 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5467         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5468         la_x32_gnu_pltexit.
5469         (pltexit): Cast int_retval to ptrdiff_t.
5470         * elf/tst-auditmod3b.c: Likewise.
5471         * elf/tst-auditmod4b.c: Likewise.
5472         * elf/tst-auditmod5b.c: Likewise.
5473         * elf/tst-auditmod6b.c: Likewise.
5474         * elf/tst-auditmod6c.c: Likewise.
5475         * elf/tst-auditmod7b.c: Likewise.
5477         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5478         and x32_gnu_pltexit.
5480         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5481         __ELF_NATIVE_CLASS.
5482         (La_x32_regs): New macro.
5483         (La_x32_retval): Likewise.
5484         (la_x32_gnu_pltenter): New function prototype.
5485         (la_x32_gnu_pltexit): Likewise.
5487 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
5489         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5490         exponent.
5492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5494         * configure.in (libc_cv_cc_nofma): Check for option to disable
5495         generation of FMA instructions.
5496         * configure: Regenerate.
5497         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5498         * sysdeps/ieee754/dbl-64/Makefile: New file.
5499         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5500         Remove brandred-fma4.
5501         (CFLAGS-brandred-fma4.c): Remove.
5502         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5503         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5504         define.
5505         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5506         define.
5508 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5510         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5511         LLONG_MAX != LONG_MAX.
5512         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5513         (_fitoa_word): Likewise.
5514         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5515         LLONG_MAX != LONG_MAX.
5516         * stdio-common/_itowa.h: Include <_itoa.h>.
5517         (_itowa_word): Use _ITOA_WORD_TYPE on value.
5518         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
5519         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
5520         only if not defined.
5521         (_ITOA_WORD_TYPE): Likewise.
5522         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5523         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5525 2012-03-21  David S. Miller  <davem@davemloft.net>
5527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5529 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5531         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5532         of x86_64 when setting libc_cv_slibdir, libdir and
5533         libc_cv_localedir.
5534         * sysdeps/unix/sysv/linux/configure: Regenerated.
5536 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5538         * manual/lang.texi (Old Varargs): Remove section.
5539         (How Variadic): Update menu.
5540         (va_start): Do not mention varargs.h.
5542 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5543             Joseph Myers  <joseph@codesourcery.com>
5545         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5546         link test.
5547         * configure: Regenerated.
5549 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5551         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5552         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5553         conformtest.pl
5555 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5557         * NOTES: Remove.
5558         * Makefile (files-for-dist): Remove NOTES.
5559         (NOTES): Remove rule.
5560         * README: Don't refer to NOTES.
5561         * manual/creature.texi: Don't include macros.texi.
5562         * manual/intro.texi (creature.texi): Remove comment referring to
5563         NOTES.
5565         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5566         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5567         * configure: Regenerated.
5568         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5569         LIBC_TRY_CC_OPTION.
5570         (libc_cv_as_i686): Likewise.
5571         (libc_cv_cc_avx): Likewise.
5572         (libc_cv_cc_sse2avx): Likewise.
5573         (libc_cv_cc_fma4): Likewise.
5574         (libc_cv_cc_novzeroupper): Likewise.
5575         * sysdeps/i386/configure: Regenerated.
5577         [BZ #13883]
5578         * sysdeps/i386/fpu/s_cexp.S: Remove.
5579         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5580         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5581         * math/libm-test.inc (cexp_test): Add more tests.
5582         * sysdeps/i386/fpu/libm-test-ulps: Update.
5583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5585 2012-03-21  Allan McRae  <allan@archlinux.org>
5587         * timezone/Makefile: Do not install iso3166.tab and zone.tab
5589 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #13871]
5592         * math/w_exp2.c: Do not include <float.h>.
5593         (o_threshold, u_threshold): Remove.
5594         (__exp2): Calculate result before checking finiteness and calling
5595         __kernel_standard.
5596         * math/w_exp2f.c: Likewise.
5597         * math/w_exp2l.c: Likewise.
5598         * math/libm-test.inc (exp2_test): Require overflow exception for
5599         1e6 input.
5601         [BZ #3866]
5602         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5603         range of signed 64-bit integers before using fistpll.  Remove
5604         checks for whether integers fit in mantissa bits.
5605         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5606         the range of signed 32-bit integers before using fistpl.  Remove
5607         checks for whether integers fit in mantissa bits.
5608         * sysdeps/i386/fpu/e_powl.S (p64): New object.
5609         (__ieee754_powl): Test for y outside the range of signed 64-bit
5610         integers before using fistpll.  Reduce 64-bit values to 63-bit
5611         ones as needed.
5612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5613         divide-by-zero is raised for zero to large negative powers.
5614         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5615         (__ieee754_powl): Test for y outside the range of signed 64-bit
5616         integers before using fistpll.  Reduce 64-bit values to 63-bit
5617         ones as needed.
5618         * math/libm-test.inc (pow_test): Add more tests.
5620 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5622         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5623         <stdio-common/_itoa.h>.
5624         * debug/segfault.c: Likewise.
5625         * elf/dl-cache.c: Likewise.
5626         * elf/dl-minimal.c: Likewise.
5627         * elf/dl-misc.c: Likewise.
5628         * elf/dl-sysdep.c: Likewise.
5629         * elf/dl-version.c: Likewise.
5630         * elf/rtld.c: Likewise.
5631         * hurd/hurdsock.c: Likewise.
5632         * hurd/lookup-retry.c: Likewise.
5633         * malloc/malloc.c: Likewise.
5634         * malloc/mtrace.c: Likewise.
5635         * nscd/nscd_getgr_r.c: Likewise.
5636         * nscd/nscd_getpw_r.c: Likewise.
5637         * nscd/nscd_getserv_r.c: Likewise.
5638         * posix/getopt_init.c: Likewise.
5639         * posix/wordexp.c: Likewise.
5640         * stdio-common/_itoa.c: Likewise.
5641         * stdio-common/printf_fphex.c: Likewise.
5642         * stdio-common/vfprintf.c: Likewise.
5643         * string/_strerror.c: Likewise.
5644         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5645         * sysdeps/i386/i686/hp-timing.h: Likewise.
5646         * sysdeps/mach/_strerror.c: Likewise.
5647         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5648         * sysdeps/mach/hurd/sethostid.c: Likewise.
5649         * sysdeps/mach/hurd/xmknodat.c: Likewise.
5650         * sysdeps/mach/xpg-strerror.c: Likewise.
5651         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5652         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5653         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5654         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5655         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5656         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5657         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5658         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5659         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5660         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5661         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5662         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5663         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5664         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5665         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5666         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5667         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5668         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5669         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5670         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5671         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5673         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5675         * stdio-common/_itoa.h: Moved to ...
5676         * sysdeps/generic/_itoa.h: Here.
5678         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5680         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5681         instead of "_itoa.h" and "_itowa.h".
5682         * stdio-common/vfprintf.: Likewise.
5684 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5686         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5687         <bits/wordsize.h>.
5688         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5689         (__signbit): Likwise.
5690         (llrintf): Likwise.
5691         (llrint): Likwise.
5693 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5695         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5696         __WORDSIZE != 64.
5698 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
5700         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5701         OVERFLOW_EXCEPTION_OK.
5702         * math/libm-test.inc ("Philosophy"): Update comment about
5703         exception testing.
5704         (OVERFLOW_EXCEPTION): Define.
5705         (OVERFLOW_EXCEPTION_OK): Likewise.
5706         (INVALID_EXCEPTION_OK): Renumber.
5707         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5708         (IGNORE_ZERO_INF_SIGN): Likewise.
5709         (test_exceptions): Handle FE_OVERFLOW.
5710         (exp10_test): Expect overflow exceptions.
5711         (exp2_test): Likewise.
5712         (expm1_test): Likewise.
5713         (nextafter_test): Likewise.
5714         (pow_test): Likewise.
5715         (scalbn_test): Likewise.
5716         (scalbln_test): Likewise.
5718 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5720         * sysdeps/x86_64/bits/atomic.h
5721         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5722         64bit integer.
5723         (atomic_exchange_acq): Likewise.
5724         (__arch_exchange_and_add_body): Likewise.
5725         (__arch_add_body): Likewise.
5726         (atomic_add_negative): Likewise.
5727         (atomic_add_zero): Likewise.
5729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5731         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5732         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5734 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5736         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5737         Check __x86_64__ instead of __WORDSIZE.
5739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5741         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5743 2012-03-19  David S. Miller  <davem@davemloft.net>
5745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5747         * sysdeps/sparc/fpu/fenv_private.h: New file.
5748         * sysdeps/sparc/fpu/math_private.h: Use it.
5749         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5750         Remove.
5751         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5752         (libc_feholdexcept_setroundl): Remove.
5753         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5754         Remove.
5755         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5756         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5760         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5761         int64_t instead of long int.
5762         (INSERT_WORDS64): Likwise.
5764 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5766         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5767         _Unwind_GetCFA return to _Unwind_Ptr first.
5769 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
5771         [BZ #13629]
5772         * math/s_clog.c: Include <float.h>.
5773         (__clog): Scale large or subnormal inputs.
5774         * math/s_clogf.c: Likewise.
5775         * math/s_clogl.c: Likewise.
5776         * math/s_clog10.c: Include <float.h>.
5777         (M_LOG10_2): Define.
5778         (__clog10): Scale large or subnormal inputs.
5779         * math/s_clog10f.c: Likewise.
5780         * math/s_clog10l.c: Likewise.
5781         * math/libm-test.inc (clog_test): Add more tests.
5782         (clog10_test): Likewise.
5783         * sysdeps/i386/fpu/libm-test-ulps: Update.
5784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5786         [BZ #11451]
5787         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5788         x and y.
5789         * math/libm-test.inc (atan2_test): Add another test.
5791         * Makerules (common-objdir-compile): Remove.
5792         * sysdeps/unix/Makefile (config-generated): Do not add
5793         $(unix-generated) to variable.
5794         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5795         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5796         Remove rule.
5797         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5798         Likewise.
5799         [generic bits/local_lim.h] (before-compile): Do not append to
5800         variable.
5801         [generic bits/local_lim.h] (common-generated): Likewise.
5802         [generic sys/param.h] (before-compile): Do not append to variable.
5803         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5804         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5805         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5806         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5807         include.
5808         [generic sys/param.h] (sys/param.h-includes): Remove variable.
5809         [generic sys/param.h] (sys/param.h-includes): Remove rule.
5810         [generic sys/param.h] ($(addprefix
5811         $(common-objpfx),$(sys/param.h-includes))): Likewise.
5812         [generic sys/param.h] (common-generated): Do not append to
5813         variable.
5814         [generic sys/param.h] (sysdep_headers): Likewise.
5815         [generic bits/errno.h] (before-compile): Do not append to
5816         variable.
5817         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5818         rule.
5819         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5820         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5821         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5822         [generic bits/errno.h] (common-generated): Do not append to
5823         variable.
5824         [generic bits/ioctls.h] (before-compile): Do not append to
5825         variable.
5826         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5827         rule.
5828         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5829         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5830         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5831         rule.
5832         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5833         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5834         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5835         [generic bits/ioctls.h] (common-generated): Do not append to
5836         variable.
5837         [generic sys/syscall.h] (syscall.h): Remove variable.
5838         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5839         rule.
5840         [generic sys/syscall.h] (before-compile): Do not append to
5841         variable.
5842         [generic sys/syscall.h] (common-generated): Likewise.
5843         * sysdeps/unix/errnos-tmpl.c: Remove file.
5844         * sysdeps/unix/errnos.awk: Likewise.
5845         * sysdeps/unix/ioctls-tmpl.c: Likewise.
5846         * sysdeps/unix/ioctls.awk: Likewise.
5847         * sysdeps/unix/mk-local_lim.c: Likewise.
5848         * sysdeps/unix/snarf-ioctls: Likewise.
5850 2012-03-19  Richard Henderson  <rth@twiddle.net>
5852         * sysdeps/i386/fpu/fenv_private.h: New file.
5853         * sysdeps/i386/fpu/math_private.h: Use it.
5854         (math_opt_barrier, math_force_eval): Remove.
5855         (libc_feholdexcept_setround_53bit): Remove.
5856         (libc_feupdateenv_53bit): Remove.
5857         * sysdeps/x86_64/fpu/math_private.h: Likewise.
5858         (math_opt_barrier, math_force_eval): Remove.
5859         (libc_feholdexcept): Remove.
5860         (libc_feholdexcept_setround): Remove.
5861         (libc_fetestexcept, libc_fesetenv): Remove.
5862         (libc_feupdateenv_test): Remove.
5863         (libc_feupdateenv, libc_feholdsetround): Remove.
5864         (libc_feresetround): Remove.
5866         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5867         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5869         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5870         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5871         (libc_feupdateenv_testl): New.
5872         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5873         (libc_feupdateenv_testf): New.
5874         (libc_feupdateenv): Use libc_feupdateenv_test.
5875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5876         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5878         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5879         (libc_feholdsetroundf, libc_feholdsetroundl): New.
5880         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5881         (libc_feresetround_noex): New.
5882         (libc_feresetround_noexf): New.
5883         (libc_feresetround_noexl): New.
5884         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5885         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5886         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5887         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5888         SET_RESTORE_ROUND.
5889         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5891         (__cos): Likewise.
5892         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5893         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5894         SET_RESTORE_ROUND_NOEX.
5895         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5896         SET_RESTORE_ROUND_NOEXF.
5897         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5898         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5899         (libc_feholdsetroundf): New.
5900         (libc_feresetround, libc_feresetroundf): New.
5902         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5903         (libc_feholdexcept_setround_53bit): Convert from macro to function.
5904         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
5906         * sysdeps/generic/math_private.h: Include <fenv.h>.
5907         (default_libc_feholdexcept): New.
5908         (default_libc_feholdexcept_setround): New.
5909         (default_libc_fesetenv, default_libc_feupdateenv): New.
5910         (libc_feholdexcept): Only define if undefined.
5911         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5912         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5913         (libc_feholdexcept_setroundl): Likewise.
5914         (libc_feholdexcept_setround_53bit): Likewise.
5915         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5916         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5917         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5918         (libc_feupdateenv_53bit): Likewise.
5919         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5920         (libc_feholdexcept): Convert from macro to inline function.
5921         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5922         (libc_fesetenv, libc_feupdateenv): Likewise.
5924         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5925         not previously defined.
5926         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5927         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5928         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5929         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5930         * sysdeps/ieee754/flt-32/math_private.h: New file.
5931         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5932         math_private.h below SET_FLOAT_WORD.
5933         (__isnan, __isinf_ns, __finite): Remove.
5934         (__isnanf, __isinf_nsf, __finitef): Remove.
5936 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
5938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5940 2012-03-17  David S. Miller  <davem@davemloft.net>
5942         [BZ #6471]
5943         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5944         for 2.16.
5946 2012-03-16  David S. Miller  <davem@davemloft.net>
5948         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5949         warnings.
5951         [BZ #6471]
5952         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5953         properly.
5954         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5955         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5956         sysdep_routines when subdir is sysvipc.
5957         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5958         __getshmlba helper.
5960         * sysdeps/sparc/fpu/libm-test/ulps: Update.
5962 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5964         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5965         [__LP64__].
5967 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5969         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5970         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5971         (__lround): Renamed to ...
5972         (__llround): This.  Replace long int with long long int.
5973         Define lround functions as aliases of llround functions.
5974         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5976 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5978         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5979         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
5980         adresses to uintptr_t.  Replace "long int" and "unsigned long
5981         int" with "greg_t" on va_arg.
5983 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5985         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5986         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5988         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5989         Move e_machine check before EI_CLASS check.  Handle x32
5990         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5991         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5992         SKIP_EM_IA_64 and include
5993         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5995         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5996         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5997         (add_system_dir): New macro.
5999         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6000         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6002 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6004         [BZ #2551]
6005         [BZ #2552]
6006         [BZ #2553]
6007         [BZ #2554]
6008         [BZ #2562]
6009         [BZ #2563]
6010         [BZ #2565]
6011         [BZ #2566]
6012         [BZ #2576]
6013         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6014         (y0): Likewise.
6015         * math/w_j0f.c (j0f): Likewise.
6016         (y0f): Likewise.
6017         * math/w_j0l.c (__j0l): Likewise.
6018         (__y0l): Likewise.
6019         * math/w_j1.c (j1): Likewise.
6020         (y1): Likewise.
6021         * math/w_j1f.c (j1f): Likewise.
6022         (y1f): Likewise.
6023         * math/w_j1l.c (__j1l): Likewise.
6024         (__y1l): Likewise.
6025         * math/w_jn.c (jn): Likewise.
6026         (yn): Likewise.
6027         * math/w_jnf.c (jnf): Likewise.
6028         (ynf): Likewise.
6029         * math/w_jnl.c (__jnl): Likewise.
6030         (__ynl): Likewise.
6031         * math/libm-test.inc (j0_test): Add more tests.
6032         (j1_test): Likewise.
6033         (jn_test): Likewise.  Add trailing semicolon to existing test.
6034         (y0_test): Likewise.
6035         (y1_test): Likewise.
6036         * sysdeps/i386/fpu/libm-test-ulps: Update.
6037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6039         [BZ #13851]
6040         [BZ #13854]
6041         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6042         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6043         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6044         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6045         (__tanl): Set errno for infinite argument.
6046         * sysdeps/i386/fpu/mptan.c: Remove.
6047         * sysdeps/i386/fpu/s_tan.S: Likewise.
6048         * sysdeps/i386/fpu/s_tanl.S: Likewise.
6049         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6050         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6051         * math/libm-test.inc (tan_test): Add more tests and enable more
6052         tests for double and long double.
6053         * sysdeps/i386/fpu/libm-test-ulps: Update.
6054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6056 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6058         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6059         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6061 2012-03-16  Roland McGrath  <roland@hack.frob.com>
6063         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6064         * configure.in: Use it for both main tree and add-ons.
6065         * configure: Regenerated.
6067 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6069         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6071 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
6073         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6074         in comment.
6076         [BZ #13851]
6077         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6078         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6079         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6080         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6081         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6082         infinite argument.
6083         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6084         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6085         != 0 for prec == 2.
6086         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6087         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6088         * sysdeps/i386/fpu/s_cosl.S: Likewise.
6089         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6090         * sysdeps/i386/fpu/s_sinl.S: Likewise.
6091         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6092         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6093         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6094         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6095         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6096         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6097         * math/libm-test.inc (cos_test): Add more tests and enable more
6098         tests for long double.
6099         (sin_test): Likewise.
6100         (sincos_test): Likewise.
6101         * sysdeps/i386/fpu/libm-test-ulps: Update.
6102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6104 2012-03-16  David S. Miller  <davem@davemloft.net>
6106         * sysdeps/sparc/fpu/math_private.h: New file.
6108 2012-03-15  David S. Miller  <davem@davemloft.net>
6110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6111         file.
6112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6114         file.
6115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6120         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6121         sysdep routines.
6122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6124         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6125         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6127         * sysdeps/sparc/sparc-ifunc.h: New file.
6128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6129         sparc-ifunc.h
6130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6132         Likewise.
6133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6134         Likewise.
6135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6139         Likewise.
6140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6145         Likewise.
6146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6147         Likewise.
6148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6154         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6155         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6157         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6165         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6166         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6167         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6168         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6169         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6170         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6171         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6173 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6175         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6176         scaling.
6177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6179 2012-03-15  Andreas Jaeger  <aj@suse.de>
6181         [BZ #13852]
6182         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6183         ieee754/flt-32 implementation for sin, cos and sincos.
6184         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6185         * sysdeps/i386/fpu/s_cosf.S: Likewise.
6186         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6187         * sysdeps/i386/fpu/s_sinf.S: Likewise.
6188         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6189         ieee754/flt-32 implementation for tan.
6191         * math/libm-test.inc (cos_test): Enable some large input tests for
6192         float as well
6193         (sin_test): Likewise.
6194         (sincos_test): Likewise.
6195         (tan_test): Add tests for large input.
6197         * sysdeps/i386/fpu/libm-test-ulps: Update.
6199 2012-03-15  Andreas Jaeger  <aj@suse.de>
6201         [BZ #13658]
6202         * math/libm-test.inc (cos_test): Add more test cases.
6203         (sin_test): Likewise.
6204         (sincos_test): Likewise.
6206 2012-03-15  Andreas Jaeger  <aj@suse.de>
6208         [BZ #13837]
6209         * math/libm-test.inc (cos_test): Add a test case for large input
6210         value.
6211         (sin_test): Likewise.
6212         (sincos_test): Likewise.
6214 2012-03-15  Andreas Jaeger  <aj@suse.de>,
6215         Joseph Myers  <joseph@codesourcery.com>
6217         [BZ #13658]
6218         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6219         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6220         * sysdeps/i386/fpu/branred.c: Likewise.
6221         * sysdeps/i386/fpu/dosincos.c: Likewise.
6222         * sysdeps/i386/fpu/mpa.c: Likewise.
6223         * sysdeps/i386/fpu/s_cos.S: Likewise.
6224         * sysdeps/i386/fpu/s_sin.S: Likewise.
6225         * sysdeps/i386/fpu/s_sincos.S: Likewise.
6226         * sysdeps/i386/fpu/sincos32.c: Likewise.
6228         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6229         Define.
6230         (libc_feupdateenv_53bit): Define.
6231         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6232         Define.
6233         (libc_feupdateenv_53bit): Define.
6235         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6236         53 bit (without extend i386 double precision).
6238         * math/libm-test.inc (sincos_test): Add tests for large input.
6239         (sin): Likewise.
6240         (cos): Likewise.
6242         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6244 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
6246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6248 2012-03-15  David S. Miller  <davem@davemloft.net>
6250         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6251         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6252         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6253         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6266         file.
6267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6269         file.
6270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6272         file.
6273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6275         file.
6276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6278         fmin/fmax sysdep routines.
6279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6281 2012-03-14  David S. Miller  <davem@davemloft.net>
6283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6287         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6288         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6289         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6290         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6300         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6301         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6302         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6303         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6304         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6305         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6306         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6307         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6308         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6309         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6310         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6311         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6312         routines.
6313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6314         file.
6315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6317         file.
6318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6320         file.
6321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6323         file.
6324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6326         file.
6327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6329         file.
6330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6331         file.
6332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6333         file.
6334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6335         file.
6336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6337         New file.
6338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6339         file.
6340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6341         file.
6342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6344         file.
6345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6347         file.
6348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6350         file.
6351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6353         VIS3 routines.
6355         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6356         New file.
6358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6360         * sysdeps/sparc/configure.in: New file.
6361         * sysdeps/sparc/configure: Generate.
6362         * configure.in (libc_cv_sparc_as_vis3): Substitute.
6363         * configure: Regenerate.
6364         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6365         * config.make.in (have-as-vis3): New.
6366         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6367         available use -Av9d instead of -Av9a.
6368         * sysdeps/sparc/sparc64/Makefile: Likewise.
6369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6371         New file.
6372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6373         file.
6374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6375         New file.
6376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6377         file.
6378         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6379         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6380         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6381         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6382         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6384         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6385         fzeros/fnegs to load 0x80000000 into a float register instead of
6386         using the stack.
6387         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6389 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
6391         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6392         bits/syscall.h.
6393         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6394         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6395         ($(inst_includedir)/bits/syscall.h): Remove rule.
6396         ($(objpfx)bits/syscall.d): Include instead of
6397         $(objpfx)syscall-list.d.
6398         (generated): Change syscall-list.h and syscall-list.d to
6399         bits/syscall.h and bits/syscall.d.
6401 2012-03-14  Roland McGrath  <roland@hack.frob.com>
6403         [BZ #13846]
6404         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6406 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #13841]
6409         * math/s_csqrt.c: Include <float.h>.
6410         (__csqrt): Scale large or subnormal inputs.
6411         * math/s_csqrtf.c: Likewise.
6412         * math/s_csqrtl.c: Likewise.
6413         * math/libm-test.inc (csqrt_test): Add more tests.
6414         * sysdeps/i386/fpu/libm-test-ulps: Update.
6415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6417         [BZ #13840]
6418         * math/libm-test.inc (hypot_test): Add more tests.
6420 2012-03-13  David S. Miller  <davem@davemloft.net>
6422         [BZ #13840]
6423         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6424         double-precision for the calculation instead of scaling.
6426 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
6428         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6429         manipulate bits before adding and subtracting TWO52[sx].
6430         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6431         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6432         Likewise.
6433         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6435 2012-03-13  David S. Miller  <davem@davemloft.net>
6437         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6438         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6440         rtld-global-offsets.h
6441         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6443         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6444         large parameters.
6446         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6448         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6449         'err' in the ifdef scope in which it is actually used.
6451         * nss/nss_db/db-init.c: Include string.h
6453 2012-03-12  David S. Miller  <davem@davemloft.net>
6455         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6456         masking out of the most significant byte of random value used.
6457         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6458         Fix coding style in previous change.
6460         * sysdeps/unix/sysv/linux/kernel-features.h
6461         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6462         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6463         expression.
6464         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6465         later.
6467 2012-03-11  David S. Miller  <davem@davemloft.net>
6469         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6470         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6471         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6472         for 'resultvar' otherwise things get truncated on 64-bit.
6474         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6475         Fix masking out of the most significant byte of random value used.
6477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6479 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
6481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6483 2012-03-09  David S. Miller  <davem@davemloft.net>
6485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6486         variables with appropriate CPP guards.
6487         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6488         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
6489         on resulting framesize and the management of the outregs buffer for pltexit.
6490         Preserve floating point return values across _dl_call_pltexit call.
6491         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6492         framesize and the management of the outregs buffer for pltexit.
6493         Preserve floating point return values across _dl_call_pltexit
6494         call.
6495         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6496         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6497         (print_exit): Fix format string for return register value.
6499 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
6501         * sunrpc/Makefile (others): Add rpcgen.
6502         ($(objpfx)rpcgen): Remove special build rule and dependency on
6503         libc.
6504         * sunrpc/rpcgen.c: New file.
6506 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
6508         [BZ #13673]
6509         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6510         * stdio-common/bug-vfprintf-nargs.c: Likewise.
6511         * sysdeps/i386/crti.S: Likewise.
6512         * sysdeps/i386/crtn.S: Likewise.
6513         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6514         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6515         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6516         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6517         * sysdeps/sh/crti.S: Likewise.
6518         * sysdeps/sh/crtn.S: Likewise.
6519         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6521         [BZ #13673]
6522         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6523         with URL.
6524         * locale/programs/locfile-kw.gperf: Likewise.
6525         * locale/programs/charmap-kw.h: Regenerated.
6526         * locale/programs/locfile-kw.h: Likewise.
6528         [BZ #13673]
6529         * intl/plural.y: Replace FSF snail mail address with URL.
6530         * intl/plural.c: Regenerated.
6532 2012-03-09  Richard Henderson  <rth@twiddle.net>
6534         * include/math_private.h: Remove file.
6535         * math/math_private.h: Move file ...
6536         * sysdeps/generic/math_private.h: ... here.
6538         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6539         * sysdeps/powerpc/fpu/math_private.h: Likewise.
6540         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6542         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6543         and <math_private.h>.
6544         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6545         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6546         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6547         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6548         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6549         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6550         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6552         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6553         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6555         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6556         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6557         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6558         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6559         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6560         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6561         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6562         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6563         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6565         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6566         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6568         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6569         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6570         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6574         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6575         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6576         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6577         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6578         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6579         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6580         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6581         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6582         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6583         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6584         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6585         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6586         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6587         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6588         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6589         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6590         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6591         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6592         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6593         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6594         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6595         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6596         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6597         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6598         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6599         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6600         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6601         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6602         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6603         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6604         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6605         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6607         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6608         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6609         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6610         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6611         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6612         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6613         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6614         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6615         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6616         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6617         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6618         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6620         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6621         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6622         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6623         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6624         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6625         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6626         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6627         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6628         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6630         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6631         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6632         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6633         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6634         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6635         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6636         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6637         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6638         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6639         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6640         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6641         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6642         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6643         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6644         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6645         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6646         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6647         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6648         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6649         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6650         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6651         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6652         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6654         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6655         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6656         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6657         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6658         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6659         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6660         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6661         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6662         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6663         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6664         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6665         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6666         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6667         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6668         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6669         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6670         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6671         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6672         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6673         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6674         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6675         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6676         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6677         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6678         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6679         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6680         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6681         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6682         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6683         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6684         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6685         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6686         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6687         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6688         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6689         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6690         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6691         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6692         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6693         * sysdeps/ieee754/k_standard.c: Likewise.
6694         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6695         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6696         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6697         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6698         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6699         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6700         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6701         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6702         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6704         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6706         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6707         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6708         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6709         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6710         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6711         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6712         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6713         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6714         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6715         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6716         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6717         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6718         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6719         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6720         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6721         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6722         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6723         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6724         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6725         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6726         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6727         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6728         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6729         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6730         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6731         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6732         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6733         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6734         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6735         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6736         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6737         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6738         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6739         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6740         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6741         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6742         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6743         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6745         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6746         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6747         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6748         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6749         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6750         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6751         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6752         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6753         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6754         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6755         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6756         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6757         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6758         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6760         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6761         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6762         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6763         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6764         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6766         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6767         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6769         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6771         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6772         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6773         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6774         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6775         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6779         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6780         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6781         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6782         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6784         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6785         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6786         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6787         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6788         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6789         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6790         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6791         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6792         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6793         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6796         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6797         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6798         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6801         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6802         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6803         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6804         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6805         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6806         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6807         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6808         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6809         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6810         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6811         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6813         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6814         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6815         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6816         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6817         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6818         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6819         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6820         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6821         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6822         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6824         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6825         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6826         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6827         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6828         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6829         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6830         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6831         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6832         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6833         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6834         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6839         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6840         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6841         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6842         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6843         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6844         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6845         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6847         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6848         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6849         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6850         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6851         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6852         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6853         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6854         * sysdeps/ieee754/s_lib_version.c: Likewise.
6855         * sysdeps/ieee754/s_matherr.c: Likewise.
6856         * sysdeps/ieee754/s_signgam.c: Likewise.
6857         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6858         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6859         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6860         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6861         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6862         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6863         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6864         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6865         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6866         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6867         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6868         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6869         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6870         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6871         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6872         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6873         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6874         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6875         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6876         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6879 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
6881         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6882         * sunrpc/rpc_main.c: Likewise.
6883         * sunrpc/rpc_svcout.c: Likewise.
6885 2012-03-09  David S. Miller  <davem@davemloft.net>
6887         * include/math_private.h: New file.
6889 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
6891         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6892         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6893         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6894         from <bits/socket_type.h>.
6895         (enum __socket_type): Don't define here.
6896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6898         bits/socket_type.h.
6900         [BZ #13566]
6901         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6902         checking __USE_GNU.
6904         * Makerules ($(inst_includedir)/%.h): New rule.
6905         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6906         (install-others): Remove variable setting.
6907         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6909 2012-03-08  Richard Henderson  <rth@twiddle.net>
6911         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6912         from macro to inline function; merge with the
6913         !__LIBC_INTERNAL_MATH_INLINES version.
6914         (__ieee754_sqrtf): Likewise.
6916         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6917         to inline function.
6918         (__rintf, __floor, __floorf): Likewise.
6920         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6921         macro to inline function.
6922         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6924         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6925         not <math/math_private.h>.
6927 2012-03-08  David S. Miller  <davem@davemloft.net>
6929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6930         copyright year.
6931         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6933 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
6935         * resolv/gai_misc.c (handle_requests): Fix struct timespec
6936         normalization.
6937         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6938         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6940 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
6942         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
6943         be defined individually, they must be defined as a block.  Define
6944         S for printing a string instead of hidint the different by using a
6945         macro for adding the 'l'.
6946         * stdio-common/tst-fphex-wide.c: Adjust.
6948 2012-03-07  Marek Polacek  <polacek@redhat.com>
6950         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6952 2012-03-08  Marek Polacek  <polacek@redhat.com>
6954         [BZ #13806]
6955         * stdio-common/Makefile (tests): Add tst-fphex-wide.
6956         * stdio-common/tst-fphex.c: Define a few macros to make the
6957         test reusable.  Use them.
6958         * stdio-common/tst-fphex-wide.c: New file.
6960 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
6962         [BZ #6911]
6963         * manual/macros.texi (gnusystems): New macro.
6964         (nongnusystems): Likewise.
6965         (gnulinuxhurdsystems): Likewise.
6966         (gnuhurdsystems): Likewise..
6967         (gnulinuxsystems): Likewise.
6968         * manual/charset.texi: Use new macros or @theglibc{} to refer to
6969         variants of the GNU system, not "GNU system".
6970         * manual/conf.texi: Likewise.
6971         * manual/errno.texi: Likewise.  Update example of errno macro
6972         expansion.
6973         * manual/filesys.texi: Likewise.
6974         (getumask): Document as specific to GNU/Hurd.
6975         * manual/install.texi: Likewise.  Reword some references to
6976         GNU/Linux.
6977         * manual/intro.texi: Likewise.
6978         * manual/io.texi: Likewise.
6979         (File Name Portability): Detail which constraints are inapplicable
6980         to all GNU systems and which are only inapplicable to GNU/Hurd.
6981         * manual/job.texi: Likewise.
6982         * manual/llio.texi: Likewise.
6983         (O_NOCTTY): Document as present on GNU/Linux.
6984         * manual/maint.texi: Likewise.
6985         * manual/memory.texi: Likewise.
6986         * manual/pattern.texi: Likewise.
6987         * manual/pipe.texi: Likewise.
6988         * manual/process.texi: Likewise.
6989         * manual/resource.texi: Likewise.
6990         (RUSAGE_CHILDREN): Remove statement about specifying a particular
6991         child on GNU/Hurd.
6992         * manual/setjmp.texi: Likewise.
6993         * manual/signal.texi: Likewise.
6994         * manual/startup.texi: Likewise.
6995         * manual/stdio.texi: Likewise.
6996         * manual/terminal.texi: Likewise.
6997         (ONLCR): Document as POSIX.
6998         (OXTABS): Document availability on GNU/Linux as XTABS.
6999         (ONOEOT): Document availability separately from other bits.
7000         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7001         * manual/time.texi: Likewise.
7002         * manual/users.texi: Likewise.
7003         * INSTALL: Regenerated.
7004         * sysdeps/gnu/errlist.c: Regenerated.
7006         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7007         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7008         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
7009         puts.
7010         * configure: Regenerated.
7012 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
7014         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7015         default includes instead of AC_HEADER_CHECK.
7016         * sysdeps/i386/configure: Regenerated.
7018         [BZ #10716]
7019         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7020         * math/s_cacoshf.c (__cacoshf): Likewise.
7021         * math/s_cacoshl.c (__cacoshl): Likewise.
7022         * math/s_casinh.c (__casinh): Set signs of result from argument.
7023         * math/s_casinhf.c (__casinhf): Likewise.
7024         * math/s_casinhl.c (__casinhl): Likewise.
7025         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7026         (casinh_test): Add more tests.
7027         * sysdeps/i386/fpu/libm-test-ulps: Update.
7028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7030 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
7032         * po/zh_TW.po: Update from translation team.
7034         * login/Makefile (distribute): Remove variable.
7035         * catgets/Makefile: Likewise.
7036         * mach/Makefile: Likewise.
7037         * malloc/Makefile: Likewise.
7038         * misc/Makefile: Likewise.
7039         * iconv/Makefile: Likewise.
7040         * nscd/Makefile: Likewise.
7041         * hurd/Makefile: Likewise.
7042         * manual/Makefile: Likewise.
7043         * locale/Makefile: Likewise.
7044         * intl/Makefile: Likewise.
7045         * conform/Makefile: Likewise.
7046         * nss/Makefile: Likewise.
7047         * time/Makefile: Likewise.
7048         * soft-fp/Makefile: Likewise.
7049         * dirent/Makefile: Likewise.
7050         * gmon/Makefile: Likewise.
7051         * po/Makefile: Likewise.
7052         * rt/Makefile: Likewise.
7053         * socket/Makefile: Likewise.
7054         * math/Makefile: Likewise.
7055         * signal/Makefile: Likewise.
7056         * debug/Makefile: Likewise.
7057         * elf/Makefile: Likewise.
7058         * timezone/Makefile: Likewise.
7059         * stdlib/Makefile: Likewise.
7060         * iconvdata/Makefile: Likewise.
7061         * sunrpc/Makefile: Likewise.
7062         * io/Makefile: Likewise.
7063         * argp/Makefile: Likewise.
7064         * inet/Makefile: Likewise.
7065         * hesiod/Makefile: Likewise.
7066         * grp/Makefile: Likewise.
7067         * csu/Makefile: Likewise.
7068         * wctype/Makefile: Likewise.
7069         * crypt/Makefile: Likewise.
7070         * libio/Makefile: Likewise.
7071         * string/Makefile: Likewise.
7072         * nis/Makefile: Likewise.
7073         * resolv/Makefile: Likewise.
7074         * stdio-common/Makefile: Likewise.
7075         * wcsmbs/Makefile: Likewise.
7076         * dlfcn/Makefile: Likewise.
7077         * posix/Makefile: Likewise.
7079         [BZ #6959]
7080         * timezone/Makefile: Don't install timezone files, just the programs
7081         and scripts.
7083 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
7085         * nss/databases.def: Add missing gshadow entry.
7087         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
7089 2012-03-06  Marek Polacek  <polacek@redhat.com>
7091         [BZ #13726]
7092         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7093         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7094         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7095         * stdio-common/tst-long-dbl-fphex.c: New file.
7097 2012-03-06  David S. Miller  <davem@davemloft.net>
7099         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7100         (set_obp_int): New function.
7101         (get_obp_int): New function.
7102         (__get_clockfreq_via_dev_openprom): Likewise.
7103         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7104         Avoid unused variable warnings on 'val' and use builtin_expect.
7105         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7106         __builtin_expect.
7107         (INLINE_CLONE_SYSCALL): Likewise.
7109 2012-03-05  David S. Miller  <davem@davemloft.net>
7111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7113 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
7115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7117         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7118         only for |x| >= 40.
7119         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7121 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7123         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7124         Replace gettimeofday with __vdso_gettimeofday.
7126         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7127         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7128         __vdso_clock_gettime and __vdso_getcpu.
7130         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7131         time with __vdso_time.
7133 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7135         * manual/lang.texi (size_t): Note types to which size_t may be
7136         equivalent with the GNU C Library, but do not describe when
7137         differences between them are significant.
7139 2012-03-05  Andreas Jaeger  <aj@suse.de>
7141         * sysdeps/i386/fpu/libm-test-ulps: Update.
7143 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
7145         [BZ #3976]
7146         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7147         (__ieee754_pow): Save and restore rounding mode and use
7148         round-to-nearest for main computations.
7149         * math/libm-test.inc (pow_test_tonearest): New function.
7150         (pow_test_towardzero): Likewise.
7151         (pow_test_downward): Likewise.
7152         (pow_test_upward): Likewise.
7153         (main): Call the new functions.
7154         * sysdeps/i386/fpu/libm-test-ulps: Update.
7155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7157         [BZ #3976]
7158         * math/libm-test.inc (cosh_test_tonearest): New function.
7159         (cosh_test_towardzero): Likewise.
7160         (cosh_test_downward): Likewise.
7161         (cosh_test_upward): Likewise.
7162         (sinh_test_tonearest): Likewise.
7163         (sinh_test_towardzero): Likewise.
7164         (sinh_test_downward): Likewise.
7165         (sinh_test_upward): Likewise.
7166         (main): Call the new functions.
7167         * sysdeps/i386/fpu/libm-test-ulps: Update.
7168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7170 2012-03-05  Tom de Vries  <tom@codesourcery.com>
7172         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7173         default stack guard is set in last bytes.
7174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7176 2012-03-05  Kees Cook  <keescook@chromium.org>
7178         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7180         [BZ #13656]
7181         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7182         possibly allocate from heap instead of stack.
7183         * stdio-common/bug-vfprintf-nargs.c: New file.
7184         * stdio-common/Makefile (tests): Add nargs overflow test.
7186 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
7188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7190 2012-03-03  Marek Polacek  <polacek@redhat.com>
7192         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7193         * math/math_private.h: Likewise.
7194         * stdlib/tst-strtod.c: Likewise.
7195         * sysdeps/i386/i486/bits/atomic.h: Likewise.
7196         * sysdeps/x86_64/bits/atomic.h: Likewise.
7198 2012-03-02  David S. Miller  <davem@davemloft.net>
7200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7204         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7205         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7206         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7207         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7209 2012-03-02  Roland McGrath  <roland@hack.frob.com>
7211         [BZ #13792]
7212         * manual/examples/README: New file, says the example source files
7213         can be used under GPL>=2.
7214         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7215         line containing just "*/".
7216         * manual/examples/add.c: Add copyright header (GPL>=2).
7217         * manual/examples/argp-ex1.c: Likewise.
7218         * manual/examples/argp-ex2.c: Likewise.
7219         * manual/examples/argp-ex3.c: Likewise.
7220         * manual/examples/argp-ex4.c: Likewise.
7221         * manual/examples/atexit.c: Likewise.
7222         * manual/examples/db.c: Likewise.
7223         * manual/examples/dir.c: Likewise.
7224         * manual/examples/dir2.c: Likewise.
7225         * manual/examples/execinfo.c: Likewise.
7226         * manual/examples/filecli.c: Likewise.
7227         * manual/examples/filesrv.c: Likewise.
7228         * manual/examples/fmtmsgexpl.c: Likewise.
7229         * manual/examples/genpass.c: Likewise.
7230         * manual/examples/inetcli.c: Likewise.
7231         * manual/examples/inetsrv.c: Likewise.
7232         * manual/examples/isockad.c: Likewise.
7233         * manual/examples/longopt.c: Likewise.
7234         * manual/examples/memopen.c: Likewise.
7235         * manual/examples/memstrm.c: Likewise.
7236         * manual/examples/mkfsock.c: Likewise.
7237         * manual/examples/mkisock.c: Likewise.
7238         * manual/examples/mygetpass.c: Likewise.
7239         * manual/examples/pipe.c: Likewise.
7240         * manual/examples/popen.c: Likewise.
7241         * manual/examples/rprintf.c: Likewise.
7242         * manual/examples/search.c: Likewise.
7243         * manual/examples/select.c: Likewise.
7244         * manual/examples/setjmp.c: Likewise.
7245         * manual/examples/sigh1.c: Likewise.
7246         * manual/examples/sigusr.c: Likewise.
7247         * manual/examples/stpcpy.c: Likewise.
7248         * manual/examples/strdupa.c: Likewise.
7249         * manual/examples/strftim.c: Likewise.
7250         * manual/examples/strncat.c: Likewise.
7251         * manual/examples/subopt.c: Likewise.
7252         * manual/examples/swapcontext.c: Likewise.
7253         * manual/examples/termios.c: Likewise.
7254         * manual/examples/testopt.c: Likewise.
7255         * manual/examples/testpass.c: Likewise.
7256         * manual/examples/timeval_subtract.c: Likewise.
7258         [BZ #13792]
7259         * manual/time.texi (Elapsed Time): Move timeval_subtract example
7260         function to ...
7261         * manual/timeval_subtract.c.texi: ... here, new file.
7263 2012-03-02  David S. Miller  <davem@davemloft.net>
7265         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7267 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
7269         [BZ #3976]
7270         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7271         (__sin): Save and restore rounding mode and use round-to-nearest
7272         for all computations.
7273         (__cos): Save and restore rounding mode and use round-to-nearest
7274         for all computations.
7275         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7276         <fenv.h>.
7277         (tan): Save and restore rounding mode and use round-to-nearest for
7278         all computations.
7279         * math/libm-test.inc (cos_test_tonearest): New function.
7280         (cos_test_towardzero): Likewise.
7281         (cos_test_downward): Likewise.
7282         (cos_test_upward): Likewise.
7283         (sin_test_tonearest): Likewise.
7284         (sin_test_towardzero): Likewise.
7285         (sin_test_downward): Likewise.
7286         (sin_test_upward): Likewise.
7287         (tan_test_tonearest): Likewise.
7288         (tan_test_towardzero): Likewise.
7289         (tan_test_downward): Likewise.
7290         (tan_test_upward): Likewise.
7291         (main): Call the new functions.
7292         * sysdeps/i386/fpu/libm-test-ulps: Update.
7293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295         [BZ #10135]
7296         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7297         small n, then large n, before computing and testing k+n.
7298         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7299         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7300         Likewise.
7301         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7302         Likewise.
7303         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7304         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7305         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7306         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7309         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7310         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7311         * math/libm-test.inc (scalbn_test): Add more tests.
7312         (scalbln_test): Likewise.
7314         * manual/filesys.texi (mode_t): Describe constraints on size and
7315         signedness, not exact equivalence to a particular type.
7316         (ino_t): Likewise.
7317         (ino64_t): Likewise.
7318         (dev_t): Likewise.
7319         (nlink_t): Likewise.
7320         (blkcnt_t): Likewise.
7321         (blkcnt64_t): Likewise.
7322         * manual/llio.texi (off_t): Likewise.
7324         [BZ #3976]
7325         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7326         (__ieee754_exp): Save and restore rounding mode and use
7327         round-to-nearest for all computations.
7328         * math/libm-test.inc (exp_test_tonearest): New function.
7329         (exp_test_towardzero): Likewise.
7330         (exp_test_downward): Likewise.
7331         (exp_test_upward): Likewise.
7332         (main): Call the new functions.
7333         * sysdeps/i386/fpu/libm-test-ulps: Update.
7334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7336 2012-03-01  Chris Demetriou  <cgd@google.com>
7338         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7339         have predictable order.
7341 2012-03-01  David S. Miller  <davem@davemloft.net>
7343         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7345         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7346         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7347         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7348         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7350         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7351         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7352         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7354         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7355         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7356         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7357         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7358         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7362         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7363         * sysdeps/sparc/fpu/libm-test-ulps: to here.
7364         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7366         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7367         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7368         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7369         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7370         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7371         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7372         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7373         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7374         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7375         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7376         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7377         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7379         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7380         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7381         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7382         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7383         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7384         * sysdeps/sparc/elf/configure: Regenerated.
7386 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
7388         * configure.in (AS, LD): Require binutils 2.20 or later.
7389         * configure: Regenerated.
7390         * manual/install.texi (Tools for Compilation): Give binutils 2.20
7391         as required minimum version.
7392         * INSTALL: Regenerated.
7394         [BZ #2541]
7395         [BZ #4108]
7396         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7397         before squaring exponent.
7398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7399         bottom long double and 27 bits of top long double before squaring
7400         exponent.
7401         * math/libm-test.inc (erfc_test): Add more tests.
7402         * sysdeps/i386/fpu/libm-test-ulps: Update.
7403         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406 2012-03-01  Kai Tietz  <ktietz@redhat.com>
7408         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7409         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7410         containing bit-fields.
7411         * soft-fp/extended.h (_FP_UNION_E): Likewise.
7412         * soft-fp/single.h (_FP_UNION_S): Likewise.
7413         * soft-fp/double.h (_FP_UNION_D): Likewise.
7415 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
7417         [BZ #13786]
7418         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7419         not include ../strcmp.S.
7420         [USE_AS_STRNCASECMP_L]: Likewise.
7421         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7422         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7423         * sysdeps/i386/i686/multiarch/strncase_l-c.c
7424         (__strncasecmp_l_ia32): Define as alias to
7425         __strncasecmp_l_nonascii.
7427         [BZ #5794]
7428         * math/libm-test.inc (expm1_test): Add test for bug 5794.
7429         * sysdeps/i386/fpu/libm-test-ulps: Update.
7430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7432         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7435 2012-02-29  Jeff Law  <law@redhat.com>
7437         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7438         out of bounds read.
7440 2012-02-29  Marek Polacek  <polacek@redhat.com>
7442         [BZ #13706]
7443         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7444         * elf/Makefile: Add rules to run tst-unused-dep.out.
7446 2012-02-28  David S. Miller  <davem@davemloft.net>
7448         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7449         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7450         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7451         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7452         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7453         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7455 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
7457         * math/libm-test.inc (llround_test): Move one test from
7458         lround_test.  Use TEST_f_L in moved test.
7459         (lround_test): Move misplaced test to llround_test.  Add testcase
7460         from bug 2561.
7462 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
7464         * sysdeps/x86_64/fpu/e_expf.S: New file.
7465         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7467 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
7469         [BZ #13637]
7470         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7471         of remain_len that may cause incomplete multi-byte character and
7472         false match.
7473         * posix/bug-regex33.c: New file.
7474         * posix/Makefile (tests): Add bug-regex33.
7476 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
7478         * manual/macros.texi: New file.
7479         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7480         * manual/libc.texinfo: Include macros.texi.
7481         * manual/creatute.texi: Likewise.
7482         * manual/install.texi: Likewise.
7483         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7484         @glibcadj{} in references to the GNU C Library.
7485         * manual/charset.texi: Likewise.
7486         * manual/conf.texi: Likewise.
7487         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
7488         when not using those macros.
7489         * manual/creature.texi: Likewise.
7490         * manual/crypt.texi: Likewise.
7491         * manual/errno.texi: Likewise.
7492         * manual/filesys.texi: Likewise.
7493         * manual/header.texi: Likewise.
7494         * manual/install.texi: Likewise.
7495         * manual/intro.texi: Likewise.
7496         * manual/io.texi: Likewise.
7497         * manual/job.texi: Likewise.
7498         * manual/lang.texi: Likewise.
7499         * manual/libc.texiinfo: Likewise.
7500         * manual/llio.texi: Likewise.
7501         * manual/locale.texi: Likewise.
7502         * manual/maint.texi: Likewise.
7503         * manual/math.texi: Likewise.
7504         * manual/memory.texi: Likewise.
7505         * manual/message.texi: Likewise.
7506         * manual/nss.texi: Likewise.
7507         * manual/pattern.texi: Likewise.
7508         * manual/process.texi: Likewise.
7509         * manual/resource.texi: Likewise.
7510         * manual/search.texi: Likewise.
7511         * manual/setjmp.texi: Likewise.
7512         * manual/signal.texi: Likewise.
7513         * manual/socket.texi: Likewise.
7514         * manual/startup.texi: Likewise.
7515         * manual/stdio.texi: Likewise.
7516         * manual/string.texi: Likewise.
7517         * manual/sysinfo.texi: Likewise.
7518         * manual/syslog.texi: Likewise.
7519         * manual/terminal.texi: Likewise.
7520         * manual/time.texi: Likewise.
7521         * manual/users.texi: Likewise.
7522         * INSTALL: Regenerated.
7523         * NOTES: Regenerated.
7524         * sysdeps/gnu/errlist.c: Regenerated.
7526 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7528         * include/dirent.h: Include <dirstream.h> before
7529         <dirent/dirent.h>.
7531 2012-02-28  David S. Miller  <davem@davemloft.net>
7533         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7534         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7535         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7536         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7538 2012-02-27  David S. Miller  <davem@davemloft.net>
7540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7542         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7543         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7546         frame pointer instead of stack pointer relative arg slot.
7547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7548         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7549         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7551 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
7553         [BZ #3992]
7554         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7556 2012-02-27  David S. Miller  <davem@davemloft.net>
7558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7562         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7563         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7564         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7565         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7567 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7569         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7570         later.  Allow versions 5-9.
7571         * configure: Regenerated.
7572         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7573         required minimum version and 4.6 as recommended version.  Do not
7574         mention bugs in GCC 2.7 and 2.8.
7575         * INSTALL: Regenerated.
7577 2012-02-27  David S. Miller  <davem@davemloft.net>
7579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7583         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7584         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7585         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7586         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7589         manipulate bits before adding and subtracting TWO112[sx].
7590         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7592 2012-02-27  Roland McGrath  <roland@hack.frob.com>
7594         [BZ #13775]
7595         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7596         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7597         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7598         being in POSIX, because they are in 1003.1-2008.
7600         * rt/tst-aio.c: Include <fcntl.h>.
7601         * rt/tst-aio7.c: Likewise.
7602         * rt/tst-aio64.c: Likewise.
7604         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7606 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7608         * manual/install.texi (--with-headers): Describe headers as
7609         interface headers, not private headers.
7610         (Specific advice for GNU/Linux systems): Describe use of headers
7611         from "make headers_install", not private headers from older
7612         kernels.
7613         * INSTALL: Regenerated.
7614         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7615         Change to 2.6.19.
7616         * sysdeps/unix/sysv/linux/configure: Regenerated.
7618         * manual/llio.texi (fclean): Remove documentation.
7620         * manual/Makefile (libc-texi-generated): New variable.  Include
7621         version.texi.
7622         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7623         $(libc-texi-generated), not duplicated list of files.
7624         (version.texi, stamp-version): New rules.
7625         (realclean): Remove $(libc-texi-generated), not individual files
7626         from that list.  Do not remove dir-add.texinfo.
7627         * manual/libc.texinfo: Comment out uses of edition numbers and
7628         references to printed manual.  Remove last-updated dates.
7629         (EDITION): Comment out.
7630         (ISBN): Likewise.
7631         (VERSION, UPDATED): Remove.
7632         (version.texi): Include.
7634 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
7636         * sysdeps/posix/spawni.c: Include <signal.h>.
7637         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7638         * sysdeps/pthread/aio_fsync.c: Likewise.
7640 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
7642         * conform/Makefile (tests): Run only when not cross-compiling and
7643         when fast-check is not defined.
7645         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7646         * conform/data/limits.h-data: Fixes for POSIX2008.
7647         * conform/run-conformtest.sh: Run all tests.
7648         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7649         headers.
7650         * include/bits/dlfcn.h: Likewise.
7651         * include/langinfo.h: Likewise.
7652         * include/monetary.h: Likewise.
7653         * include/sys/poll.h: Likewise.
7655         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7656         for __USE_GNU.
7657         * posix/spawn.h: Define __need_sigset_t.
7658         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7659         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7660         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
7661         to get sigevent_t only.
7662         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7663         only for __USE_GNU.
7664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7665         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7666         process_vm_writev only for __USE_GNU.
7667         * termios/termios.h: Declare tcgetsid also for POSIX2008.
7669         * conform/Makefile: For now ignore errors from run-conformtest.
7670         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
7671         POSIX to avoid namespace pollution.  Don't prepend headers.
7672         * conform/data/aio.h-data: Fixes for POSIX testing.
7673         * conform/data/fcntl.h-data: Likewise.
7674         * conform/data/glob.h-data: Likewise.
7675         * conform/data/grp.h-data: Likewise.
7676         * conform/data/pthread.h-data: Likewise.
7677         * conform/data/pwd.h-data: Likewise.
7678         * conform/data/signal.h-data: Likewise.
7679         * conform/data/spawn.h-data: Likewise.
7680         * conform/data/stdio.h-data: Likewise.
7681         * conform/data/stdlib.h-data: Likewise.
7682         * conform/data/stropts.h-data: Likewise.
7683         * conform/data/sys/mman.h-data: Likewise.
7684         * conform/data/sys/stat.h-data: Likewise.
7685         * conform/data/sys/types.h-data: Likewise.
7686         * conform/data/sys/wait.h-data: Likewise.
7687         * conform/data/time.h-data: Likewise.
7688         * conform/data/unistd.h-data: Likewise.
7689         * conform/data/utime.h-data: Likewise.
7691         * io/sys/stat.h: fchmod was always in POSIX.
7692         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7693         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7694         * rt/aio.h: Define __need_timespec before including <time.h>.
7695         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7696         struct.  Add forward declaration of pthread_attr_t and use it in
7697         sigevent.
7698         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7699         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7700         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7701         always remove CLK_TCK definition.
7703 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
7705         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7707 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
7709         * conform/run-conformtest.sh: New file.
7710         * conform/Makefile: Run run-conformtest for tests.
7711         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
7712         support.
7714         * conform/data/uchar.h-data: New file.
7715         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7716         * conform/data/arpa/inet.h-data: Likewise.
7717         * conform/data/assert.h-data: Likewise.
7718         * conform/data/complex.h-data: Likewise.
7719         * conform/data/cpio.h-data: Likewise.
7720         * conform/data/ctype.h-data: Likewise.
7721         * conform/data/dirent.h-data: Likewise.
7722         * conform/data/dlfcn.h-data: Likewise.
7723         * conform/data/errno.h-data: Likewise.
7724         * conform/data/fcntl.h-data: Likewise.
7725         * conform/data/float.h-data: Likewise.
7726         * conform/data/fmtmsg.h-data: Likewise.
7727         * conform/data/fnmatch.h-data: Likewise.
7728         * conform/data/ftw.h-data: Likewise.
7729         * conform/data/glob.h-data: Likewise.
7730         * conform/data/grp.h-data: Likewise.
7731         * conform/data/iconv.h-data: Likewise.
7732         * conform/data/inttypes.h-data: Likewise.
7733         * conform/data/langinfo.h-data: Likewise.
7734         * conform/data/libgen.h-data: Likewise.
7735         * conform/data/limits.h-data: Likewise.
7736         * conform/data/locale.h-data: Likewise.
7737         * conform/data/math.h-data: Likewise.
7738         * conform/data/monetary.h-data: Likewise.
7739         * conform/data/mqueue.h-data: Likewise.
7740         * conform/data/ndbm.h-data: Likewise.
7741         * conform/data/net/if.h-data: Likewise.
7742         * conform/data/netdb.h-data: Likewise.
7743         * conform/data/netinet/in.h-data: Likewise.
7744         * conform/data/nl_types.h-data: Likewise.
7745         * conform/data/poll.h-data: Likewise.
7746         * conform/data/pthread.h-data: Likewise.
7747         * conform/data/pwd.h-data: Likewise.
7748         * conform/data/regex.h-data: Likewise.
7749         * conform/data/sched.h-data: Likewise.
7750         * conform/data/search.h-data: Likewise.
7751         * conform/data/semaphore.h-data: Likewise.
7752         * conform/data/setjmp.h-data: Likewise.
7753         * conform/data/signal.h-data: Likewise.
7754         * conform/data/spawn.h-data: Likewise.
7755         * conform/data/stdarg.h-data: Likewise.
7756         * conform/data/stdio.h-data: Likewise.
7757         * conform/data/stdlib.h-data: Likewise.
7758         * conform/data/string.h-data: Likewise.
7759         * conform/data/strings.h-data: Likewise.
7760         * conform/data/stropts.h-data: Likewise.
7761         * conform/data/sys/ipc.h-data: Likewise.
7762         * conform/data/sys/mman.h-data: Likewise.
7763         * conform/data/sys/msg.h-data: Likewise.
7764         * conform/data/sys/resource.h-data: Likewise.
7765         * conform/data/sys/select.h-data: Likewise.
7766         * conform/data/sys/sem.h-data: Likewise.
7767         * conform/data/sys/shm.h-data: Likewise.
7768         * conform/data/sys/socket.h-data: Likewise.
7769         * conform/data/sys/stat.h-data: Likewise.
7770         * conform/data/sys/statvfs.h-data: Likewise.
7771         * conform/data/sys/time.h-data: Likewise.
7772         * conform/data/sys/timeb.h-data: Likewise.
7773         * conform/data/sys/times.h-data: Likewise.
7774         * conform/data/sys/types.h-data: Likewise.
7775         * conform/data/sys/uio.h-data: Likewise.
7776         * conform/data/sys/un.h-data: Likewise.
7777         * conform/data/sys/utsname.h-data: Likewise.
7778         * conform/data/sys/wait.h-data: Likewise.
7779         * conform/data/syslog.h-data: Likewise.
7780         * conform/data/tar.h-data: Likewise.
7781         * conform/data/termios.h-data: Likewise.
7782         * conform/data/utime.h-data: Likewise.
7783         * conform/data/utmpx.h-data: Likewise.
7784         * conform/data/varargs.h-data: Likewise.
7785         * conform/data/wchar.h-data: Likewise.
7786         * conform/data/wctype.h-data: Likewise.
7787         * conform/data/wordexp.h-data: Likewise.
7789         * include/stropts.h: New file.
7790         * include/uchar.h: New file.
7791         * include/aio.h: Changes to allow conformtest.pl to use the headers.
7792         * include/assert.h: Likewise.
7793         * include/ctype.h: Likewise.
7794         * include/dirent.h: Likewise.
7795         * include/dlfcn.h: Likewise.
7796         * include/fcntl.h: Likewise.
7797         * include/fnmatch.h: Likewise.
7798         * include/glob.h: Likewise.
7799         * include/grp.h: Likewise.
7800         * include/libio.h: Likewise.
7801         * include/locale.h: Likewise.
7802         * include/math.h: Likewise.
7803         * include/net/if.h: Likewise.
7804         * include/netdb.h: Likewise.
7805         * include/netinet/in.h: Likewise.
7806         * include/pthread.h: Likewise.
7807         * include/pwd.h: Likewise.
7808         * include/regex.h: Likewise.
7809         * include/sched.h: Likewise.
7810         * include/search.h: Likewise.
7811         * include/setjmp.h: Likewise.
7812         * include/signal.h: Likewise.
7813         * include/stdio.h: Likewise.
7814         * include/stdlib.h: Likewise.
7815         * include/string.h: Likewise.
7816         * include/sys/cdefs.h: Likewise.
7817         * include/sys/mman.h: Likewise.
7818         * include/sys/msg.h: Likewise.
7819         * include/sys/resource.h: Likewise.
7820         * include/sys/select.h: Likewise.
7821         * include/sys/socket.h: Likewise.
7822         * include/sys/stat.h: Likewise.
7823         * include/sys/statvfs.h: Likewise.
7824         * include/sys/time.h: Likewise.
7825         * include/sys/times.h: Likewise.
7826         * include/sys/uio.h: Likewise.
7827         * include/sys/utsname.h: Likewise.
7828         * include/sys/wait.h: Likewise.
7829         * include/termios.h: Likewise.
7830         * include/time.h: Likewise.
7831         * include/ulimit.h: Likewise.
7832         * include/unistd.h: Likewise.
7833         * include/utime.h: Likewise.
7834         * include/wchar.h: Likewise.
7835         * include/wctype.h: Likewise.
7836         * include/wordexp.h: Likewise.
7838         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7840         * time/time.h: TIME_UTC must be a macro.
7841         Make timespec_get available for ISO C11 only as well.
7843 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
7845         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7846         Reported by Peng Haitao <penght@cn.fujitsu.com>.
7848 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
7850         * configure.in: Use -o not -a in test for unsupported multi-arch.
7852 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
7854         * manual/texinfo.tex: Update to version 2012-01-19.16.
7856 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
7858         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7860 2012-02-24  Roland McGrath  <roland@hack.frob.com>
7862         [BZ #13738]
7863         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7864         * manual/fdl-1.3.texi: New file.
7865         * manual/fdl-1.1.texi: File removed.
7867         [BZ #13738]
7868         * manual/libc.texinfo (FDL_VERSION): New @set.
7869         Use it for mention of FDL in cover text.
7870         (Documentation License): Use it in @include file name.
7872 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7873             Roland McGrath  <roland@hack.frob.com>
7875         [BZ #5461]
7876         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7877         not LONG_LONG_MAX and LONG_LONG_MIN.
7878         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7879         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
7880         name.
7881         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7885         [BZ #2547]
7886         [BZ #11365]
7887         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7888         manipulate bits before adding and subtracting TWO23[sx].
7889         * math/libm-test.inc (nearbyint_test): Add more tests.
7891 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7893         [BZ #2548]
7894         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7895         bits before adding and subtracting TWO23[sx].
7896         * math/libm-test.inc (rint_test): Add more tests.
7897         (rint_test_tonearest): Likewise.
7898         (rint_test_towardzero): Likewise.
7899         (rint_test_downward): Likewise.
7900         (rint_test_upward: Likewise.
7902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7904         [BZ #10110]
7905         * include/stdc-predef.h: New file.  Extracted from features.h.
7906         * include/features.h: Include stdc-predef.h.
7907         * Makefile (headers): Add stdc-predef.h.
7908         * CONFORMANCE (Compiler limitations): Update.
7910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7912         * manual/libc.texinfo (VERSION, UPDATED): Revert.
7914 2012-02-21  David S. Miller  <davem@davemloft.net>
7916         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7917         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7919 2012-02-20  David S. Miller  <davem@davemloft.net>
7921         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7922         using a normal save/restore sequence, rather than allocating a
7923         dummy stack frame just to store a frame pointer and restore.
7924         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7926 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
7928         * manual/install.texi: Fix stray word in line-wrapped comment.
7930 2012-02-20  David S. Miller  <davem@davemloft.net>
7932         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7933         both binutils and gcc support GOTDATA.
7935         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7936         "rd %pc" in the PIC register setup sequences.
7938         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7939         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7940         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7941         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7942         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7944         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7945         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7946         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7947         (SYSCALL_ERROR_HANDLER): Likewise.
7948         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7949         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7951         (SYSCALL_ERROR_HANDLER): Likewise.
7953         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7954         (HAVE_GCC_GOTDATA): New.
7955         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7956         relocation support in both binutils and gcc.
7957         * sysdeps/sparc/elf/configure: Regenerate.
7959         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7960         * sysdeps/sparc/sparc32/elf/configure: Delete.
7961         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7962         * sysdeps/sparc/sparc64/elf/configure: Delete.
7963         * sysdeps/sparc/elf/configure.in: New file.
7964         * sysdeps/sparc/elf/configure: Generate.
7966         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7967         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7968         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7969         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7970         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7972 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
7974         * manual/install.texi: Do not mention specific glibc version
7975         numbers.
7976         * manual/libc.texinfo (VERSION, UPDATED): Update.
7977         (@copying): Use @copyright{} and range of years.
7979 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
7981         [BZ #13695]
7982         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7983         [crti.S not in sysdirs] (generated): Do not append.
7984         [crti.S not in sysdirs] (omit-deps): Likewise.
7985         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7986         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7987         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7988         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7989         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7990         Likewise.
7991         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7992         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7993         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7994         * csu/defs.awk: Remove file.
7995         * sysdeps/generic/initfini.c: Likewise.
7996         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7997         variable.
7998         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7999         Likewise.
8001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8003         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8004         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8005         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8006         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8007         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8008         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8009         <bits/epoll.h>.
8010         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8011         (__EPOLL_PACKED): Define to empty if not defined by
8012         <bits/epoll.h>.
8013         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8015         bits/epoll.h.
8017 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8019         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8020         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8021         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8022         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8023         <bits/timerfd.h>.
8024         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8026         bits/timerfd.h.
8028 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
8030         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8031         in C locale.
8032         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8033         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8034         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8037 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
8039         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8040         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8042 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
8044         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8045         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8046         defined.
8047         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8048         Likewise.
8049         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8050         entry for 2.16.
8052 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
8054         * math/w_acos.c: Use non-signaling floating-point comparisons.
8055         * math/w_acosf.c: Likewise.
8056         * math/w_acosh.c: Likewise.
8057         * math/w_acoshf.c: Likewise.
8058         * math/w_acoshl.c: Likewise.
8059         * math/w_acosl.c: Likewise.
8060         * math/w_asin.c: Likewise.
8061         * math/w_asinf.c: Likewise.
8062         * math/w_asinl.c: Likewise.
8063         * math/w_atanh.c: Likewise.
8064         * math/w_atanhf.c: Likewise.
8065         * math/w_atanhl.c: Likewise.
8066         * math/w_exp2.c: Likewise.
8067         * math/w_exp2f.c: Likewise.
8068         * math/w_exp2l.c: Likewise.
8069         * math/w_j0.c: Likewise.
8070         * math/w_j0f.c: Likewise.
8071         * math/w_j0l.c: Likewise.
8072         * math/w_j1.c: Likewise.
8073         * math/w_j1f.c: Likewise.
8074         * math/w_j1l.c: Likewise.
8075         * math/w_jn.c: Likewise.
8076         * math/w_jnf.c: Likewise.
8077         * math/w_log.c: Likewise.
8078         * math/w_log10.c: Likewise.
8079         * math/w_log10f.c: Likewise.
8080         * math/w_log10l.c: Likewise.
8081         * math/w_log2.c: Likewise.
8082         * math/w_log2f.c: Likewise.
8083         * math/w_log2l.c: Likewise.
8084         * math/w_logf.c: Likewise.
8085         * math/w_logl.c: Likewise.
8086         * math/w_sqrt.c: Likewise.
8087         * math/w_sqrtf.c: Likewise.
8088         * math/w_sqrtl.c: Likewise.
8089         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8090         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8091         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8092         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8093         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8095 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8097         [BZ #9739]
8098         * manual/string.texi (strnlen): Use correct parameter name in
8099         equivalent expression.
8101 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8103         [BZ #11174]
8104         * manual/users.texi (seteuid): Consistently use neweuid for
8105         argument name.
8107 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
8109         [BZ #13704]
8110         * manual/nss.texi (Services in the NSS configuration): Correct
8111         list of services in example configuration file.
8113 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
8115         [BZ #11322]
8116         * manual/arith.texi: Remove statements about negative zero
8117         behaving identically to zero.
8119 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8121         [BZ #5993]
8122         * manual/install.texi: Do not document upgrading from libc5.
8124 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
8126         [BZ #4596]
8127         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8129 2012-02-18  David S. Miller  <davem@davemloft.net>
8131         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8132         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8133         %o7 across the call.
8134         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8135         instead.
8136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8137         SETUP_PIC_REG_LEAF.
8138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8139         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8140         * sysdeps/sparc/crtn.S: Likewise.
8142 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
8144         * aout/Makefile: Remove.
8146 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
8148         [BZ #13058]
8149         * manual/examples/argp-ex1.c (main): Format definition in GNU
8150         style.
8151         * manual/examples/argp-ex2.c (main): Likewise.
8152         * manual/examples/argp-ex3.c (main): Likewise.
8153         * manual/examples/argp-ex4.c (main): Likewise.
8154         * manual/examples/longopt.c (main): Use new-style prototype
8155         definition.
8156         * manual/examples/strncat.c (main): Specify return type and use
8157         (void) for arguments.
8158         * manual/examples/subopt.c (main): Use char **argv argument.
8160 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8162         [BZ #5077]
8163         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8164         rounding modes.
8166 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
8168         [BZ #6907]
8169         * manual/string.texi (strchr): Change when strchrnul is
8170         recommended.
8172 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
8174         [BZ #174]
8175         * manual/locale.texi (setlocale): Document LOCPATH.
8177 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8179         [BZ #10210]
8180         * manual/process.texi (execle): Move @dots{} before last argument.
8182 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
8184         [BZ #12047]
8185         * manual/charset.texi (Generic Charset Conversion): Fix typo
8186         (LC_TYPE -> LC_CTYPE).
8188 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
8190         [BZ #5805]
8191         * manual/arith.texi (scalbn): Use @var{} on parameter names.
8192         (scalbnf): Likewise.
8193         (scalbnl): Likewise.
8194         (scalbln): Likewise.
8195         (scalblnf): Likewise.
8196         (scalblnl): Likewise.
8197         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8198         (vwarnx): Likewise.
8199         (verr): Likewise.
8200         (verrx): Likewise.
8201         * manual/filesys.texi (telldir): Use braces around return type.
8202         * manual/llio.texi (mmap): Add space after comma.
8203         (mmap64): Likewise.
8204         * manual/math.texi (jn): Use @var{} on parameter names.
8205         (jnf): Likewise.
8206         (jnl): Likewise.
8207         (yn): Likewise.
8208         (ynf): Likewise.
8209         (ynl): Likewise.
8210         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8211         line.
8212         * manual/resource.texi (ulimit): Use @dots{} instead of literal
8213         "...".
8214         (sched_get_priority_min): Remove semicolon on @deftypefun line.
8215         (sched_get_priority_max): Likewise.
8216         * manual/signal.texi (sigvec): Add space after comma.
8217         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8218         names.
8219         (if_indextoname): Likewise.
8220         (if_freenameindex): Likewise.
8221         (sendto): Use ',' instead of '.' in prototype.
8222         * manual/startup.texi (syscall): Use @dots{} instead of literal
8223         "...".
8224         * manual/stdio.texi (__fpending): Separate initial words of
8225         paragraph from @deftypefun line.
8226         * manual/syslog.texi (syslog): Use @dots{} instead of literal
8227         "...".
8228         (vsyslog): Use @var{} on parameter names.
8229         * manual/terminal.texi (stty): Use @var{} on parameter names.
8230         * manual/users.texi (getutmp): Use @var{} on parameter names.
8231         (getutmpx): Likewise.
8233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8235         [BZ #6884]
8236         * manual/stdio.texi (fopen): Fix typos in description of
8237         ",ccs=STRING".
8239 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
8241         [BZ #4026]
8242         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8243         get clock_id definition.
8245 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
8247         [BZ #4822]
8248         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8249         (madvise): Cast every argument to void on its own.
8251 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8253         [BZ #9902]
8254         * manual/startup.texi (Exit Status): Fix typo.
8256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
8258         [BZ #10140]
8259         * manual/examples/argp-ex1.c: Include <stdlib.h>.
8260         * manual/examples/argp-ex2.c: Likewise.
8261         * manual/examples/argp-ex3.c: Likewise.
8263 2012-02-16  Richard Henderson  <rth@redhat.com>
8265         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8266         * sysdeps/s390/s390-32/initfini.c: Remove.
8267         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8268         * sysdeps/s390/s390-64/initfini.c: Remove.
8270 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8272         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8273         compiler output for sysdeps/generic/initfini.c.
8274         * sysdeps/sh/elf/initfini.c: Remove file.
8276 2012-02-16  David S. Miller  <davem@davemloft.net>
8278         [BZ #11494]
8279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8281         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8282         * sysdeps/sparc/crti.S: New file.
8283         * sysdeps/sparc/crtn.S: New file.
8284         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8285         * sysdeps/sparc/sparc64/Makefile: Likewise.
8287 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
8289         [BZ #3335]
8290         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8292 2012-02-15  Roland McGrath  <roland@hack.frob.com>
8294         [BZ #4822]
8295         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8297         * mach/devstream.c (cookie_io_functions_t): Macro removed.
8298         (write, read, close): Likewise.
8299         Patch by Aurelien Jarno <aurelien@aurel32.net>.
8301 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
8303         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8304         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8305         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8306         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8307         <bits/signalfd.h>.
8308         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8310         bits/signalfd.h.
8312 2012-02-14  Marek Polacek  <polacek@redhat.com>
8314         * sysdeps/x86_64/crti.S: New file.
8315         * sysdeps/x86_64/crtn.S: New file.
8316         * sysdeps/x86_64/elf/initfini.c: Remove file.
8318 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8320         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8321         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8322         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8323         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8324         <bits/inotify.h>.
8325         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8327         bits/inotify.h.
8329 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
8331         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8332         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8333         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8334         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8335         <bits/eventfd.h>.
8336         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8338         bits/eventfd.h.
8340 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
8342         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8343         __feraiseexcept instead of feraiseexcept.
8345         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8346         nanosleep invocations.
8347         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8348         strings, and add error checking for a nanosleep invocations.
8350 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
8352         Replace FSF snail mail address with URLs, as per GNU coding standards.
8353         Most of the snail mail addresses were wrong anyway, and omitting
8354         them makes the source code easier to maintain.  Almost all of the
8355         changes are to license notices and to locale LC_IDENTIFICATION
8356         addresses, except for this one:
8357         * manual/libc.texinfo: In "Published by", give the FSF's URL,
8358         not its snail mail address.
8360 2012-02-09  Richard Henderson  <rth@twiddle.net>
8362         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8363         of kernel-features.h.
8365         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8367 2012-02-08  Marek Polacek  <polacek@redhat.com>
8369         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8370         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8371         * sysdeps/gnu/_G_config.h: Likewise.
8372         * sysdeps/generic/_G_config.h: Likewise.
8374 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
8376         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8377         tests.
8378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8380         * sysdeps/powerpc/powerpc32/crti.S: New file.
8381         * sysdeps/powerpc/powerpc32/crtn.S: New file.
8382         * sysdeps/powerpc/powerpc64/crti.S: New file.
8383         * sysdeps/powerpc/powerpc64/crtn.S: New file.
8385         * Makeconfig (have-initfini): Don't set.
8386         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8387         * configure.in (nopic_initfini): Don't substitute.
8388         * config.h.in (HAVE_INITFINI): Don't #undef.
8389         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8390         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8392 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
8394         Support crti.S and crtn.S provided directly by architectures.
8395         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8396         [crti.S in sysdirs] (omit-deps): Likewise.
8397         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8398         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8399         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8400         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8401         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8402         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8403         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8404         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8405         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8406         compiler output for sysdeps/generic/initfini.c.
8407         * sysdeps/i386/elf/Makefile: Remove file.
8408         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8410 2012-02-07  Marek Polacek  <polacek@redhat.com>
8412         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8413         * sysdeps/gnu/_G_config.h: Likewise.
8414         * sysdeps/mach/hurd/_G_config.h: Likewise.
8416 2012-02-07  Marek Polacek  <polacek@redhat.com>
8418         * math/Makefile (tests): Add tst-CMPLX2.
8419         * math/tst-CMPLX2.c: New file.
8421 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
8423         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8425         * math/libm-test.inc (jn_test): Add missing L suffix.
8427 2012-02-06  Marek Polacek  <polacek@redhat.com>
8429         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8430         * sysdeps/i386/fpu/e_powf.S: Likewise.
8431         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8432         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8433         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8434         * sysdeps/i386/fpu/e_pow.S: Likewise.
8435         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8436         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8437         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8438         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8439         * sysdeps/i386/fpu/e_log2.S: Likewise.
8440         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8441         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8442         * sysdeps/i386/fpu/e_powl.S: Likewise.
8443         * sysdeps/i386/fpu/s_log1p.S: Likewise.
8444         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8445         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8446         * sysdeps/i386/fpu/e_logl.S: Likewise.
8447         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8448         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8449         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8450         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8451         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8452         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8453         * sysdeps/i386/fpu/e_log.S: Likewise.
8454         * sysdeps/i386/fpu/s_cexp.S: Likewise.
8455         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8456         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8457         * sysdeps/i386/fpu/e_logf.S: Likewise.
8458         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8459         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8460         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8461         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8462         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8463         * sysdeps/i386/fpu/e_log10.S: Likewise.
8464         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8465         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8466         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8467         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8468         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8469         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8470         * sysdeps/i386/asm-syntax.h: Likewise.
8471         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8472         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8473         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8474         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8475         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8476         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8477         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8478         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8479         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8480         * sysdeps/powerpc/sysdep.h: Likewise.
8481         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8482         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8484 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8486         [BZ #411]
8487         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8489 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8491         * sysdeps/i386/sysdep.h: Include <features.h>.
8492         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8493         version.
8495 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
8497         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8498         Define.
8499         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8500         LOAD_PIC_REG_STR.
8502 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8504         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8505         (SETUP_PIC_REG): Use GET_PC_THUNK.
8506         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8507         macro.
8509 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8511         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8512         for non-PIC compilation.
8513         (SETUP_PIC_REG): Add .p2align directive.
8514         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8515         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8516         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8517         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8518         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8519         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8520         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8521         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8522         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8523         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8524         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8525         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8526         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8527         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8528         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8529         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8530         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8531         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8532         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8533         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8534         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8535         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8537         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8538         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8539         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8540         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8541         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8542         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8543         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8544         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8545         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8546         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8547         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8548         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8549         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8550         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8551         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8552         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8553         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8554         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8556 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8558         * math/tst-CMPLX.c: Include <stdio.h>.
8560 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
8562         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8563         float.
8564         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8565         * sysdeps/sparc/bits/mathdef.h: Likewise.
8567 2012-01-31  Marek Polacek  <polacek@redhat.com>
8569         * libio/libio.h: Don't define _PARAMS.
8570         * locale/programs/config.h: Don't define PARAMS.
8571         * stdlib/strtol_l.c: Likewise.
8572         (__strtol_l): Remove PARAMS from the prototype.
8574 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
8576         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
8577         names.  Just use the correct names.  Remove unnecessary wrapper
8578         functions.
8579         * malloc/arena.c: Likewise.
8580         * malloc/hooks.c: Likewise.
8582         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8583         ARENA_TEST says not to.  Simplify test for creation of a new arena.
8584         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8586 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
8588         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8589         into tail calls.
8590         (update_get_addr): New function.
8591         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8592         GET_ADDR_MODULE parameter.
8594 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8596         * crypt/cert.c: Remove __STDC__ conditionals.
8597         * crypt/crypt-entry.c: Likewise.
8598         * crypt/crypt_util.c: Likewise.
8599         * libio/filedoalloc.c: Likewise.
8600         * libio/fileops.c: Likewise.
8601         * libio/genops.c: Likewise.
8602         * libio/iofclose.c: Likewise.
8603         * libio/iofdopen.c: Likewise.
8604         * libio/iofopen.c: Likewise.
8605         * libio/iofopen64.c: Likewise.
8606         * libio/iogetdelim.c: Likewise.
8607         * libio/iopopen.c: Likewise.
8608         * libio/obprintf.c: Likewise.
8609         * libio/oldfileops.c: Likewise.
8610         * libio/oldiofclose.c: Likewise.
8611         * libio/oldiofdopen.c: Likewise.
8612         * libio/oldiofopen.c: Likewise.
8613         * libio/oldiopopen.c: Likewise.
8614         * libio/wfiledoalloc.c: Likewise.
8615         * libio/wgenops.c: Likewise.
8616         * locale/programs/xmalloc.c: Likewise.
8617         * misc/syslog.c: Likewise.
8618         * stdio-common/xbug.c: Likewise.
8619         * string/memchr.c: Likewise.
8620         * string/memcmp.c: Likewise.
8621         * string/memrchr.c: Likewise.
8622         * string/rawmemchr.c: Likewise.
8623         * sysdeps/posix/getcwd.c: Likewise.
8624         * time/strftime_l.c: Likewise.
8626 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8628         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8629         * config.make.in (config-cflags-sse2avx): Define.
8630         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8631         Fix typo.
8633 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
8635         * scripts/config.guess: Update from upstream config git repository.
8636         * scripts/config.sub: Likewise.
8638 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
8640         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8641         (EM_NUM): Update.
8642         (R_TILEPRO_*, R_TILEGX_*): New macros.
8644         * scripts/firstversions.awk: Fix bug in version range handling.
8646         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8648         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8650         * include/sys/epoll.h: New file.
8651         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8652         libc_hidden_def.
8654 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
8656         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8657         Avoid unnecessary __WORDSIZE == 64 test.
8658         (fmaxf): Use VEX format if possible.
8659         (fmax): Likewise.
8660         (fminf): Likewise.
8661         (fmin): Likewise.
8663         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8664         * math/math_private.h: Remove libc_fegetround* and
8665         libc_fesetround*.
8666         * sysdeps/i386/configure.in: Check for -msse2avx.
8667         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8668         also if SSE2AVX is defined.
8669         Remove libc_fegetround* and libc_fesetround*.
8670         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8671         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
8672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8673         of HAS_YMM_USABLE.
8674         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8675         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8676         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8677         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8678         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8680         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8682 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8684         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8685         size is not set.
8686         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8688 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
8690         [BZ #13618]
8691         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8692         relocation.
8693         * Makeconfig (libm): Define.
8694         * elf/Makefile: Add rules to build and run tst-relsort1.
8695         * elf/tst-relsort1.c: New file.
8696         * elf/tst-relsort1mod1.c: New file.
8697         * elf/tst-relsort1mod2.c: New file.
8699 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
8701         * math/s_ldexp.c: Remove __STDC__ conditionals.
8702         * math/s_ldexpf.c: Likewise.
8703         * math/s_ldexpl.c: Likewise.
8704         * math/s_nextafter.c: Likewise.
8705         * math/s_nexttowardf.c: Likewise.
8706         * math/s_significand.c: Likewise.
8707         * math/s_significandf.c: Likewise.
8708         * math/s_significandl.c: Likewise.
8709         * math/w_jnl.c: Likewise.
8710         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8711         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8712         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8713         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8714         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8715         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8716         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8717         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8718         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8719         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8720         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8721         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8722         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8723         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8724         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8725         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8726         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8727         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8729         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8730         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8731         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8732         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8733         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8734         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8735         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8736         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8737         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8738         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8739         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8740         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8741         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8742         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8743         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8744         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8745         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8746         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8747         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8748         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8749         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8750         * sysdeps/ieee754/k_standard.c: Likewise.
8751         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8752         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8753         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8754         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8755         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8756         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8757         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8758         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8759         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8760         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8761         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8762         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8763         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8764         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8765         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8766         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8767         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8769         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8770         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8771         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8772         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8773         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8774         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8775         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8776         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8777         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8778         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8780         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8781         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8782         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8783         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8784         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8786         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8787         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8788         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8789         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8790         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8791         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8793         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8794         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8796         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8797         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8798         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8799         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8800         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8801         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8802         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8803         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8804         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8805         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8806         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8807         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8808         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8809         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8810         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8811         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8812         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8813         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8814         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8815         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8816         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8817         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8818         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8819         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8820         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8821         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8822         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8823         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8826         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8827         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8828         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8829         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8830         * sysdeps/ieee754/s_matherr.c: Likewise.
8831         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8832         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8834         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8836 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
8838         * crypt/md5.h: Remove __STDC__ conditionals.
8839         * libio/libioP.h: Likewise.
8840         * locale/programs/config.h: Likewise.
8841         * sysdeps/generic/sysdep.h: Likewise.
8842         * sysdeps/i386/asm-syntax.h: Likewise.
8843         * sysdeps/s390/asm-syntax.h: Likewise.
8844         * sysdeps/unix/sysdep.h: Likewise.
8845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8848 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
8850         * libio/libio.h: Remove __STDC__ conditionals.
8851         * malloc/obstack.h: Likewise.
8852         * math/complex.h: Likewise.
8853         * math/math.h: Likewise.
8854         * sysdeps/generic/_G_config.h: Likewise.
8855         * sysdeps/gnu/_G_config.h: Likewise.
8856         * sysdeps/mach/hurd/_G_config.h: Likewise.
8857         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8858         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8859         * sysdeps/sparc/bits/mathdef.h: Likewise.
8861 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
8863         [BZ #13583]
8864         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8865         Clean up HAS_* macros.
8866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8867         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8868         possible.
8869         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8870         HAS_AVX.
8871         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8872         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8873         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8877 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
8879         * elf/tst-unique3.cc (gets): Remove declaration.
8880         * elf/tst-unique3lib.cc (gets): Likewise.
8881         * elf/tst-unique3lib2.cc (gets): Likewise.
8882         * elf/tst-unique4.cc (gets): Likewise.
8884 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
8886         * include/stdio.h: Add C++ protection.  Add gets declarations and
8887         definitions.
8888         * debug/tst-chk1.c: Don't declare gets here.
8889         * stdio-common/tst-gets.c: Likewise.
8891 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
8893         * posix/glob: Remove directory.
8895 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
8897         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8899 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
8901         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8902         of the non-standard EPFNOSUPPORT.
8904 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8906         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8907         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8908         ANYWHERE set to 1 only on KERN_NO_SPACE error.
8910 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
8912         * wcsmbs/uchar.h: Test __STDC_VERSION__.
8914 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
8916         * nscd/aicache.c (addhstaiX): Do not cache negative results of
8917         transient errors.
8918         * nscd/grpcache.c (cache_addgr): Likewise.
8919         * nscd/hstcache.c (cache_addhst): Likewise.
8920         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8921         * nscd/pwdcache.c (cache_addpw): Likewise.
8922         * nscd/servicescache.c (cache_addserv): Likewise.
8924 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
8926         * malloc/malloc.c: Various cleanups.
8927         * malloc/hooks.c: Likewise.
8929         * stdlib/Makefile (tests): Add bug-fmtmsg1.
8930         * stdlib/bug-fmtmsg1.c: New file.
8932         * stdlib/fmtmsg.c (init): Add missing unlock.
8933         Patch by Peng Haitao <penght@cn.fujitsu.com>.
8935 2012-01-12  Marek Polacek  <polacek@redhat.com>
8937         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8938         and _GNU_SOURCE.
8940 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8942         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8943         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8944         macro to ensure uniqueness of label name.
8945         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8946         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8948 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
8950         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8952         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8953         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8954         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8955         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8957 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
8959         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8961         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8962         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8963         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8965         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8967         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8968         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8969         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8970         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8972         * math/bits/math-finite.h: Add ldexp support.
8974 2012-01-10  Marek Polacek  <polacek@redhat.com>
8976         * locale/programs/localedef.h (show_archive_content): Add noreturn
8977         attribute.
8979 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
8981         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8983 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
8985         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8987         * io/Makefile (headers): Add bits/poll2.h.
8989 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8992         typo #include statement.
8994 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
8996         * include/sys/cdefs.h: Define __attribute_alloc_size.
8997         * catgets/gencat.c: Add alloc_size attribute and apply consistently
8998         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8999         * elf/pldd.c: Likewise.
9000         * iconv/iconv_charmap.c: Likewise.
9001         * iconv/iconvconfig.c: Likewise.
9002         * iconv/strtab.c: Likewise.
9003         * locale/programs/locale.c: Likewise.
9004         * locale/programs/localedef.h: Likewise.
9005         * locale/programs/simple-hash.c: Likewise.
9006         * nscd/nscd.h: Likewise.
9007         * nss/makedb.c: Likewise.
9008         * sysdeps/generic/ldconfig.h: Likewise.
9009         * locale/programs/localedef.c: Remove xmalloc prototype.
9010         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9012 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9015         appropriate.
9017 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
9019         * math/Makefile (tests): Add tst-CMPLX.
9020         * math/tst-CMPLX.c: New file.
9022         * math/complex.h (CMPLXL): Fix typo.
9024         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9025         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9026         GLIBC_2.16.
9027         * debug/tst-chk1.c: Add poll and ppoll tests.
9028         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9029         * include/sys/poll.h: Add hidden proto for ppoll.
9030         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9031         * sysdeps/mach/hurd/ppoll.c: Likewise.
9032         * io/ppoll.c: Likewise.
9033         * debug/poll_chk.c: New file.
9034         * debug/ppoll_chk.c: New file.
9035         * include/bits/poll2.h: New file.
9036         * io/bits/poll2.h: New file.
9038         [BZ #1350]
9039         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9041         * configure.in: static is always set to yes.  Remove.
9042         * config.make.in: Don't set build-static.
9043         * Makeconfig: Remove use of build-static.
9044         * dlfcn/Makefile: Likewise.
9045         * elf/Makefile: Likewise.
9046         * math/Makefile: Likewise.
9047         * misc/Makefile: Likewise.
9048         * nptl/Makefile: Likewise.
9049         * sysdeps/mach/hurd/Makefile: Likewise.
9051         * configure.in: PWD_P is not used anymore.
9052         * config.make.in: Remove PWD_P entry.
9054         * configure.in: Remove last remnants of RANLIB.
9055         No need to check for signed size_t anymore.
9056         Don't set libc_commonpagesize and libc_relro_required here for Alpha
9057         and IA-64.
9058         Remove __builtin_expect test because we require at least gcc 3.4.
9059         * aclocal.m4: Likewise.
9061         * wcsmbs/mbrtoc16.c: Implement using towc function.
9062         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9063         * wcsmbs/wcsmbsload.c: Likewise.
9064         * iconv/gconv_simple.c: Likewise.
9065         * iconv/gconv_int.h: Likewise.
9066         * iconv/gconv_builtin.h: Likewise.
9067         * iconv/iconv_prog.c: Remove CHAR16 handling.
9069         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9071         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9073         * configure.in: Remove --with-elf and --enable-bounded options.
9074         Dont set base_machine for ia64.  More non-ELF conditions removed.
9075         Remove testing and setting of leading underscore information.
9076         * config.make.in (build-bounded): Set to no.
9077         * config.h.in: Remove NO_UNDERSCORES entry.
9078         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
9079         them.
9080         * csu/start.c: Remove !NO_UNDERSCORE code.
9081         * locale/localeinfo.h: Likewise.
9082         * sysdeps/generic/machine-gmon.h: Likewise.
9083         * sysdeps/generic/sysdep.h: Likewise.
9084         * sysdeps/i386/sysdep.h: Likewise.
9085         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9086         * sysdeps/mach/sysdep.h: Likewise.
9087         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9088         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9089         * sysdeps/sh/sysdep.h: Likewise.
9090         * sysdeps/sparc/sparc32/alloca.S: Likewise.
9091         * sysdeps/unix/i386/sysdep.S: Likewise.
9092         * sysdeps/unix/sparc/start.c: Likewise.
9093         * sysdeps/unix/sparc/sysdep.S: Likewise.
9094         * sysdeps/unix/sparc/sysdep.h: Likewise.
9095         * sysdeps/unix/start.c: Likewise.
9096         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9097         * sysdeps/x86_64/sysdep.h: Likewise.
9099 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
9101         [BZ #13553]
9102         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9103         for non-gcc.
9104         * argp/argp-fmtstream.h: Use const instead __const.
9105         * argp/argp.h: Likewise.
9106         * assert/assert.h: Likewise.
9107         * bits/fenv.h: Likewise.
9108         * bits/sched.h: Likewise.
9109         * bits/sigset.h: Likewise.
9110         * bits/sigthread.h: Likewise.
9111         * catgets/nl_types.h: Likewise.
9112         * conform/data/pthread.h-data: Likewise.
9113         * crypt/crypt-private.h: Likewise.
9114         * crypt/crypt.h: Likewise.
9115         * crypt/crypt_util.c: Likewise.
9116         * ctype/ctype.h: Likewise.
9117         * debug/execinfo.h: Likewise.
9118         * debug/mbsnrtowcs_chk.c: Likewise.
9119         * debug/mbsrtowcs_chk.c: Likewise.
9120         * debug/wcsnrtombs_chk.c: Likewise.
9121         * debug/wcsrtombs_chk.c: Likewise.
9122         * debug/wcstombs_chk.c: Likewise.
9123         * dirent/dirent.h: Likewise.
9124         * dlfcn/dlfcn.h: Likewise.
9125         * elf/neededtest4.c: Likewise.
9126         * grp/grp.h: Likewise.
9127         * gshadow/gshadow.h: Likewise.
9128         * iconv/gconv.h: Likewise.
9129         * iconv/gconv_int.h: Likewise.
9130         * iconv/gconv_simple.c: Likewise.
9131         * iconv/iconv.h: Likewise.
9132         * iconv/loop.c: Likewise.
9133         * iconv/skeleton.c: Likewise.
9134         * include/aio.h: Likewise.
9135         * include/aliases.h: Likewise.
9136         * include/argz.h: Likewise.
9137         * include/arpa/inet.h: Likewise.
9138         * include/assert.h: Likewise.
9139         * include/dirent.h: Likewise.
9140         * include/dlfcn.h: Likewise.
9141         * include/execinfo.h: Likewise.
9142         * include/fcntl.h: Likewise.
9143         * include/fenv.h: Likewise.
9144         * include/glob.h: Likewise.
9145         * include/grp.h: Likewise.
9146         * include/libintl.h: Likewise.
9147         * include/mntent.h: Likewise.
9148         * include/netdb.h: Likewise.
9149         * include/pwd.h: Likewise.
9150         * include/rpc/netdb.h: Likewise.
9151         * include/sched.h: Likewise.
9152         * include/search.h: Likewise.
9153         * include/shadow.h: Likewise.
9154         * include/signal.h: Likewise.
9155         * include/stdio.h: Likewise.
9156         * include/stdlib.h: Likewise.
9157         * include/string.h: Likewise.
9158         * include/sys/socket.h: Likewise.
9159         * include/sys/stat.h: Likewise.
9160         * include/sys/statfs.h: Likewise.
9161         * include/sys/statvfs.h: Likewise.
9162         * include/sys/syslog.h: Likewise.
9163         * include/sys/time.h: Likewise.
9164         * include/sys/uio.h: Likewise.
9165         * include/time.h: Likewise.
9166         * include/unistd.h: Likewise.
9167         * include/utmp.h: Likewise.
9168         * include/wchar.h: Likewise.
9169         * include/wctype.h: Likewise.
9170         * inet/aliases.h: Likewise.
9171         * inet/arpa/inet.h: Likewise.
9172         * inet/netinet/ether.h: Likewise.
9173         * inet/netinet/in.h: Likewise.
9174         * intl/libintl.h: Likewise.
9175         * io/bits/fcntl2.h: Likewise.
9176         * io/fcntl.h: Likewise.
9177         * io/ftw.h: Likewise.
9178         * io/sys/poll.h: Likewise.
9179         * io/sys/stat.h: Likewise.
9180         * io/sys/statfs.h: Likewise.
9181         * io/sys/statvfs.h: Likewise.
9182         * io/utime.h: Likewise.
9183         * libio/bits/stdio.h: Likewise.
9184         * libio/bits/stdio2.h: Likewise.
9185         * libio/libio.h: Likewise.
9186         * libio/libioP.h: Likewise.
9187         * libio/stdio.h: Likewise.
9188         * locale/lc-ctype.c: Likewise.
9189         * locale/locale.h: Likewise.
9190         * login/utmp.h: Likewise.
9191         * malloc/arena.c: Likewise.
9192         * malloc/malloc.c: Likewise.
9193         * malloc/malloc.h: Likewise.
9194         * malloc/mcheck.c: Likewise.
9195         * malloc/mtrace.c: Likewise.
9196         * math/bits/mathcalls.h: Likewise.
9197         * math/fenv.h: Likewise.
9198         * math/math_private.h: Likewise.
9199         * misc/bits/error.h: Likewise.
9200         * misc/bits/syslog.h: Likewise.
9201         * misc/err.h: Likewise.
9202         * misc/error.h: Likewise.
9203         * misc/fstab.h: Likewise.
9204         * misc/mntent.h: Likewise.
9205         * misc/regexp.h: Likewise.
9206         * misc/search.h: Likewise.
9207         * misc/sgtty.h: Likewise.
9208         * misc/sys/mman.h: Likewise.
9209         * misc/sys/syslog.h: Likewise.
9210         * misc/sys/uio.h: Likewise.
9211         * misc/sys/xattr.h: Likewise.
9212         * misc/ttyent.h: Likewise.
9213         * nis/rpcsvc/ypclnt.h: Likewise.
9214         * nss/nss.h: Likewise.
9215         * posix/bits/unistd.h: Likewise.
9216         * posix/fnmatch.h: Likewise.
9217         * posix/glob.h: Likewise.
9218         * posix/sched.h: Likewise.
9219         * posix/spawn.h: Likewise.
9220         * posix/sys/wait.h: Likewise.
9221         * posix/unistd.h: Likewise.
9222         * posix/wordexp.h: Likewise.
9223         * pwd/pwd.h: Likewise.
9224         * resolv/netdb.h: Likewise.
9225         * resource/sys/resource.h: Likewise.
9226         * rt/aio.h: Likewise.
9227         * rt/bits/mqueue2.h: Likewise.
9228         * rt/mqueue.h: Likewise.
9229         * shadow/shadow.h: Likewise.
9230         * signal/signal.h: Likewise.
9231         * socket/send.c: Likewise.
9232         * socket/sendto.c: Likewise.
9233         * socket/sys/socket.h: Likewise.
9234         * stdio-common/printf.h: Likewise.
9235         * stdlib/bits/stdlib.h: Likewise.
9236         * stdlib/fmtmsg.h: Likewise.
9237         * stdlib/monetary.h: Likewise.
9238         * stdlib/stdlib.h: Likewise.
9239         * stdlib/ucontext.h: Likewise.
9240         * streams/stropts.h: Likewise.
9241         * string/argz.h: Likewise.
9242         * string/bits/string2.h: Likewise.
9243         * string/string.h: Likewise.
9244         * string/strings.h: Likewise.
9245         * sunrpc/rpc/auth.h: Likewise.
9246         * sunrpc/rpc/auth_des.h: Likewise.
9247         * sunrpc/rpc/clnt.h: Likewise.
9248         * sunrpc/rpc/netdb.h: Likewise.
9249         * sunrpc/rpc/pmap_clnt.h: Likewise.
9250         * sunrpc/rpc/xdr.h: Likewise.
9251         * sysdeps/generic/inttypes.h: Likewise.
9252         * sysdeps/generic/net/if.h: Likewise.
9253         * sysdeps/generic/sys/swap.h: Likewise.
9254         * sysdeps/gnu/net/if.h: Likewise.
9255         * sysdeps/gnu/utmpx.h: Likewise.
9256         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9257         * sysdeps/i386/i486/bits/string.h: Likewise.
9258         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9259         * sysdeps/s390/bits/string.h: Likewise.
9260         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9261         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9262         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9263         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9264         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9265         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9266         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9267         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9268         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9269         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9270         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9271         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9272         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9273         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9274         * sysdeps/unix/sysv/linux/readv.c: Likewise.
9275         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9276         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9278         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9280         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9281         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9282         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9283         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9284         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9285         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9286         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9287         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9288         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9289         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9290         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9291         * sysvipc/sys/ipc.h: Likewise.
9292         * sysvipc/sys/msg.h: Likewise.
9293         * sysvipc/sys/sem.h: Likewise.
9294         * sysvipc/sys/shm.h: Likewise.
9295         * termios/termios.h: Likewise.
9296         * time/sys/time.h: Likewise.
9297         * time/time.h: Likewise.
9298         * wcsmbs/bits/wchar2.h: Likewise.
9299         * wcsmbs/uchar.h: Likewise.
9300         * wcsmbs/wchar.h: Likewise.
9301         * wctype/wctype.h: Likewise.
9303         [BZ #13551]
9304         * Makeconfig: Remove all but ELF support including AIX support.
9305         * Makerules: Likewise.
9306         * config.h.in: Likewise.
9307         * config.make.in: Likewise.
9308         * configure: Likewise.
9309         * configure.in: Likewise.
9310         * csu/Makefile: Likewise.
9311         * csu/version.c: Likewise.
9312         * debug/Makefile: Likewise.
9313         * dlfcn/Makefile: Likewise.
9314         * elf/Makefile: Likewise.
9315         * extra-lib.mk: Likewise.
9316         * iconv/Makefile: Likewise.
9317         * include/libc-symbols.h: Likewise.
9318         * include/shlib-compat.h: Likewise.
9319         * resolv/Makefile: Likewise.
9320         * resolv/res_libc.c: Likewise.
9321         * rt/Makefile: Likewise.
9322         * sysdeps/i386/asm-syntax.h: Likewise.
9323         * sysdeps/i386/sysdep.h: Likewise.
9324         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9325         * sysdeps/mach/sysdep.h: Likewise.
9326         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9327         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9328         * sysdeps/s390/asm-syntax.h: Likewise.
9329         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9330         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9331         * sysdeps/sh/sysdep.h: Likewise.
9332         * sysdeps/unix/sparc/sysdep.h: Likewise.
9333         * sysdeps/wordsize-32/divdi3.c: Likewise.
9334         * sysdeps/x86_64/sysdep.h: Likewise.
9336         * argp/Versions: Remove _argp_unlock_xxx.
9338         [BZ #13559]
9339         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
9340         * abilist/libBrokenLocale.abilist: Likewise.
9341         * abilist/libanl.abilist: Likewise.
9342         * abilist/libc.abilist: Likewise.
9343         * abilist/libcrypt.abilist: Likewise.
9344         * abilist/libdl.abilist: Likewise.
9345         * abilist/libm.abilist: Likewise.
9346         * abilist/libnsl.abilist: Likewise.
9347         * abilist/libpthread.abilist: Likewise.
9348         * abilist/libresolv.abilist: Likewise.
9349         * abilist/librt.abilist: Likewise.
9350         * abilist/libthread_db.abilist: Likewise.
9351         * abilist/libutil.abilist: Likewise.
9352         * abilist/libnss_db.abilist: New file.
9354         * scripts/abilist.awk: Add support for indirect functions.
9356         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9358         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9360         * shlib-versions: Remove entries for ports architectures.
9362         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
9363         files in ports.
9364         * elf/stackguard-macros.h: Remove support for IA-64.
9365         * elf/tst-auditmod1.c: Likewise.
9366         * sysdeps/generic/ldsodefs.h: Likewise.
9368         * sysdeps/unix/sysv/linux/configure.in: Ports should define
9369         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9370         configure files.
9372         [BZ #13552]
9373         * configure.in: Remove --enable-omitfp support.
9374         * FAQ.in: Adjust.
9375         * config.make.in: Likewise.
9376         * Makeconfig: Likewise.
9377         * manual/install.texi: Likewise.
9379         In case anyone cares, the IA-64 architecture could move to ports.
9380         * sysdeps/ia64/*: Removed.
9381         * sysdeps/unix/sysv/linux/ia64/*: Removed.
9382         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9384         [BZ #13555]
9385         * configure.in: Remove entries for unsupported architectures.
9387         [BZ #13533]
9388         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9389         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
9390         routines.
9391         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9392         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9393         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
9394         fall back to using wcrtomb.
9395         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9396         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
9397         renaming.
9398         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9399         * wcsmbs/tst-c16c32-1.c: New file.
9401         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9402         local variable.
9404         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9406         * elf/tst-unique3.cc: Add explicit declaration of gets.
9407         * elf/tst-unique3lib.cc: Likewise.
9408         * elf/tst-unique3lib2.cc: Likewise.
9409         * elf/tst-unique4.cc: Likewise.
9411         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9413 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
9415         [BZ #13566]
9416         * assert/assert.h (static_assert): Don't define for C++.
9417         * libio/stdio.h (gets): Do declare for C++ <= C++11.
9418         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9420 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
9422         * iconv/loop.c (single loop): Fix assertion in storing of
9423         remaining bytes.
9425         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9427 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
9429         * posix/getconf.c: Update copyright year.
9430         * nss/getent.c: Likewise.
9431         * nss/makedb.c: Likewise.
9432         * iconv/iconvconfig.c: Likewise.
9433         * iconv/iconv_prog.c: Likewise.
9434         * elf/ldconfig.c: Likewise.
9435         * elf/pldd.c: Likewise.
9436         * elf/sotruss.ksh: Likewise.
9437         * catgets/gencat.c: Likewise.
9438         * csu/version.c: Likewise.
9439         * elf/ldd.bash.in: Likewise.
9440         * elf/sprof.c (print_version): Likewise.
9441         * locale/programs/locale.c: Likewise.
9442         * locale/programs/localedef.c: Likewise.
9443         * login/programs/pt_chown.c: Likewise.
9444         * nscd/nscd.c (print_version): Likewise.
9445         * debug/xtrace.sh: Likewise.
9446         * malloc/memusage.sh: Likewise.
9447         * malloc/mtrace.pl: Likewise.
9448         * debug/catchsegv.sh: Likewise.
9450 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
9452         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9453         pure attribute.
9455 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
9457         [BZ #13533]
9458         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9459         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9460         transformations.
9461         * iconv/gconv_int.h: Likewise.
9462         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9463         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9464         from libc for GLIBC_2.16.
9465         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9466         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9467         * wcsmbs/uchar.h: Really define mbstate_t.
9468         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9469         * wcsmbs/c16rtomb.c: New file.
9470         * wcsmbs/mbrtoc16.c: New file.
9471         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9472         for C/POSIX locale.
9473         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9474         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9476         * wcsmbs/wchar.h: Add missing __restrict.
9478 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9480         [BZ #13532]
9481         * time/Makefile (routines): Add timespec_get.
9482         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9483         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
9484         timespec for ISO C11.
9485         * time/timespec_get.c: New file.
9486         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9487         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9489         [BZ #13531]
9490         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9491         * stdlib/stdlib.h: Declare aligned_alloc.
9492         * Versions.def: Add GLIBC_2.16 for libc.
9493         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9495         [BZ 13527]
9496         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9497         ISO C11.
9499         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9500         code.
9502         [BZ #13528]
9503         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9505         [BZ #13529]
9506         * assert/assert.h (static_assert): Define.
9508         * version.h: Update for 2.16 development version.
9510         [BZ #13526]
9511         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9512         _ISOC11_SOURCE.
9514         * version.h (RELEASE): Bump for 2.15 release.
9515         * include/features.h (__GLIBC_MINOR__): Bump to 15.
9517         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9518         Patch by Marek Polacek <mpolacek@redhat.com>.
9520         * bits/byteswap.h: Protect long long constants with __extension__.
9521         * sysdeps/i386/bits/byteswap.h: Likewise.
9522         * sysdeps/ia64/bits/byteswap.h: Likewise.
9523         * sysdeps/s390/bits/byteswap.h: Likewise.
9524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9526 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9528         [BZ #13540]
9529         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9530         destination buffer.
9531         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9533 2011-12-23  Marek Polacek  <polacek@redhat.com>
9535         * elf/dl-addr.c (determine_info): Add inline keyword.
9536         * elf/tst-auditmod4b.c (check_avx): Likewise.
9537         * elf/tst-auditmod6b.c (check_avx): Likewise.
9538         * elf/tst-auditmod6c.c (check_avx): Likewise.
9539         * elf/tst-auditmod7b.c (check_avx): Likewise.
9541 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9543         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9544         !__SSE_MATH__.
9546 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9548         [BZ #13540]
9549         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9550         processing for last bytes.
9552 2011-08-06  Bruno Haible  <bruno@clisp.org>
9554         [BZ #13061]
9555         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9556         U+0385, not to U+1FEE.
9558         [BZ #13062]
9559         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9560         entry for U+00A5 U+0301.
9562 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9564         [BZ #13166]
9565         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9566         buffer for the output is too small.
9568         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9569         optimization.
9571         [BZ #13185]
9572         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9573         SSE flags if possible.
9575 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9577         [BZ #13540]
9578         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9579         processing for last bytes.
9581 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
9583         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9584         (syscall-list-default-options, syscall-list-default-condition)
9585         (syscall-list-includes): Define.
9586         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9587         list of ABIs and options and #if conditions for each ABI.  Do not
9588         handle common syscalls between ABIs specially.
9589         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9590         Remove.
9591         (syscall-list-variants, syscall-list-32bit-options)
9592         (syscall-list-32bit-condition, syscall-list-64bit-options)
9593         (syscall-list-64bit-condition): Define.
9594         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9595         (syscall-list-variants, syscall-list-32bit-options)
9596         (syscall-list-32bit-condition, syscall-list-64bit-options)
9597         (syscall-list-64bit-condition): Define.
9598         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9599         Remove.
9600         (syscall-list-variants, syscall-list-32bit-options)
9601         (syscall-list-32bit-condition, syscall-list-64bit-options)
9602         (syscall-list-64bit-condition): Define.
9603         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9604         Remove.
9605         (syscall-list-variants, syscall-list-32bit-options)
9606         (syscall-list-32bit-condition, syscall-list-64bit-options)
9607         (syscall-list-64bit-condition): Define.
9609 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9611         * locale/iso-639.def: Add brx entry.
9613         [BZ #13328]
9614         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9615         Proposed by Mariusz_Cukr <marcukr@op.pl>.
9617         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9618         __feraiseexcept_renamed.
9620 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
9622         [BZ #13538]
9623         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9624         EPOLLET with unsigned values.
9625         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9628         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9629         to large cancellation.
9630         * math/s_cacoshf.c: Likewise.
9631         * math/s_cacoshl.c: Likewise.
9633 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
9635         [BZ #13305]
9636         [BZ #12786]
9637         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9638         * math/s_cacoshf.c: Likewise.
9639         * math/s_cacoshl.c: Likewise.
9641 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
9643         [BZ #13439]
9644         * iconv/gconv.h: Define __GCONV_SWAP.
9645         * iconvdata/unicode.c: The swap bit must be stored in __flags.
9646         * iconvdata/utf-16.c: Likewise.
9647         * iconvdata/utf-32.c: Likewise.
9649 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9651         [BZ #13524]
9652         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9653         numerator after shifting it by one limb.
9655 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
9657         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9658         under [__USE_EXTERN_INLINES].
9660 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
9662         [BZ #13446]
9663         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9665 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9667         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9668         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9669         optimized code.
9670         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9671         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9672         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9673         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9674         for strncasecmp/strncasecmp_l compilation.
9675         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9676         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9678 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
9680         [BZ #13484]
9681         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9682         of __asm__.
9684 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
9686         [BZ #13506]
9687         * time/tzfile.c (__tzfile_read): Check values from file header.
9689 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9691         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9692         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9693         * powerpc/powerpc32/dl-start.S: Likewise.
9694         * powerpc/powerpc32/elf/start.S: Likewise.
9695         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9696         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9697         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9698         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9699         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9700         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9701         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9702         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9703         * powerpc/powerpc32/fpu/s_round.S: Likewise.
9704         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9705         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9706         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9707         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9708         * powerpc/powerpc32/memset.S: Likewise.
9709         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9710         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9711         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9712         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9713         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9714         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9715         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9716         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9717         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9718         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9719         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9720         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9721         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9723 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9725         * math/libm-test.inc: Added more nearbyint tests.
9726         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9727         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9729         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9731 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
9733         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9734         FD_CLOEXEC.
9736 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9738         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9739         Add wcscpy-ssse3 wcscpy-c.
9740         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9741         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9742         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9743         * sysdeps/x86_64/wcschr.S: New file.
9744         * sysdeps/x86_64/wcsrchr.S: New file.
9745         * string/test-strcmp.c: Remove checking of wcscmp function for
9746         wrong alignments.
9747         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9748         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9749         wcsrchr-sse2 wcsrchr-c.
9750         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9751         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9752         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9753         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9754         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9755         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9756         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9757         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9758         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9759         * wcsmbc/wcschr.c (WCSCHR): New macro.
9761 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9763         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9764         * wcsmbs/test-wcsrchr.c: New file.
9765         * string/test-strrchr.c: Add wcsrchr support.
9766         (WIDE): New macro.
9767         * wcsmbs/test-wcscpy.c: New file.
9768         * string/test-strcpy.c: Add wcscpy support.
9769         (WIDE): New macro.
9771 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
9773         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9774         the inner loop.
9776 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
9778         [BZ #13472]
9779         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9781 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
9783         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9784         Minor optimizations.
9786         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9787         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9788         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9790 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
9792         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9793         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9794         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9795         for gcc to avoid warnings.
9796         * inet/Makefile (tests): Add tst-checks.
9797         * inet/tst-checks.c: New file.
9799         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9800         warning.
9802         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9803         __wmemcmp_sse2.
9805         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9806         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9808         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9810 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
9812         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9813         problem.
9815         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9817 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
9819         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9820         conditional on GCC version.
9821         (__arch_compare_and_exchange_val_8_acq)
9822         (__arch_compare_and_exchange_val_16_acq)
9823         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9824         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9825         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9827 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
9829         * sysdeps/sh/backtrace.c: New file.
9831 2011-12-02  Andreas Schwab  <schwab@redhat.com>
9833         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
9834         parenthesis.
9836 2011-12-01  Andreas Schwab  <schwab@redhat.com>
9838         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9839         falling back to utime.
9841 2011-11-30  Andreas Schwab  <schwab@redhat.com>
9843         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9844         expectations for float.
9846 2011-11-29  Andreas Schwab  <schwab@redhat.com>
9848         * locale/weight.h (findidx): Add parameter len.
9849         * locale/weightwc.h (findidx): Likewise.
9850         * posix/fnmatch_loop.c (FCT): Adjust caller.
9851         * posix/regcomp.c (build_equiv_class): Likewise.
9852         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9853         * posix/regexec.c (check_node_accept_bytes): Likewise.
9854         * string/strcoll_l.c (STRCOLL): Likewise.
9855         * string/strxfrm_l.c (STRXFRM): Likewise.
9857 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
9859         * Makefile.in: Remove CVSOPT handling.
9860         * configure.in: Remove use of AC_REVISION.
9861         * iconvdata/Makefile (distribute): No need to filter out CVS.
9862         * scripts/list-sources.sh: Remove CVS, subversion and monotone
9863         handling.
9865 2011-11-16  Andreas Schwab  <schwab@redhat.com>
9867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9868         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9869         [USE_AS_STRNCASECMP_L]: Likewise.
9870         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9871         NO_TLS_DIRECT_SEG_REFS.
9872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9873         Fix argument offsets for non-PIC.
9874         [USE_AS_STRNCASECMP_L]: Likewise.
9875         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9876         NO_TLS_DIRECT_SEG_REFS.
9878 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
9880         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9881         O_CLOEXEC.
9882         * locale/loadlocale.c (_nl_load_locale): Likewise.
9884 2011-11-15  Andreas Schwab  <schwab@redhat.com>
9886         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9887         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9888         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9889         (SYSCALL_GETTIME): Set errno on error.
9891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9892         count references to noai6ai_cached.
9894 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
9896         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9898         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9899         FD_CLOEXEC for /proc/self/maps.
9901         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9902         FD_CLOEXEC for /proc/meminfo.
9904         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9905         gai.conf.
9907         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
9908         FD_CLOEXEC for given file.
9910         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9912         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9913         FD_CLOEXEC for /etc/hosts.
9914         (_gethtent): Likewise.
9916         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9918         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9919         cancellation and set FD_CLOEXEC for /etc/netgroup.
9921         * nss/nss_files/files-key.c (search): Don't allow cancellation when
9922         reading /etc/publickey.
9924         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9925         allow cancellation when reading /etc/group.
9927         * nss/nss_files/files-alias.c (internal_setent): Don't allow
9928         cancellation.
9929         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
9931         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9932         when using data file.
9934         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9936         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9937         (write_nis_obj): Use "c" and "e" in fopen.
9939         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9941         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9943         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9945         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9947         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9948         locale.alias.
9950         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9952         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9954         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9956         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9957         file parsing and set FD_CLOEXEC.
9959 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
9961         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9963 2011-11-14  Andreas Schwab  <schwab@redhat.com>
9965         * malloc/arena.c (arena_get2): Don't call reused_arena when
9966         _int_new_arena failed.
9968 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
9970         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9971         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9972         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9973         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9974         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9976         to compile strcasecmp and strncasecmp.
9977         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9978         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9982 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
9984         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9985         locale-defines.sym to gen-as-const-headers.
9986         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9987         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9989         to compile strcasecmp and strncasecmp.
9990         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9991         strcasecmp_l and strncasecmp_l.
9992         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9993         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9994         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9995         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9996         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9997         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9998         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9999         * sysdeps/i386/i686/multiarch/strncase.S: New file.
10000         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10001         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10002         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10004 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
10006         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10007         result of SYSDEP_GETTIME_CPU to retval.
10008         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10009         parameter list to macro.  Remove trailing semicolon.  Adjust users.
10011         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10012         variable.
10014         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10015         mantissa words.
10016         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10018         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10019         from unused variable.
10021         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10022         DWARF definitions.
10023         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10024         for assembling.
10026         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10027         over namespaces.
10029         * sunrpc/rpc_prot.c (rejected): Fix case value.
10031         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10032         unsigned long long int to avoid warnings in shift.
10034         * posix/regex_internal.c (re_string_reconstruct): Actually use result
10035         of use of trans.
10036         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10037         variable tmp.
10039         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10040         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10041         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10043         * nis/nis_table.c (nis_list): Use variable of correct type for
10044         result of __follow_path call.
10046 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10048         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10049         of math functions ceil, trunc, floor, round, and sqrt, when
10050         avaliable on the platform.
10051         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10052         name clash.
10053         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10054         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10055         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10057 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
10059         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10060         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10062 2011-11-11  Roland McGrath  <roland@hack.frob.com>
10064         * include/unistd.h: Fix __readlink return type.
10065         Reported by Chris Metcalf <cmetcalf@tilera.com>.
10067 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
10069         * stdlib/ucontext.h: Undo last change for makecontext.
10071 2011-11-11  Andreas Schwab  <schwab@redhat.com>
10073         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10075         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10076         * setjmp/setjmp.h: Mark functions as non-leaf.
10077         * setjmp/bits/setjmp2.h: Likewise.
10078         * stdlib/ucontext.h: Likewise.
10080 2011-11-10  Andreas Schwab  <schwab@redhat.com>
10082         * malloc/arena.c (_int_new_arena): Don't increment narenas.
10083         (reused_arena): Don't check arena limit.
10084         (arena_get2): Atomically check arena limit.
10086 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
10088         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10089         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10091         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10092         instructions.
10094 2011-11-07  Andreas Schwab  <schwab@redhat.com>
10096         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10097         handler when locking.
10099         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10100         Fix size of allocated buffer.
10102 2011-11-04  Andreas Schwab  <schwab@redhat.com>
10104         [BZ #10103]
10105         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10106         declarations for long double functions.
10107         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10109         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10111 2011-11-03  Andreas Schwab  <schwab@redhat.com>
10113         * nscd/nscd.c (main): Don't start AVC thread until credentials are
10114         installed.
10116         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10117         is disabled.
10119 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10121         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10123 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10125         * include/alloca.h (stackinfo_alloca_round): Define.
10126         (extend_alloca): Use it.
10127         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10128         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10129         here.
10131         * scripts/check-local-headers.sh: Ignore libaudit.h.
10133         * nscd/Makefile (extra-objs): Make recursively expanded.
10135 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
10137         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10138         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10140         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10141         * posix/tst-rfc3484-2.c: Likewise.
10142         * posix/tst-rfc3484-3.c: Likewise.
10144         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10145         process_vm_writev.
10146         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10147         process_vm_writev.
10148         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10149         process_vm_writev from libc using GLIBC_2.15 version.
10151         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10153 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
10155         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10156         stack usage.
10158 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
10160         [BZ #13367]
10161         * nss/getent.c (initgroups_keys): Show error message in case no group
10162         names are given.
10164         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10165         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10166         __bump_nl_timestamp.
10167         * nscd/connections (nscd_init): When host database is served open
10168         netlink socket and request notification about configuration changes.
10169         (main_loop_poll): Track netlink file descriptor and bump timestamp
10170         in case data becomes available.
10171         (main_loop_epoll): Likewise.
10172         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10173         (database_pers_head): Add extra_data fileds.
10174         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10175         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10176         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10177         Adjust caller.
10178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10179         in6ai data, call __free_in6ai.
10180         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10181         Add -DHAVE_NETLINK.
10182         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
10183         interface information.  Reuse previous data if netlink timestamp
10184         is not changed.
10185         (__bump_nl_timestamp): New function.
10186         (__free_in6ai): New function.
10188 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
10190         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10191         close_not_cancel_no_status here.
10192         (__check_pf): Reorganize code a bit to not call close twice if OOM.
10194 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10196         [BZ #13276]
10197         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10198         return value.
10200         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10201         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10202         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10204 2011-07-03  Andreas Jaeger  <aj@suse.de>
10206         [BZ #10709]
10207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10208         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10209         * math/libm-test.inc (sin_test): Add test case.
10211 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
10213         [BZ #13337]
10214         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10215         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10217         * elf/chroot_canon.c (chroot_canon): Cleanups.
10219         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10221         [BZ #13335]
10222         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10223         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10225         * string/test-strchr.c: Make usable for strchrnul testing.
10226         * string/test-strchrnul.c: New file.
10227         * string/Makefile (strop-tests): Add strchrnul.
10229         * po/it.po: Update from translation team.
10230         * po/es.po: Likewise.
10232 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
10234         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10235         the three constants needed as parameters.  Drop the others.
10236         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10237         __m128i_strloadu_tolower.
10238         Create and initialize variable zero and use it in all the places
10239         where _mm_setzero_si128 was used.
10241         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10242         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10243         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10244         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10245         anymore.
10246         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10247         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10248         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10249         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10250         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10251         __mpranred, __mptan.
10252         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10253         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10254         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10255         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10256         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10257         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10258         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10259         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10260         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10262 2011-10-28  Andreas Schwab  <schwab@redhat.com>
10264         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10265         redefine if SHARED.
10266         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10268         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10269         wide char related routines to wcsmbs subdir.
10271 2011-10-27  Andreas Schwab  <schwab@redhat.com>
10273         [BZ #13344]
10274         * misc/sys/cdefs.h (__THROWNL): Define.
10275         * posix/unistd.h: Use __THREADNL instead of __THREAD
10276         for memory synchronization functions.
10278 2011-10-26  Roland McGrath  <roland@hack.frob.com>
10280         [BZ #13349]
10281         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10282         doesn't exist.
10283         * manual/stdio.texi (Obstack Streams): Node removed.
10285 2011-10-26  Andreas Schwab  <schwab@redhat.com>
10287         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10288         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10289         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10291         * math/math_private.h (math_force_eval): Allow non-addressable
10292         arguments.
10293         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10295 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10297         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10298         file is not needed.
10300         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10301         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10302         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10303         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10304         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10305         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10306         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10307         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10308         Add AVX variants.
10309         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10310         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10311         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10312         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10313         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10314         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10315         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10316         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10317         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10318         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10319         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10320         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10321         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10322         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10323         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10324         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10325         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10326         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10327         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10329         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10330         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
10332         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10333         place.  Use VEX encoding when compiling for AVX.
10335 2011-10-25  Andreas Schwab  <schwab@redhat.com>
10337         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10338         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10340         * string/test-strchr.c (do_test): Don't generate NUL bytes.
10342 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10344         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10345         useless if() expression.
10346         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10347         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10348         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10349         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10350         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10351         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10352         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10355         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10356         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10357         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10358         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10359         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10360         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10361         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10362         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10363         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10364         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10366         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10368 2011-10-25  Andreas Schwab  <schwab@redhat.com>
10370         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10371         condition.
10372         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10374 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
10376         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10377         .text section.  Avoid duplicate constants.
10378         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10379         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10380         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10381         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10382         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10386         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10387         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10388         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10389         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10390         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10391         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10392         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10393         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10394         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10395         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10396         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10397         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10398         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10399         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10400         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10401         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10402         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10403         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10404         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10405         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10406         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10407         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10408         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10409         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10410         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10411         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10412         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10413         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10414         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10415         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10416         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10417         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10418         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10419         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10420         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10421         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10422         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10424 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
10426         * sysdeps/x86_64/dla.h: Move to ...
10427         * sysdeps/x86_64/fpu/dla.h: ...here.
10428         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10429         situations.  Use __builtin_fma only for gcc 4.6 and up.
10431         * config.make.in: Add have-mfma4 entry.
10432         * configure.in: Substitute libc_cv_cc_fma4.
10433         * math/Makefile (dbl-only-routines): Add sincostab.
10434         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10435         Use __sincostab not sincos.
10436         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10437         name is a macro.
10438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
10442         using __copysign.
10443         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
10444         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
10445         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10446         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10447         and __inv.
10448         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10449         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10450         __copysign.
10451         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
10452         define aliases when function name is a macro.
10453         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10454         sysdeps/ieee754/dbl-64/sincos.tbl.
10455         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10456         fma4-enabled routines.
10457         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10458         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10459         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10460         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10461         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10462         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10463         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10464         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10465         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10466         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10467         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10468         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10469         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10470         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10471         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10472         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10473         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10474         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10475         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10476         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10477         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10478         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10479         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10480         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10481         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10482         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10483         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10484         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10485         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10486         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10488         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10489         rename.
10490         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10491         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10492         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10494         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10495         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10496         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10497         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10499 2011-10-24  Andreas Schwab  <schwab@redhat.com>
10501         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10503 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10507         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10508         prediction.
10509         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10511         * string/strnlen.c: Don't define STRNLEN, reverse logic.
10512         Remove unused variable magic_bits.
10513         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10515         * string/strnlen.c: Define and use STRNLEN macro.
10516         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10517         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10519         * wcsmbs/wcslen.c: Define and use WCSLEN.
10520         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10521         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10522         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10523         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10524         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10525         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10526         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10528 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10531         strnlen-sse2-no-bsf.
10532         Rename strlen-no-bsf to strlen-sse2-no-bsf.
10533         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10534         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10535         Add strnlen support.
10536         (USE_AS_STRNLEN): New macro.
10537         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10538         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10539         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10540         * sysdeps/x86_64/wcslen.S: New file.
10542 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
10544         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10545         XMM-moves are used for copying on small sizes.
10547 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10549         * wcsmbs/Makefile (strop-tests): Add wcschr.
10550         * wcsmbs/test-wcschr.c: New file.
10551         * string/test-strchr.c: Update.
10552         Add wcschr support.
10553         (WIDE): New macro.
10555 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10557         * wcsmbs/Makefile (strop-tests): Add wcslen.
10558         * wcsmbs/test-wcslen.c: New file.
10559         * string/test-strlen.c: Update.
10560         Add wcslen support.
10561         (WIDE): New macro.
10563 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10565         * po/it.po: Update from translation team.
10567 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10569         * sysdeps/x86_64/wcscmp.S: Update.
10570         Fix wrong comparison semantics.
10571         wcscmp shall use signed comparison not unsigned.
10572         Don't use substraction to avoid overflow bug.
10573         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10574         * wcsmbc/wcscmp.c: Likewise.
10575         * string/test-strcmp.c: Likewise.
10576         Add new tests to check cases with negative values.
10578 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10580         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10581         * sysdeps/x86_64/dla.h: ...here.  New file.
10582         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10583         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10586         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10587         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10589         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10592 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
10594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10595         __ynl_finite aliases.
10597 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10601         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10602         define DLA_FMA.
10603         [DLA_FMA] (EMULV): Use DLA_FMA.
10604         [DLA_FMA] (MUL12): Use EMULV.
10605         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10606         that are not needed.
10607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10612         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10615 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
10617         * math/s_nan.c: Undef __nan.
10618         * math/s_nanf.c: Undef __nanf.
10619         * math/s_nanl.c: Undef __nanl.
10620         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10621         "math_private.h".
10623 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10625         * math/s_catan.c: Add branch predictions.
10626         * math/s_catanf.c: Likewise.
10627         * math/s_catanh.c: Likewise.
10628         * math/s_catanhf.c: Likewise.
10629         * math/s_catanhl.c: Likewise.
10630         * math/s_catanl.c: Likewise.
10631         * math/s_cexp.c: Likewise.
10632         * math/s_cexpf.c: Likewise.
10633         * math/s_cexpl.c: Likewise.
10634         * math/s_clog.c: Likewise.
10635         * math/s_clog10.c: Likewise.
10636         * math/s_clog10f.c: Likewise.
10637         * math/s_clog10l.c: Likewise.
10638         * math/s_clogf.c: Likewise.
10639         * math/s_clogl.c: Likewise.
10640         * math/s_csqrt.c: Likewise.
10641         * math/s_csqrtf.c: Likewise.
10642         * math/s_csqrtl.c: Likewise.
10643         * math/s_ctanf.c: Likewise.
10644         * math/s_ctanh.c: Likewise.
10645         * math/s_ctanhf.c: Likewise.
10646         * math/s_ctanhl.c: Likewise.
10647         * math/s_ctanl.c: Likewise.
10649         * math/math_private.h: Define __nan, __nanf, __nanl.
10650         * math/s_cacosh.c: Include <math_private.h>.
10651         * math/s_cacoshl.c: Likewise.
10652         * math/s_casinh.c: Likewise.
10653         * math/s_casinhf.c: Likewise.
10654         * math/s_casinhl.c: Likewise.
10655         * math/s_ccos.c: Rely entire on ccosh.
10656         * math/s_ccosf.c: Rely entire on ccoshf.
10657         * math/s_ccosl.c: Rely entirely on ccoshl.
10658         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
10659         Remove tests for FE_INVALID.
10660         * math/s_ccoshf.c: Likewise.
10661         * math/s_ccoshl.c: Likewise.
10662         * math/s_csin.c: Likewise.
10663         * math/s_csinf.c: Likewise.
10664         * math/s_csinh.c Likewise.
10665         * math/s_csinhf.c: Likewise.
10666         * math/s_csinhl.c: Likewise.
10667         * math/s_csinl.c: Likewise.
10668         * math/s_ctan.c: Likewise.
10669         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10670         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10671         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10673 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
10675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10676         compilation problems.
10678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10679         __builtin_expect.
10681 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
10683         * sysdeps/i386/configure.in: Test for -mfma4 option.
10684         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10685         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10686         COMMON_CPUID_INDEX_80000001.
10687         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10688         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10689         use it if FMA3 is not supported.
10690         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10692         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10693         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10695 2011-10-20  Andreas Schwab  <schwab@redhat.com>
10697         [BZ #12892]
10698         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10699         it would create a cycle with a link time dependency.
10701 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
10703         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10704         instruction.
10705         * string/Makefile (strop-tests): Add rawmemchr.
10706         * string/test-rawmemchr.c: New file.
10708         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10709         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
10710         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
10711         when compiling str{,n}casecmp and when AVX is available.  Hook up
10712         new optimized code in initializers.
10714 2011-10-19  Andreas Schwab  <schwab@redhat.com>
10716         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10717         __feraiseexcept instead of feraiseexcept.
10719 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
10721         * math/math_private.h: Define defaults for libc_fetestexcept and
10722         libc_feupdateenv.
10723         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10724         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10725         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10726         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10727         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10728         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10729         libc_fetestexcept and libc_feupdateenv.
10731         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10732         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10733         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10734         * sysdeps/x86_64/fpu/math_private.h: Define special version of
10735         libc_feholdexcept_setround.
10737         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10738         Add s_nearbyint-c and s_nearbyintf-c.
10739         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10740         nearbyintf inlines.
10741         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10742         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10743         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10744         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10746         * math/math_private.h: Define defaults for libc_fegetround,
10747         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10748         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10749         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10750         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10751         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10752         standard functions.
10753         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10754         Remove comments and hacks for old compiler versions.
10755         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10756         libc_fegetround, libc_fesetround, libc_feholdexcept, and
10757         libc_feholdexceptl.
10759 2011-10-18  Andreas Schwab  <schwab@redhat.com>
10761         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10762         (__feraiseexcept_renamed): Add __NTH.
10763         (feraiseexcept): Add __NTH.  Rename local variables to fix
10764         namespace violations.
10766 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
10768         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10770         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10772         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10773         recently added interfaces.
10774         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10776         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10777         about macro parameter expansion.
10779         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10780         __NO_MATH_INLINES is defined.  Cleanups.
10782         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10783         and __floorf is target has SSE4.1.
10784         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10785         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10786         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10787         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10789         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10790         name.
10791         (floorf): Likewise.
10793         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10795 2011-10-17  Andreas Schwab  <schwab@redhat.com>
10797         * misc/sys/cdefs.h: Fix last change.
10799         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10800         database lookup.
10802 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
10804         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10806         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10808         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10809         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10810         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10811         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10812         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10813         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10814         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10815         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10816         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10817         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10818         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10819         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10820         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10821         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10822         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10823         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10824         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10825         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10826         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10827         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10829         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10830         ceil, ceilf, floor, floorf.
10832         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10833         Perform IRELATIVE relocations last.
10835         * elf/do-rel.h: Add another parameter nrelative, replacing the
10836         local variable with the same name.  Change name of the function
10837         to end in Rel or Rela (uppercase).
10838         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10839         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
10840         elf_dynamic_do_##reloc function.
10842 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
10844         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10845         is sufficient, at least on modern CPUs.
10847         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10849         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10850         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10852         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10853         __expl_finite.
10854         * math/bits/math-finite.h: Add entries for exp.
10855         * math/e_expl.c: Add __*_finite alias.
10856         * sysdeps/i386/fpu/e_exp.S: Likewise.
10857         * sysdeps/i386/fpu/e_expf.S: Likewise.
10858         * sysdeps/i386/fpu/e_expl.c: Likewise.
10859         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10860         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10861         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10862         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10863         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10864         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10865         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10867         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10868         is sufficient, at least on modern CPUs.
10870         * ctype/ctype-info.c (__ctype_init): Define.
10871         * include/ctype.h (__ctype_init): Declare.
10872         (__ctype_b_loc): The variable is always initialized.
10873         (__ctype_toupper_loc): Likewise.
10874         (__ctype_tolower_loc): Likewise.
10875         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10876         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10878 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
10880         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10882         * configure.in: Also look in $cxxmachine/include for C++ system
10883         headers.
10885 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10887         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10888         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10889         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10890         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
10891         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10892         (USE_AS_WMEMCMP): New macro.
10893         Fixing indents.
10894         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10895         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10896         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10897         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10899         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10900         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10901         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10902         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10903         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10904         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10905         (USE_AS_WMEMCMP): New macro.
10906         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10907         * sysdeps/string/test-memcmp.c: Update.
10908         Fix simple_wmemcmp.
10909         Add new tests.
10910         * wcsmbs/wmemcmp.c: Update.
10911         (WMEMCMP): New macro.
10912         Fix overflow bug.
10914 2011-10-12  Andreas Jaeger  <aj@suse.de>
10916         [BZ #13268]
10917         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10919 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
10921         * libio/iofwide.c (do_length): Avoid warning.
10923         * ctype/ctype.h (__isctype_f): Add missing __THROW.
10925 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
10927         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10929         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10930         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10931         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10932         * sysdeps/i386/i686/fpu/e_log.S: New file.
10933         * sysdeps/i386/i686/fpu/e_logf.S: New file.
10934         * sysdeps/i386/i686/fpu/e_logl.S: New file.
10936         * ctype/ctype.h: Add support for inlined isXXX functions when
10937         compiling C++ code.
10939 2011-10-14  Andreas Schwab  <schwab@redhat.com>
10941         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10943         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10945 2011-10-13  Roland McGrath  <roland@hack.frob.com>
10947         [BZ #13291]
10948         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10950 2011-10-13  Andreas Schwab  <schwab@redhat.com>
10952         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10953         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10954         feraiseexcept.
10956         * sysdeps/x86_64/memrchr.S: Check for zero size.
10958         * string/stratcliff.c: Add memrchr tests.
10960 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10962         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10963         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10964         rawmemchr-sse2 rawmemchr-sse2-bsf.
10965         * sysdeps/i386/i686/multiarch/memchr.S: New file.
10966         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10967         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10968         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10969         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10970         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10971         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10972         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10973         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10974         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10975         * string/memrchr.c (MEMRCHR): New macro.
10977 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
10979         Add integration with gcc's -ffinite-math-only and optimize wrapper
10980         functions in libm.
10981         * Versions.def: Define GLIBC_2.15 version for libm.
10982         * math/Makefile (headers): Add bits/math-finite.h.
10983         * math/bits/math-finite.h: New file.
10984         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10985         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10986         * math/e_acoshl.c: Add __*_finite alias.
10987         * math/e_acosl.c: Likewise.
10988         * math/e_asinl.c: Likewise.
10989         * math/e_atan2l.c: Likewise.
10990         * math/e_atanhl.c: Likewise.
10991         * math/e_coshl.c: Likewise.
10992         * math/e_exp10.c: Likewise.
10993         * math/e_exp10f.c: Likewise.
10994         * math/e_exp10l.c: Likewise.
10995         * math/e_exp2l.c: Likewise.
10996         * math/e_fmodl.c: Likewise.
10997         * math/e_gammal_r.c: Likewise.
10998         * math/e_hypotl.c: Likewise.
10999         * math/e_j0l.c: Likewise.
11000         * math/e_j1l.c: Likewise.
11001         * math/e_jnl.c: Likewise.
11002         * math/e_lgammal_r.c: Likewise.
11003         * math/e_log10l.c: Likewise.
11004         * math/e_log2l.c: Likewise.
11005         * math/e_logl.c: Likewise.
11006         * math/e_powl.c: Likewise.
11007         * math/e_sinhl.c: Likewise.
11008         * math/e_sqrtl.c: Likewise.
11009         * math/e_scalb.c: Completely rewritten and optimized.
11010         * math/e_scalbf.c: Likewise.
11011         * math/e_scalbl.c: Likewise.
11012         * math/w_acos.c: Likewise.
11013         * math/w_acosf.c: Likewise.
11014         * math/w_acosl.c: Likewise.
11015         * math/w_acosh.c: Likewise.
11016         * math/w_acoshf.c: Likewise.
11017         * math/w_acoshl.c: Likewise.
11018         * math/w_asin.c: Likewise.
11019         * math/w_asinf.c: Likewise.
11020         * math/w_asinl.c: Likewise.
11021         * math/w_atan2.c: Likewise.
11022         * math/w_atan2f.c: Likewise.
11023         * math/w_atan2l.c: Likewise.
11024         * math/w_atanh.c: Likewise.
11025         * math/w_atanhf.c: Likewise.
11026         * math/w_atanhl.c: Likewise.
11027         * math/w_exp10.c: Likewise.
11028         * math/w_exp10f.c: Likewise.
11029         * math/w_exp10l.c: Likewise.
11030         * math/w_fmod.c: Likewise.
11031         * math/w_fmodf.c: Likewise.
11032         * math/w_fmodl.c: Likewise.
11033         * math/w_j0.c: Likewise.
11034         * math/w_j0f.c: Likewise.
11035         * math/w_j0l.c: Likewise.
11036         * math/w_j1.c: Likewise.
11037         * math/w_j1f.c: Likewise.
11038         * math/w_j1l.c: Likewise.
11039         * math/w_jn.c: Likewise.
11040         * math/w_jnf.c: Likewise.
11041         * math/w_log.c: Likewise.
11042         * math/w_logf.c: Likewise.
11043         * math/w_logl.c: Likewise.
11044         * math/w_log10.c: Likewise.
11045         * math/w_log10f.c: Likewise.
11046         * math/w_log10l.c: Likewise.
11047         * math/w_log2.c: Likewise.
11048         * math/w_log2f.c: Likewise.
11049         * math/w_log2l.c: Likewise.
11050         * math/w_pow.c: Likewise.
11051         * math/w_powf.c: Likewise.
11052         * math/w_powl.c: Likewise.
11053         * math/w_remainder.c: Likewise.
11054         * math/w_remainderf.c: Likewise.
11055         * math/w_remainderl.c: Likewise.
11056         * math/w_scalb.c: Likewise.
11057         * math/w_scalbf.c: Likewise.
11058         * math/w_scalbl.c: Likewise.
11059         * math/w_sqrt.c: Likewise.
11060         * math/w_sqrtf.c: Likewise.
11061         * math/w_sqrtl.c: Likewise.
11062         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11063         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
11064         used.
11065         * math/math_private.h: Declare __kernel_standard_f.
11066         * math/w_cosh.c: Remove cruft and optimize a bit.
11067         * math/w_coshf.c: Likewise.
11068         * math/w_coshl.c: Likewise.
11069         * math/w_exp2.c: Likewise.
11070         * math/w_exp2f.c: Likewise.
11071         * math/w_exp2l.c: Likewise.
11072         * math/w_hypot.c: Likewise.
11073         * math/w_hypotf.c: Likewise.
11074         * math/w_hypotl.c: Likewise.
11075         * math/w_lgamma.c: Likewise.
11076         * math/w_lgamma_r.c: Likewise.
11077         * math/w_lgammaf.c: Likewise.
11078         * math/w_lgammaf_r.c: Likewise.
11079         * math/w_lgammal.c: Likewise.
11080         * math/w_lgammal_r.c: Likewise.
11081         * math/w_sinh.c: Likewise.
11082         * math/w_sinhf.c: Likewise.
11083         * math/w_sinhl.c: Likewise.
11084         * math/w_tgamma.c: Likewise.
11085         * math/w_tgammaf.c: Likewise.
11086         * math/w_tgammal.c: Likewise.
11087         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11088         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11089         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11090         Minor optimizations.  Pretty printing.  Remove cruft.
11091         * sysdeps/i386/fpu/e_acosf.S: Likewise.
11092         * sysdeps/i386/fpu/e_acosh.S: Likewise.
11093         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11094         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11095         * sysdeps/i386/fpu/e_acosl.c: Likewise.
11096         * sysdeps/i386/fpu/e_asin.S: Likewise.
11097         * sysdeps/i386/fpu/e_asinf.S: Likewise.
11098         * sysdeps/i386/fpu/e_atan2.S: Likewise.
11099         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11100         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11101         * sysdeps/i386/fpu/e_atanh.S: Likewise.
11102         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11103         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11104         * sysdeps/i386/fpu/e_exp10.S: Likewise.
11105         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11106         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11107         * sysdeps/i386/fpu/e_exp2.S: Likewise.
11108         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11109         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11110         * sysdeps/i386/fpu/e_fmod.S: Likewise.
11111         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11112         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11113         * sysdeps/i386/fpu/e_hypot.S: Likewise.
11114         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11115         * sysdeps/i386/fpu/e_log.S: Likewise.
11116         * sysdeps/i386/fpu/e_log10.S: Likewise.
11117         * sysdeps/i386/fpu/e_log10f.S: Likewise.
11118         * sysdeps/i386/fpu/e_log10l.S: Likewise.
11119         * sysdeps/i386/fpu/e_log2.S: Likewise.
11120         * sysdeps/i386/fpu/e_log2f.S: Likewise.
11121         * sysdeps/i386/fpu/e_log2l.S: Likewise.
11122         * sysdeps/i386/fpu/e_logf.S: Likewise.
11123         * sysdeps/i386/fpu/e_logl.S: Likewise.
11124         * sysdeps/i386/fpu/e_pow.S: Likewise.
11125         * sysdeps/i386/fpu/e_powf.S: Likewise.
11126         * sysdeps/i386/fpu/e_powl.S: Likewise.
11127         * sysdeps/i386/fpu/e_remainder.S: Likewise.
11128         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11129         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11130         * sysdeps/i386/fpu/e_scalb.S: Likewise.
11131         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11132         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11133         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11134         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11135         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11136         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11137         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11138         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11139         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11140         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11141         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11142         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11143         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11144         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11145         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11146         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11147         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11149         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11150         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11152         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11153         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11154         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11156         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11157         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11158         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11159         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11160         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11161         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11162         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11163         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11164         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11165         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11166         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11167         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11168         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11169         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11170         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11171         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11172         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11173         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11174         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11175         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11176         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11177         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11178         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11179         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11180         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11181         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11182         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11183         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11184         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11185         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11186         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11187         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11188         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11189         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11190         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11191         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11192         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11193         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11194         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11195         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11196         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11197         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11198         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11199         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11200         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11201         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11202         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11203         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11204         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11205         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11206         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11207         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11208         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11211         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11212         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11213         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11214         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11215         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11216         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11217         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11218         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11219         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11220         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11221         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11222         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11223         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11224         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11225         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11226         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11227         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11228         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11229         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11230         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11231         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11232         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11233         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11234         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11235         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11236         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11237         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11238         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11239         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11240         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11241         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11242         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11243         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11244         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11245         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11246         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
11247         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11248         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11249         (__isnanf): Likewise.
11250         (__isinf_ns): Likewise.
11251         (__isinf_nsf): Likewise.
11252         (__finite): Likewise.
11253         (__finitef): Likewise.
11254         (__ieee754_sqrt): Define as macro.
11255         (__ieee754_sqrtf): Define as macro.
11256         (__ieee754_sqrtl): Define as macro.
11257         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11258         inlined copy.
11259         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11260         __FINITE_MATH_ONLY__ consistent.
11261         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11263 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
11265         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11266         of rawmemchr.
11268         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11270 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
11272         * po/ja.po: Update from translation team.
11274 2011-10-08  Roland McGrath  <roland@hack.frob.com>
11276         * locale/programs/locarchive.c (prepare_address_space): New function.
11277         (create_archive, enlarge_archive, open_archive): Use it.
11279         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11280         inside [SHARED], where it is used.
11282         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11284         * nss/getent.c (netgroup_keys): Remove unused variable.
11285         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11287 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
11289         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11290         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11291         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11292         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11293         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11294         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11295         * math/Makefile (libm-calls): Add s_isinf_ns.
11296         * math/divtc3.c: Use __isinf_nsl instead of isinf.
11297         * math/multc3.c: Likewise.
11298         * math/s_casin.c: Likewise.
11299         * math/s_casinf.c: Likewise.
11300         * math/s_casinl.c: Likewise.
11301         * math/s_ccos.c: Likewise.
11302         * math/s_ccosf.c: Likewise.
11303         * math/s_ccosl.c: Likewise.
11304         * math/s_ctan.c: Likewise.
11305         * math/s_ctanf.c: Likewise.
11306         * math/s_ctanh.c: Likewise.
11307         * math/s_ctanhf.c: Likewise.
11308         * math/s_ctanhl.c: Likewise.
11309         * math/s_ctanl.c: Likewise.
11310         * math/w_fmod.c: Likewise.
11311         * math/w_fmodf.c: Likewise.
11312         * math/w_fmodl.c: Likewise.
11313         * math/w_remainder.c: Likewise.
11314         * math/w_remainderf.c: Likewise.
11315         * math/w_remainderl.c: Likewise.
11316         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11317         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11318         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11319         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11320         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11321         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11322         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11323         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11325         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11326         of the number.
11327         * stdio-common/printf_fphex.c: Likewise.
11328         * stdio-common/printf_size.c: Likewise.
11330         * math/e_exp10.c: Include math_private.h using <...> not "...".
11331         * math/e_exp10f.c: Likewise.
11332         * math/e_exp10l.c: Likewise.
11333         * math/e_exp2l.c: Likewise.
11334         * math/e_j0l.c: Likewise.
11335         * math/e_j1l.c: Likewise.
11336         * math/e_jnl.c: Likewise.
11337         * math/e_lgammal_r.c: Likewise.
11338         * math/e_rem_pio2l.c: Likewise.
11339         * math/e_scalb.c: Likewise.
11340         * math/e_scalbf.c: Likewise.
11341         * math/e_scalbl.c: Likewise.
11342         * math/k_cosl.c: Likewise.
11343         * math/k_sinl.c: Likewise.
11344         * math/k_tanl.c: Likewise.
11345         * math/s_cacoshf.c: Likewise.
11346         * math/s_catan.c: Likewise.
11347         * math/s_catanf.c: Likewise.
11348         * math/s_catanh.c: Likewise.
11349         * math/s_catanhf.c: Likewise.
11350         * math/s_catanhl.c: Likewise.
11351         * math/s_catanl.c: Likewise.
11352         * math/s_ccosh.c: Likewise.
11353         * math/s_ccoshf.c: Likewise.
11354         * math/s_ccoshl.c: Likewise.
11355         * math/s_cexp.c: Likewise.
11356         * math/s_cexpf.c: Likewise.
11357         * math/s_cexpl.c: Likewise.
11358         * math/s_clog.c: Likewise.
11359         * math/s_clog10.c: Likewise.
11360         * math/s_clog10f.c: Likewise.
11361         * math/s_clog10l.c: Likewise.
11362         * math/s_clogf.c: Likewise.
11363         * math/s_clogl.c: Likewise.
11364         * math/s_csin.c: Likewise.
11365         * math/s_csinf.c: Likewise.
11366         * math/s_csinh.c: Likewise.
11367         * math/s_csinhf.c: Likewise.
11368         * math/s_csinhl.c: Likewise.
11369         * math/s_csinl.c: Likewise.
11370         * math/s_csqrt.c: Likewise.
11371         * math/s_csqrtf.c: Likewise.
11372         * math/s_csqrtl.c: Likewise.
11373         * math/s_ctan.c: Likewise.
11374         * math/s_ctanf.c: Likewise.
11375         * math/s_ctanh.c: Likewise.
11376         * math/s_ctanhf.c: Likewise.
11377         * math/s_ctanhl.c: Likewise.
11378         * math/s_ctanl.c: Likewise.
11379         * math/s_ldexp.c: Likewise.
11380         * math/s_ldexpf.c: Likewise.
11381         * math/s_ldexpl.c: Likewise.
11382         * math/s_significand.c: Likewise.
11383         * math/s_significandf.c: Likewise.
11384         * math/s_significandl.c: Likewise.
11385         * math/w_acos.c: Likewise.
11386         * math/w_acosf.c: Likewise.
11387         * math/w_acosh.c: Likewise.
11388         * math/w_acoshf.c: Likewise.
11389         * math/w_acoshl.c: Likewise.
11390         * math/w_acosl.c: Likewise.
11391         * math/w_asin.c: Likewise.
11392         * math/w_asinf.c: Likewise.
11393         * math/w_asinl.c: Likewise.
11394         * math/w_atan2.c: Likewise.
11395         * math/w_atan2f.c: Likewise.
11396         * math/w_atan2l.c: Likewise.
11397         * math/w_atanh.c: Likewise.
11398         * math/w_atanhf.c: Likewise.
11399         * math/w_atanhl.c: Likewise.
11400         * math/w_cosh.c: Likewise.
11401         * math/w_coshf.c: Likewise.
11402         * math/w_coshl.c: Likewise.
11403         * math/w_dremf.c: Likewise.
11404         * math/w_exp10.c: Likewise.
11405         * math/w_exp10f.c: Likewise.
11406         * math/w_exp10l.c: Likewise.
11407         * math/w_exp2.c: Likewise.
11408         * math/w_exp2f.c: Likewise.
11409         * math/w_fmod.c: Likewise.
11410         * math/w_fmodf.c: Likewise.
11411         * math/w_fmodl.c: Likewise.
11412         * math/w_hypot.c: Likewise.
11413         * math/w_hypotf.c: Likewise.
11414         * math/w_hypotl.c: Likewise.
11415         * math/w_j0.c: Likewise.
11416         * math/w_j0f.c: Likewise.
11417         * math/w_j0l.c: Likewise.
11418         * math/w_j1.c: Likewise.
11419         * math/w_j1f.c: Likewise.
11420         * math/w_j1l.c: Likewise.
11421         * math/w_jn.c: Likewise.
11422         * math/w_jnf.c: Likewise.
11423         * math/w_jnl.c: Likewise.
11424         * math/w_lgamma.c: Likewise.
11425         * math/w_lgamma_r.c: Likewise.
11426         * math/w_lgammaf.c: Likewise.
11427         * math/w_lgammaf_r.c: Likewise.
11428         * math/w_lgammal.c: Likewise.
11429         * math/w_lgammal_r.c: Likewise.
11430         * math/w_log.c: Likewise.
11431         * math/w_log10.c: Likewise.
11432         * math/w_log10f.c: Likewise.
11433         * math/w_log10l.c: Likewise.
11434         * math/w_log2.c: Likewise.
11435         * math/w_log2f.c: Likewise.
11436         * math/w_log2l.c: Likewise.
11437         * math/w_logf.c: Likewise.
11438         * math/w_logl.c: Likewise.
11439         * math/w_pow.c: Likewise.
11440         * math/w_powf.c: Likewise.
11441         * math/w_powl.c: Likewise.
11442         * math/w_remainder.c: Likewise.
11443         * math/w_remainderf.c: Likewise.
11444         * math/w_remainderl.c: Likewise.
11445         * math/w_scalb.c: Likewise.
11446         * math/w_scalbf.c: Likewise.
11447         * math/w_scalbl.c: Likewise.
11448         * math/w_sinh.c: Likewise.
11449         * math/w_sinhf.c: Likewise.
11450         * math/w_sinhl.c: Likewise.
11451         * math/w_sqrt.c: Likewise.
11452         * math/w_sqrtf.c: Likewise.
11453         * math/w_sqrtl.c: Likewise.
11454         * math/w_tgamma.c: Likewise.
11455         * math/w_tgammaf.c: Likewise.
11456         * math/w_tgammal.c: Likewise.
11458         * po/ja.po: Update from translation team.
11460 2011-09-29  Andreas Jaeger  <aj@suse.de>
11462         [BZ #13179]
11463         * sunrpc/netname.c (netname2host): Fix logic.
11465         [BZ #6779]
11466         [BZ #6783]
11467         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11468         correctly.
11469         * math/w_remainder.c (__remainder): Likewise.
11470         * math/w_remainderf.c (__remainderf): Likewise.
11471         * math/libm-test.inc (remainder_test): Add test cases.
11473 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11475         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
11476         sdiv_qrnnd.
11478 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11480         * string/test-memcmp.c: Avoid unncessary #defines.
11481         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11483 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11485         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11486         Use new sse2 version for core i3 - i7 as it's faster
11487         than sse42 version.
11488         (bit_Prefer_PMINUB_for_stringop): New.
11489         * sysdeps/x86_64/rawmemchr.S: Update.
11490         Replace with faster SSE2 version.
11491         * sysdeps/x86_64/memrchr.S: New file.
11492         * sysdeps/x86_64/memchr.S: Update.
11493         Replace with faster SSE2 version.
11495 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
11497         * elf/dl-load.c (lose): Add cast to avoid warning.
11499 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11501         * po/ca.po: Update from translation team.
11503         * inet/getnetgrent_r.c: Hook up nscd.
11504         * nscd/Makefile (routines): Add nscd_netgroup.
11505         (nscd-modules): Add netgroupcache.
11506         (CFLAGS-netgroupcache.c): Define.
11507         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11508         (cache_search): Add const to second parameter.
11509         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11510         INNETGR.
11511         (dbs): Add netgrdb entry.
11512         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11513         (verify_persistent_db): Handle netgrdb.
11514         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11515         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11516         GETFDNETGR.
11517         (netgroup_response_header): Define.
11518         (innetgroup_response_header): Define.
11519         (datahead): Add netgroup_response_header and innetgroup_response_header
11520         elements.
11521         * nscd/nscd.conf: Add entries for netgroup cache.
11522         * nscd/nscd.h (dbtype): Add netgrdb.
11523         (_PATH_NSCD_NETGROUP_DB): Define.
11524         (netgroup_iov_disabled): Declare.
11525         (xmalloc, xcalloc, xrealloc): Move declarations here.
11526         (cache_search): Adjust prototype.
11527         Add netgroup-related prototypes.
11528         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11529         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11530         (__nscd_innetgr): Declare.
11531         * nscd/selinux.c (perms): Use access_vector_t as element type and
11532         add netgroup-related initializers.
11533         * nscd/netgroupcache.c: New file.
11534         * nscd/nscd_netgroup.c: New file.
11535         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11536         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11537         For four parameters use innetgr.
11538         * nss/nss_files/files-init.c: Add definition and callback for netgr.
11539         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11540         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11541         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11543         * nscd/connections.c (register_traced_file): Don't register file
11544         for disabled databases.
11546 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
11548         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11550         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11551         from tree and freeing node.
11553 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
11555         * nss/nsswitch.c (__nss_database_lookup): Handle
11556         nss_parse_service_list out of memory case.
11558 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
11560         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11561         out of memory case.
11563 2011-10-04  Andreas Schwab  <schwab@redhat.com>
11565         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11566         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11567         pass it down.
11568         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11569         elf_machine_rela, elf_machine_lazy_rel.
11570         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11571         (ELF_DYNAMIC_DO_REL): Likewise.
11572         (ELF_DYNAMIC_DO_RELA): Likewise.
11573         (ELF_DYNAMIC_RELOCATE): Likewise.
11574         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11575         to ELF_DYNAMIC_DO_REL.
11576         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11577         (dl_main): In trace mode always set __RTLD_NOIFUNC.
11578         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11579         elf_machine_rela.
11580         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11581         skip_ifunc, don't call ifunc function if non-zero.
11582         (elf_machine_rela): Likewise.
11583         (elf_machine_lazy_rel): Likewise.
11584         (elf_machine_lazy_rela): Likewise.
11585         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11586         (elf_machine_lazy_rel): Likewise.
11587         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11588         Likewise.
11589         (elf_machine_lazy_rel): Likewise.
11590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11591         Likewise.
11592         (elf_machine_lazy_rel): Likewise.
11593         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11594         (elf_machine_lazy_rel): Likewise.
11595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11596         (elf_machine_lazy_rel): Likewise.
11597         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11598         (elf_machine_lazy_rel): Likewise.
11599         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11600         (elf_machine_lazy_rel): Likewise.
11601         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11602         (elf_machine_lazy_rel): Likewise.
11603         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11604         (elf_machine_lazy_rel): Likewise.
11606 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
11608         * nss/nss_files/files-init.c (_nss_files_init): Use static
11609         initialization for all the *_traced_file variables.
11611 2011-09-28  Andreas Schwab  <schwab@redhat.com>
11613         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11615 2011-09-27  Roland McGrath  <roland@hack.frob.com>
11617         [BZ #13226]
11618         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11620 2011-09-27  Andreas Schwab  <schwab@redhat.com>
11622         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11623         Reread the line before reparsing it.
11625 2011-09-26  Andreas Schwab  <schwab@redhat.com>
11627         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11629 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
11630             Maxim Kuvyrkov  <maxim@codesourcery.com>
11631             Joseph Myers  <joseph@codesourcery.com>
11633         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11634         if needed for __stack_chk_guard.
11636 2011-09-19  Roland McGrath  <roland@hack.frob.com>
11638         * sysdeps/posix/spawni.c (script_execute): Always define it.
11639         It will be optimized away if unused.
11640         (maybe_script_execute): New function.
11641         (__spawni): Call it.
11643         * Makerules: Don't include tls.make.
11644         (config-tls): Always set to thread.
11645         * tls.make.c: File removed.
11647 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
11649         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11650         * config.make.in (CPPFLAGS-config): New substituted variable.
11652 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
11654         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11656         [BZ #13192]
11657         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11658         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11660 2011-09-15  Roland McGrath  <roland@hack.frob.com>
11662         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11663         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11664         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11665         (CALL_FAIL): Likewise.
11666         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11667         (CALL_FAIL): Macro removed.
11668         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11670 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
11672         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11673         for __FINITE_MATH_ONLY__ == 1.
11675 2011-09-15  Andreas Schwab  <schwab@redhat.com>
11677         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11678         __ieee754_sqrt instead of sqrt.
11679         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11680         __ieee754_sqrtf instead of sqrtf.
11681         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11682         __floorf instead of floorf.
11683         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11684         __floorf, __truncf instead of floorf, truncf.
11686 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
11688         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11690         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11691         __extern_always_inline.
11692         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11693         32-bit.
11695 2011-09-14  Andreas Schwab  <schwab@redhat.com>
11697         * elf/rtld.c (dl_main): Also relocate in dependency order when
11698         doing symbol dependency testing.
11700 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
11702         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11703         Always define `refsym'.
11705 2011-09-13  Andreas Schwab  <schwab@redhat.com>
11707         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11708         (__FD_ELT): Renamed from __FDELT.
11709         * misc/bits/select2.h (__FD_ELT): Likewise.
11710         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11711         __FD_MASK instead of __FDELT, __FDMASK.
11712         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11713         Likewise.
11714         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11715         Likewise.
11717         * elf/Makefile (gen-ldd): Fix pattern.
11719         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11720         (init_tls): Likewise.
11722 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
11724         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11726 2011-09-12  Andreas Schwab  <schwab@redhat.com>
11728         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11729         `struct cmsghdr *' instead of `void *'.
11730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11731         Likewise.
11733 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
11735         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11736         if non-absolute.
11737         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11738         ldd_rewrite_script.
11740 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
11742         * configure.in: Remove --with-tls option.
11743         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11744         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11745         out in case it is missing.
11746         * sysdeps/ia64/elf/configure.in: Likewise.
11747         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11748         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11749         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11750         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11751         * sysdeps/sh/elf/configure.in: Likewise.
11752         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11753         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11754         * sysdeps/x86_64/elf/configure.in: Likewise.
11755         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11756         * sysdeps/mach/hurd/tls.h: Likewise.
11758         [BZ #13067]
11759         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11761         [BZ #13090]
11762         * configure.in: Fix use of AC_INIT.
11764         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11766 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
11768         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11769         __set_errno.
11770         * malloc/hooks.c: Likewise.
11772         [BZ #11929]
11773         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
11774         variables statically.
11775         (narenas): Initialize.
11776         (list_lock): Initialize.
11777         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
11778         initializtion of main_arena and list_lock.  Small cleanups.
11779         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11780         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
11781         Add initializers to main_arena and mp_.
11782         (malloc_state): Remove pagesize member.  Change all users to use
11783         GLRO(dl_pagesize).
11785         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11786         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
11787         is always initialized.
11789         * malloc/malloc.c: Removed unused configurations and dead code.
11790         * malloc/arena.c: Likewise.
11791         * malloc/hooks.c: Likewise.
11792         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11794         * include/tls.h: Removed.  USE___THREAD must always be defined.
11795         * bits/libc-tsd.h: Don't handle !USE___THREAD.
11796         * elf/dl-libc.c: Likewise.
11797         * elf/dl-tsd.c: Likewise.
11798         * include/errno.h: Likewise.
11799         * include/netdb.h: Likewise.
11800         * include/resolv.h: Likewise.
11801         * inet/herrno-loc.c: Likewise.
11802         * inet/herrno.c: Likewise.
11803         * malloc/arena.c: Likewise.
11804         * malloc/hooks.c: Likewise.
11805         * malloc/malloc.c: Likewise.
11806         * resolv/res-state.c: Likewise.
11807         * resolv/res_libc.c: Likewise.
11808         * sysdeps/i386/dl-machine.h: Likewise.
11809         * sysdeps/ia64/dl-machine.h: Likewise.
11810         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11811         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11812         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11813         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11814         * sysdeps/sh/dl-machine.h: Likewise.
11815         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11816         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11817         * sysdeps/unix/i386/sysdep.S: Likewise.
11818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11819         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11821         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11824         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11828         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11829         * sysdeps/x86_64/dl-machine.h: Likewise.
11830         * tls.make.c: Likewise.
11832         * configure.in: Remove --with-__thread option.  Make tests for
11833         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11834         tls_model attribute fail if no support is available.  Remove
11835         USE_IN_LIBIO.
11836         * Makeconfig: Adjust for dropped configure option.  All features are
11837         now mandatory.
11838         * Makerules: Likewise.
11839         * Versions.def: Likewise.
11840         * argp/argp-fmtstream.c: Likewise.
11841         * argp/argp-fmtstream.h: Likewise.
11842         * argp/argp-help.c: Likewise.
11843         * assert/assert.c: Likewise.
11844         * config.h.in: Likewise.
11845         * config.make.in: Likewise.
11846         * configure: Likewise.
11847         * configure.in: Likewise.
11848         * csu/Versions: Likewise.
11849         * csu/init.c: Likewise.
11850         * elf/tst-audit2.c: Likewise.
11851         * elf/tst-tls10.c: Likewise.
11852         * elf/tst-tls10.h: Likewise.
11853         * elf/tst-tls11.c: Likewise.
11854         * elf/tst-tls12.c: Likewise.
11855         * elf/tst-tls14.c: Likewise.
11856         * elf/tst-tlsmod11.c: Likewise.
11857         * elf/tst-tlsmod12.c: Likewise.
11858         * elf/tst-tlsmod13.c: Likewise.
11859         * elf/tst-tlsmod13a.c: Likewise.
11860         * elf/tst-tlsmod14a.c: Likewise.
11861         * elf/tst-tlsmod15b.c: Likewise.
11862         * elf/tst-tlsmod16a.c: Likewise.
11863         * elf/tst-tlsmod16b.c: Likewise.
11864         * elf/tst-tlsmod7.c: Likewise.
11865         * elf/tst-tlsmod8.c: Likewise.
11866         * elf/tst-tlsmod9.c: Likewise.
11867         * gmon/gmon.c: Likewise.
11868         * grp/fgetgrent_r.c: Likewise.
11869         * grp/putgrent.c: Likewise.
11870         * hurd/fopenport.c: Likewise.
11871         * include/libc-symbols.h: Likewise.
11872         * include/tls.h: Likewise.
11873         * intl/gettextP.h: Likewise.
11874         * intl/loadinfo.h: Likewise.
11875         * locale/global-locale.c: Likewise.
11876         * locale/localeinfo.h: Likewise.
11877         * mach/devstream.c: Likewise.
11878         * malloc/arena.c: Likewise.
11879         * malloc/set-freeres.c: Likewise.
11880         * misc/err.c: Likewise.
11881         * misc/getttyent.c: Likewise.
11882         * misc/mntent_r.c: Likewise.
11883         * posix/getopt.c: Likewise.
11884         * posix/wordexp.c: Likewise.
11885         * pwd/fgetpwent_r.c: Likewise.
11886         * resolv/Versions: Likewise.
11887         * resolv/res_hconf.c: Likewise.
11888         * shadow/fgetspent_r.c: Likewise.
11889         * shadow/putspent.c: Likewise.
11890         * stdio-common/printf_fphex.c: Likewise.
11891         * stdio-common/tmpfile.c: Likewise.
11892         * stdlib/abort.c: Likewise.
11893         * stdlib/fmtmsg.c: Likewise.
11894         * sunrpc/auth_unix.c: Likewise.
11895         * sunrpc/clnt_perr.c: Likewise.
11896         * sunrpc/clnt_tcp.c: Likewise.
11897         * sunrpc/clnt_udp.c: Likewise.
11898         * sunrpc/clnt_unix.c: Likewise.
11899         * sunrpc/openchild.c: Likewise.
11900         * sunrpc/svc_simple.c: Likewise.
11901         * sunrpc/svc_tcp.c: Likewise.
11902         * sunrpc/svc_udp.c: Likewise.
11903         * sunrpc/svc_unix.c: Likewise.
11904         * sunrpc/xdr.c: Likewise.
11905         * sunrpc/xdr_array.c: Likewise.
11906         * sunrpc/xdr_rec.c: Likewise.
11907         * sunrpc/xdr_ref.c: Likewise.
11908         * sunrpc/xdr_stdio.c: Likewise.
11910 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
11912         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11914 2011-07-03  Andreas Jaeger  <aj@suse.de>
11916         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11917         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11918         regenerate with gen-libm-tests.pl.
11920 2010-05-12  Petr Baudis  <pasky@suse.cz>
11922         [BZ #11589]
11923         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11924         around j0() zero points by switching to j1().
11925         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11926         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11928         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11930 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
11932         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11933         instead of 0.
11934         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11935         instead of 0.                              .
11936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11937         Patch in part by Pavel Roskin <proski@gnu.org>.
11939         [BZ #13138]
11940         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11941         realloc.
11942         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
11943         Free memory block if necessary.
11945         [BZ #12847]
11946         * libio/genops.c (INTDEF): For string streams the _lock pointer can
11947         be NULL.  Don't lock in this case.
11949 2011-09-09  Roland McGrath  <roland@hack.frob.com>
11951         * elf/elf.h (ELFOSABI_GNU): New macro.
11952         (ELFOSABI_LINUX): Define to that.
11954 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
11956         * string/strncat.c (strncat): Undef the symbol in case it has been
11957         defined in bits/string.h.
11959 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
11961         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11963         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11964         link map.
11966 2011-08-17  Andreas Jaeger  <aj@suse.de>
11968         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11970 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11971             Ian Lance Taylor  <iant@google.com>
11973         * math/libm-test.inc (lround_test): New testcase.
11974         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11976 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
11978         * Makefile: Remove support for automatic cvs check-ins.
11979         * Makerules: Likewise.
11980         * config.make.in: Likewise.
11981         * configure.in: Likewise.
11982         * intl/Makefile: Likewise.
11983         * locale/Makefile: Likewise.
11984         * po/Makefile: Likewise.
11985         * posix/Makefile: Likewise.
11986         * sysdeps/gnu/Makefile: Likewise.
11987         * sysdeps/mach/hurd/Makefile: Likewise.
11988         * sysdeps/sparc/sparc32/Makefile: Likewise.
11990         [BZ #13118]
11991         * posix/Makefile (bug-regex32-ENV): Define.
11992         Patch by John Stanley <jpsinthemix@verizon.net>.
11994         * misc/Makefile (headers): Add bits/select2.h.
11995         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11996         * misc/bits/select2.h: New file.
11997         * include/bits/select2.h: New file.
11998         * debug/Makefile (routines): Add fdelt_chk.
11999         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12000         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12001         FD_ISSET.
12002         * debug/fdelt_chk.c: New file.
12004         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
12005         * wcsmbs/test-wmemcmp.c: Likewise.
12006         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12007         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12009 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12011         * string/Makefile (strop-tests): Add memcmp.
12012         * string/test-wmemcmp.c: New file.
12013         * string/test-memcmp.c: Add wmemcmp support.
12015 2011-09-08  Roland McGrath  <roland@hack.frob.com>
12017         [BZ #13153]
12018         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12019         2011-07-19 change.
12021         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12022         garbage value in a __mach_port_mod_refs call in the cases of the
12023         task-self and thread-self ports.
12025 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12027         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12029 2011-09-08  Andreas Schwab  <schwab@redhat.com>
12031         * elf/dl-load.c (lose): Check for non-null L.
12033 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12035         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12037         * elf/dl-libc.c (dlerror_run): Pass back error code from
12038         dl_catch_error.
12040         [BZ #13123]
12041         * elf/dl-load.c (lose): Free l_origin if it is valid.
12043         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12044         names.
12045         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12046         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12047         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12048         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12049         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12050         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12052 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12054         * sysdeps/powerpc/fpu/e_hypot.c: New file.
12055         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12056         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12057         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12058         * sysdeps/powerpc/fpu/k_cosf.c: New file.
12059         * sysdeps/powerpc/fpu/k_sinf.c: New file.
12060         * sysdeps/powerpc/fpu/s_cosf.c: New file.
12061         * sysdeps/powerpc/fpu/s_sinf.c: New file.
12062         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12063         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12065 2011-08-15  Alan Modra  <amodra@gmail.com>
12067         [BZ #13092]
12068         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12069         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12070         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
12071         ppc_mcount to static-only-routines.
12072         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12073         __mcount_internal.
12074         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12075         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
12077 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
12079         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12080         for finite and infinity parameters.
12082 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
12084         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12085         and add nop instructions for throughput optimization.
12086         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12088 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
12090         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12091         aligned copy for power7 with vector-scalar instructions.
12092         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12094 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
12096         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12097         AVX check.
12099 2011-09-07  Andreas Schwab  <schwab@redhat.com>
12101         [BZ #13144]
12102         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12103         last change.
12105 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
12107         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12108         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12109         syscall wrapper around clock_gettime in __vdso_clock_gettime.
12110         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12111         clock_gettime.
12113 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12115         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12116         Forgot to demangle the pointer.
12118         * sysdeps/i386/sysdep.h: Define atom_text_section.
12119         * sysdeps/x86_64/sysdep.h: Likewise.
12120         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12121         section with atom_text_section.
12122         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12123         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12124         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12125         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12126         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12128         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12129         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12130         already be defined.  Change to take two parameters and don't assign
12131         result to variable.  Adjust all users.
12132         Define INTERNAL_GETTIME if not already defined.
12133         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12134         call.
12135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12136         HAVE_CLOCK_GETTIME_VSYSCALL.
12137         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12139         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12140         gettimeofday vsyscall, just use time.
12142 2011-09-06  Andreas Schwab  <schwab@redhat.com>
12144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12145         <errno.h>.
12147 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
12149         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12150         syscall on x86-64.
12151         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12152         syscall.
12153         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12154         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12155         syscall if possible.
12157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12159         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12160         e_ident.  Don't pass to find_mapsXX.
12161         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12163 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12166         strchr-sse2-no-bsf strrchr-sse2-no-bsf
12167         * sysdeps/x86_64/multiarch/strchr.S: Update.
12168         Check bit_slow_BSF bit.
12169         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12170         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12171         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12173 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12175         [BZ #13134]
12176         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12177         before glibc 2.15.
12178         (tryshell): Define.
12179         (__spawni): Change last parameter to be flag.  Test
12180         SPAWN_XFLAGS_USE_PATH flag to use path or not.
12181         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12182         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12183         * posix/spawni.c: Likewise.
12184         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12185         * posix/spawnp.c: Likewise.  Change normal version to use
12186         SPAWN_XFLAGS_USE_PATH.
12187         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12188         SPAWN_XFLAGS_TRY_SHELL.
12190         [BZ #13150]
12191         * posix/glob.h: Remove gcc 1.x support.
12193         [BZ #13068]
12194         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12196 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12199         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12200         strrchr-sse2-bsf
12201         * sysdeps/i386/i686/multiarch/strchr.S: New file.
12202         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12203         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12204         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12205         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12206         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12208 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12210         * sysdeps/x86_64/wcscmp.S: New file.
12212         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12213         wcscmp-c wcscmp-sse2
12214         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12215         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12216         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12217         * wcsmbs/wcscmp.c: Allow renaming.
12219 2011-09-05  David S. Miller  <davem@davemloft.net>
12221         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12222         stack slot, rather than the struct return pointer slot.
12223         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12224         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12226         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12228 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
12230         * po/ja.po: Update from translation team.
12232         [BZ #13144]
12233         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12234         kernel in 64-bit binaries.
12236 2011-09-01  David S. Miller  <davem@davemloft.net>
12238         * elf/elf.h (HWCAP_SPARC_*): Move to..
12239         * sysdeps/sparc/sysdep.h: this new file and add new values.
12240         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12241         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12242         _DL_HWCAP_COUNT to 24.
12243         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12244         entries.
12245         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12246         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12247         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12248         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12249         instead of magic constants.
12250         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12252 2011-08-31  David S. Miller  <davem@davemloft.net>
12254         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12256         Reimplement to do errno handling inline.
12257         (SYSCALL_ERROR_HANDLER): New macro.
12258         (__SYSCALL_STRING): Do not do errno handling in asm.
12259         (__CLONE_SYSCALL_STRING): Delete.
12260         (__INTERNAL_SYSCALL_STRING): Delete.
12261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12262         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12263         (PSEUDO): Reimplement to do errno handling inline.
12264         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12265         (SYSCALL_ERROR_HANDLER): New macro.
12266         (__SYSCALL_STRING): Do not do errno handling in asm.
12267         (__CLONE_SYSCALL_STRING): Delete.
12268         (__INTERNAL_SYSCALL_STRING): Delete.
12269         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12270         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12271         i386.
12272         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12273         (inline_syscall*): Add 'err' argument.
12274         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12275         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12276         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12277         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12279         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12280         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12282 2011-08-30  Andreas Schwab  <schwab@redhat.com>
12284         * elf/rtld.c (dl_main): Relocate objects in dependency order.
12286 2011-08-29  Jiri Olsa <jolsa@redhat.com>
12288         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12289         directive.
12291 2011-08-24  David S. Miller  <davem@davemloft.net>
12293         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12295 2011-08-24  Andreas Schwab  <schwab@redhat.com>
12297         * elf/Makefile: Add rules to build and run unload8 test.
12298         * elf/unload8.c: New file.
12299         * elf/unload8mod1.c: New file.
12300         * elf/unload8mod1x.c: New file.
12301         * elf/unload8mod2.c: New file.
12302         * elf/unload8mod3.c: New file.
12304         * elf/dl-close.c (_dl_close_worker): Reset private search list if
12305         it wasn't used.
12307 2011-08-23  David S. Miller  <davem@davemloft.net>
12309         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12310         subtract stack bias.
12311         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12312         %sp not %fp in calculations.
12313         (_JMPBUF_UNWINDS_ADJ): Likewise.
12315         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12316         (aio_suspend): Call it to force an exception region around the
12317         AIO_MISC_WAIT() invocation.
12319 2011-08-23  Andreas Schwab  <schwab@redhat.com>
12321         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12322         backslash.
12324 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
12326         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12327         protection macro.
12328         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12329         and <dl-machine.h>.
12330         (Elf64_FuncDesc): Remove.
12332 2011-08-22  David S. Miller  <davem@davemloft.net>
12334         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12335         sigaltstack check, add missing cfi directives.
12336         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12337         missing cfi directives, and sigaltstack handling.
12339 2011-08-16  Andreas Schwab  <schwab@redhat.com>
12341         [BZ #11724]
12342         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12343         object is seen twice.
12344         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12346         * elf/Makefile (distribute): Add tst-initorder2.c.
12347         (tests): Add tst-initorder2.
12348         (modules-names): Add tst-initorder2a tst-initorder2b
12349         tst-initorder2c tst-initorder2d.  Add rules to build them.
12350         ($(objpfx)tst-initorder2.out): New rule.
12351         * elf/tst-initorder2.c: New file.
12352         * elf/tst-initorder2.exp: New file.
12354 2011-08-22  Andreas Schwab  <schwab@redhat.com>
12356         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12358         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12359         dependencies back to end of function.
12361         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12362         $(elfobjdir)/ld.so.
12364 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
12366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12367         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12369         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12370         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12371         of __vdso_gettimeofday.
12372         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12373         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
12374         attribute_hidden.
12375         (_libc_vdso_platform_setup): Remove initialization of
12376         __vdso_gettimeofday and __vdso_time.
12378 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
12380         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12381         and fgetc_unlocked.
12382         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12383         getc_unlocked.
12385         * elf/dl-open.c (add_to_global): Report additions to the global scope
12386         for LD_DEBUG=scopes.
12387         (dl_open_worker): Also print scope of newly loaded dependencies.
12388         (_dl_show_scope): Indicate if there is no scope.
12390         [BZ #13114]
12391         * stdio-common/Makefile (tests): Add bug24.
12392         * stdio-common/bug24.c: New file.
12394 2011-08-19  Andreas Jaeger  <aj@suse.de>
12396         [BZ #13114]
12397         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12398         non-existant file when using close-on-exec mode.
12400 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
12402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12403         the very first instruction.
12405         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12406         the CFI state in the end.
12407         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12408         inclusion of dl-trampoline.h.
12409         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12411 2011-08-19  Andreas Schwab  <schwab@redhat.com>
12413         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12414         expectations for long double.
12416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12417         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12419 2011-08-14  David S. Miller  <davem@davemloft.net>
12421         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12422         artificual limit depends upon the system page size.
12424 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
12426         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12427         * resolv/Makefile: Define CFLAGS-libresolv.
12429 2011-08-17  Andreas Schwab  <schwab@redhat.com>
12431         * nss/makedb.c (compute_tables): Make variables used in nested
12432         function static.
12434 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
12436         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12437         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12438         if buffer was too small.
12440         * elf/pldd.c (main): Attach to all threads in the process.
12441         Rewrite /proc handling to use *at functions.
12443 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
12445         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12446         specifies first scope to show.
12447         (dl_open_worker): Update callers.  Move printing scope of new
12448         object to before the relocation.
12449         * elf/rtld.c (dl_main): Update _dl_show_scope call.
12450         * sysdeps/generic/ldsodefs.h: Update declaration.
12452         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12453         string for the scope number.
12455 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
12457         * nscd/servicescache.c (cache_addserv): Make sure written is always
12458         initialized.
12460 2011-08-14  Roland McGrath  <roland@hack.frob.com>
12462         * sysdeps/i386/i486/bits/atomic.h
12463         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12464         statement expression, so as to suppress "set but not used" warning.
12465         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12467         * string/strncat.c (STRNCAT): Use prototype definition.
12469         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12470         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12471         -Iprograms here.
12472         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12473         (localedef-modules): Add localedef.
12474         (locale-modules): Add locale.
12476         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12477         * elf/rtld.c (dl_main): Invert order of assignment in last change,
12478         to avoid a warning.
12480 2011-08-14  David S. Miller  <davem@davemloft.net>
12482         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12483         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12485 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
12487         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12488         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12489         * elf/rtld.c (dl_main): Set l_name of vDSO.
12490         Call _dl_show_scope when DL_DEBUG_SCOPES.
12491         (process_dl_debug): Recognize scopes flag and also set it for all.
12492         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12493         Declare _dl_show_scope.
12495         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12496         (do_dlopen): Pass caller_dlopen to dl_open.
12497         (__libc_dlopen_mode): Initialize caller_dlopen.
12499         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12500         of libc.  Make tolower call locale-independent.  Optimize a bit by
12501         using isdigit instead of isalnum.
12502         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12504 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
12506         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12507         was a dependency or dynamically loaded.
12509 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
12511         * intl/l10nflist.c: Allow architecture-specific pop function.
12512         * sysdeps/x86_64/l10nflist.c: New file.
12514         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12515         classification.
12517 2011-08-10  Andreas Schwab  <schwab@redhat.com>
12519         * include/dirent.h: Add libc_hidden_proto for scandirat and
12520         scandirat64.  Don't declare __scandirat64.
12521         * dirent/scandirat.c: Add libc_hidden_def.
12522         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12523         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12525 2011-08-10  David S. Miller  <davem@davemloft.net>
12527         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12528         enum.
12529         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12530         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12531         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12533 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
12535         * Versions.def [libc]: Add GLIBC_2.15.
12536         * dirent/Makefile (routines): Add scandirat and scandirat64.
12537         * dirent/Versions [libc]: Export scandirat and scandirat64 for
12538         GLIBC_2.15.
12539         * dirent/dirent.h: Declare scandirat and scandirat64.
12540         * dirent/scandirat.c: New file.
12541         * dirent/scandirat64.c: New file.
12542         * sysdeps/wordsize-64/scandirat.c: New file.
12543         * sysdeps/wordsize-64/scandirat64.c: New file.
12544         * dirent/opendir.c: Define opendirat.
12545         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
12546         using scandirat.
12547         * dirent/scandir64.c: Adjust for scandir.c change.
12548         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
12549         __scandirat64, and __scandir_cancel_handler.
12550         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
12551         additional parameter and use openat instead of open (outside of ld.so).
12552         Add new __opendir as wrapper around __opendirat.
12553         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12554         here without requiring old scandirat implementation.
12556 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
12558         * dirent/scandir.c (cancel_handler): Renamed to
12559         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
12560         defined.  Adjust users.
12561         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12562         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12564 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
12566         * string/test-string.h (IMPL): Use __STRING to expand name and then
12567         stringify it.
12569         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
12570         of cleanups.
12572 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12574         * string/Makefile: Update.
12575         (strop-tests): Append strncat.
12576         * string/test-wcscmp.c: New file.
12577         New comprehensive test for wcscmp.
12578         * string/test-strcmp.c: Update.
12579         (WIDE): New define.
12581 2011-07-22  Andreas Schwab  <schwab@redhat.com>
12583         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12584         line.
12586 2011-07-26  Andreas Schwab  <schwab@redhat.com>
12588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12589         encoding to ACE if AI_IDN.
12591 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
12593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12594         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12596 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12598         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12599         Fix overflow bug in strncat.
12600         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12602         * string/test-strncat.c: Update.
12603         Add new tests for checking overflow bugs.
12605 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12607         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12608         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12609         * sysdeps/i386/i686/multiarch/strcat.S: New file.
12610         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12611         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12612         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12613         * sysdeps/i386/i686/multiarch/strncat.S: New file.
12614         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12615         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12618         (USE_AS_STRCAT): Define.
12619         Add strcat and strncat support.
12620         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12622 2011-07-25  Andreas Schwab  <schwab@redhat.com>
12624         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12625         __n bigger than INT_MAX+1.
12626         (__strncmp_g): Likewise.
12628 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
12630         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12631         * libio/stido.h: Likewise.
12633         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12634         (AF_NFC): Define.
12635         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12636         (AF_NFC): Define.
12638         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12639         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12640         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12641         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12642         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12644         [BZ #13021]
12645         * scripts/test-installation.pl: Don't expect libnss_test1 to be
12646         installed.
12648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12649         typo.
12650         (_dl_x86_64_save_sse): Likewise.
12652 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
12654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12655         OSXSAVE.
12656         (_dl_x86_64_save_sse): Likewise.
12658         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12660         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12662 2011-07-21  Andreas Schwab  <schwab@redhat.com>
12664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12665         change.
12666         (_dl_x86_64_save_sse): Use correct AVX check.
12668 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12670         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12671         bug in strncpy/strncat.
12672         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12674 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
12676         * string/tester.c (test_strcat): Add tests for different alignments
12677         of source and destination.
12678         (test_strncat): Likewise.
12680 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
12682         [BZ #12852]
12683         * posix/glob.c (glob): Check passed in values before using them in
12684         expressions to avoid some overflows.
12685         (glob_in_dir): Likewise.
12687         [BZ #13007]
12688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12689         check for AVX enablement so that we don't crash with old kernels and
12690         new hardware.
12691         * elf/tst-audit4.c: Add same checks here.
12692         * elf/tst-audit6.c: Likewise.
12694         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12696 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
12698         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12700 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
12702         * po/cs.po: Update from translation team.
12703         * po/bg.po: Likewise.
12705 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
12707         * misc/sys/cdefs.h: Add support for const attribute.
12708         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12709         to gnu_dev_{major,minor,makedev} functions.
12711 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
12713         * intl/dcigettext.c (get_output_charset): Add missing bracket.
12715 2011-07-20  Andreas Schwab  <schwab@redhat.com>
12717         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12718         strlen results.
12720 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12723         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12724         register in order to avoid conflicts with the soft frame pointer
12725         being held in r11 when necessary.
12726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12727         (INTERNAL_VSYSCALL_NCS): Likewise.
12729 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
12731         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12732         * elf/dl-fini.c (_dl_fini): Adjust caller.
12733         * elf/dl-close.c (_dl_close_worker): Likewise.
12734         * sysdeps/generic/ldsodefs.h: Adjust declaration.
12736 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
12738         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12739         "aux_cache->nlibs < 0".
12741         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12742         in the reload-count case.
12744 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12747         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12748         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12749         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12750         * sysdeps/x86_64/multiarch/strcat.S: New file.
12751         * sysdeps/x86_64/multiarch/strncat.S: New file.
12752         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12753         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12754         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12755         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12757         (USE_AS_STRCAT): Define.
12758         Add strcat and strncat support.
12759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12760         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12761         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12762         * string/strncat.c: Update.
12763         (USE_AS_STRNCAT): Define.
12764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12765         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12766         and i7.
12767         * sysdeps/x86_64/multiarch/init-arch.h
12768         (bit_Prefer_PMINUB_for_stringop): New.
12769         (index_Prefer_PMINUB_for_stringop): Likewise.
12770         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12771         bit_Prefer_PMINUB_for_stringop.
12773 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
12775         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12776         buffer64.
12777         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12778         of casting of buffer.
12779         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12780         buffer32 and buffer64.
12781         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12782         writes instead of casting of buffer.
12783         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12784         buffer32.
12785         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12786         casting of buffer.
12788 2011-07-19  Andreas Schwab  <schwab@redhat.com>
12790         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12792 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
12794         * nscd/nscd.c (termination_handler): Don't do anything for a database
12795         if it has not yet been initialized.
12797 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
12799         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12801 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
12803         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12805 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
12807         * po/nl.po: Update from translation team.
12808         * po/sv.po: Likewise.
12810 2011-07-16  Roland McGrath  <roland@hack.frob.com>
12812         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12813         now disallowed by GCC.
12815         * configure.in (use-default-link): Default to yes if a test -shared
12816         link meets our qualifications.
12817         * configure: Regenerated.
12819         * config.make.in (output-format): New variable.
12820         * configure.in: Check for ld --print-output-format support.
12821         * configure: Regenerated.
12822         * Makerules ($(common-objpfx)format.lds)
12823         [$(output-format) != unknown]: Just use $(output-format),
12824         instead of the linker-script munging.
12826 2011-07-14  Roland McGrath  <roland@hack.frob.com>
12828         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12829         of $(common-objpfx)shlib.lds.
12830         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12832         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12833         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12835         * configure.in (-z relro check): Adjust test code to add a large
12836         writable data section after it.
12837         * configure: Regenerated.
12839 2011-07-11  Roland McGrath  <roland@hack.frob.com>
12841         * configure.in (-z relro check): Fix test code to make the variable
12842         truly const.
12843         * configure: Regenerated.
12845 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
12847         * nscd/nscd.h (struct traced_file): Define.
12848         (struct database_dyn): Remove inotify_descr, reset_res, and filename
12849         elements.  Add traced_files.
12850         (inotify_fd): Declare.
12851         (register_traced_file): Declare.
12852         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12853         (inotify_fd): Export.
12854         (resolv_conf_descr): Remove.
12855         (nscd_init): Move inotify descriptor creation to main.
12856         Don't register files for notification here.
12857         (register_traced_file): New function.
12858         (invalidate_cache): Don't use reset_res to determine whether to call
12859         res_init, go through the list of registered files.
12860         (main_loop_poll): The inotify descriptors are now stored in the
12861         structures for the traced files.
12862         (main_loop_epoll): Likewise
12863         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
12864         to __nss_disable_nscd.
12865         * nscd/cache.c (prune_cache): There is no single inotify descriptor
12866         for a database anymore.  Check the records for all the registered
12867         files instead.
12868         * nss/Makefile (libnss_files-routines): Add files-init.
12869         (libnss_db-routines): Add db-init.
12870         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12871         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12872         * nss/nss_db/db-init.c: New file.
12873         * nss/nss_files/files-init.c: New file.
12874         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
12875         __nss_lookup_function.
12876         (__nss_lookup_function): Call nss_load_library.
12877         (nss_load_all_libraries): New function.
12878         (__nss_disable_nscd): Take parameter with callback function for files
12879         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
12880         used for the cached services.
12881         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12882         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12883         options for features to all the files in nscd.
12885         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12887 2011-07-10  Roland McGrath  <roland@hack.frob.com>
12889         * csu/elf-init.c (__libc_csu_init): Comment typo.
12891 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
12893         * po/pl.po: Update from translation team.
12894         * po/ja.po: Likewise.
12895         * po/ru.po: Likewise.
12896         * po/ko.po: Likewise.
12897         * po/fr.po: Likewise.
12899 2011-07-09  Roland McGrath  <roland@hack.frob.com>
12901         * configure.in (.ctors/.dtors header and trailer check):
12902         Use an empirical test on a built program.
12903         * configure: Regenerated.
12905         * configure.in (-z relro check): Use an empirical test on a built DSO.
12906         Detect, but do not require, on ia64.
12907         * configure: Regenerated.
12909         * configure.in (READELF): Find it with AC_CHECK_TOOL.
12910         Update tests that use readelf to use $READELF instead.
12911         * configure: Regenerated.
12913 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
12915         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12916         if the result is not used.
12918 2011-07-05  Andreas Jaeger  <aj@suse.de>
12920         [BZ#9696]
12921         * stdlib/tst-strtod.c: Add testcase.
12923 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
12925         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12926         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12927         The latter has a higher limit.  Take additional parameter to pass to
12928         the new function.
12929         (__pathconf): Pass file to __statfs_link_max.
12930         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12931         __statfs_link_max.
12932         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12933         __statfs_link_max.
12935         [BZ #12868]
12936         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12937         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12938         Handle Lustre.
12939         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12940         (__statfs_filesize_max): Likewise.
12941         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12943 2011-07-05  Andreas Jaeger  <aj@suse.de>
12945         * resolv/res_comp.c (dn_skipname): Remove unused variable.
12947 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
12949         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12950         `status' variable.
12951         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12952         Likewise.
12954 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12956         * Makefile (strop-tests): Add strncat.
12957         * string/test-strncat.c: New file.
12959 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
12961         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12963 2011-06-21  Andreas Jaeger  <aj@suse.de>
12965         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12966         Copy rule from iconvdata/Makefile.
12968 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
12970         [BZ #12922]
12971         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12972         but no long options are defined, just return 'W'.
12974 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
12976         [BZ #9696]
12977         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12979 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
12981         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12982         netgroups to read.
12983         (innetgr): Likewise.
12985 2011-07-05  Roland McGrath  <roland@hack.frob.com>
12987         * config.make.in (install_root): Default to $(DESTDIR).
12989 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
12991         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12993 2011-07-02  Roland McGrath  <roland@hack.frob.com>
12995         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12997         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12998         containing directory rather than embedding absolute directory names.
13000         * scripts/check-local-headers.sh: Rewritten using awk.
13001         Match by word, not by line.  Print error messages for matches.
13002         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13004         * Makerules [shlib-lds-flags empty]:
13005         ($(common-objpfx)libc_pic.opts): New target.
13006         ($(common-objpfx)libc_pic.os.clean): New target.
13007         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13009         * config.make.in (OBJCOPY): New variable.
13010         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13011         * configure: Regenerated.
13013         * config.make.in (use-default-link): New variable.
13014         * configure.in (use_default_link): Grok --with-default-link to set it.
13015         * configure: Regenerated.
13016         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13017         (shlib-lds, shlib-lds-flags): Define to empty.
13019         * Makerules (shlib-lds): New variable.
13020         (shlib-lds-flags): New variable.
13021         (build-shlib, build-moduile, build-module-asneeded): Use it.
13022         ($(common-objpfx)libc.so): Use $(shlib-lds).
13023         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13024         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13026         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13027         DT_FLAGS/DT_FLAGS_1 with zero flags.
13029         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13030         linker script munging.
13032 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
13034         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13035         as 128-bit value.
13036         * crypt/sha512.c (sha512_process_block): Perform total addition using
13037         128-bit if possible.
13038         (__sha512_finish_ctx): Likewise.
13039         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13040         as 64-bit value.
13041         * crypt/sha256.c (SWAP64): Define.
13042         (sha256_process_block): Perform total addition using 64-bit if
13043         possible.
13044         (__sha256_finish_ctx): Likewise.
13046 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
13048         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
13049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13050         * nscd/hstcache.c (cache_addhst): Likewise.
13051         * nscd/grpcache.c (cache_addgr): Likewise.
13052         * nscd/aicache.c (addhstaiX): Likewise
13053         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13055 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
13057         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13058         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13059         * nscd/hstcache.c (cache_addhst): Likewise.
13060         * nscd/grpcache.c (cache_addgr): Likewise.
13061         * nscd/aicache.c (addhstaiX): Likewise
13063 2011-07-01  Andreas Schwab  <schwab@redhat.com>
13065         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13066         domain only when needed.
13068 2011-06-30  Andreas Schwab  <schwab@redhat.com>
13070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13071         is always restored.
13073 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
13075         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13076         are re-adding the entry.
13077         * nscd/servicescache.c (cache_addserv): Likewise.
13079 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13081         * sysdeps/generic/dl-irel.h: fix protection against multiple
13082         inclusions.
13083         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13085 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
13087         [BZ #12935]
13088         * malloc/memusage.sh: Fix quoting in message.
13089         * debug/xtrace.sh: Likewise.
13091         * configure.in: Remove support for --experimental-malloc option, make
13092         it the default.
13093         * config.make.in: Likewise.
13094         * malloc/Makefile: Likewise.
13096 2011-06-27  Andreas Schwab  <schwab@redhat.com>
13098         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13099         two-byte characters.
13101 2011-06-27  Roland McGrath  <roland@hack.frob.com>
13103         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13104         AC_CACHE_CHECK invocation.
13105         * configure: Regenerated.
13107         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13109 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
13111         [BZ #12350]
13112         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
13113         bit from old_res_options.
13115         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13117         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13118         value type for setfct.
13120 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
13122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13123         __gettimeofday instead of gettimeofday.
13125 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
13127         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13129 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13133         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13134         info.
13136 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13139         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13140         strcpy-sse2-unaligned strncpy-sse2-unaligned
13141         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13142         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13143         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13144         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13145         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13147         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13148         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13149         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13150         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13151         (STRCPY): Support SSE2 and SSSE3 versions.
13153 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
13155         [BZ #12874]
13156         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13157         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13158         kernels which artificially limit size of requests.
13160 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
13162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13163         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13164         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13165         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13166         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13167         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13168         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13169         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13170         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13171         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13172         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13173         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13174         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13175         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13176         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13178         Enable unaligned load optimization for Intel Core i3, i5 and i7
13179         processors.
13180         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13181         Define.
13182         (index_Fast_Unaligned_Load): Define.
13183         (HAS_FAST_UNALIGNED_LOAD): Define.
13185 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
13187         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13189 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13191         [BZ #12907]
13192         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13193         until it is clear that the information is realy needed.
13194         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13196 2011-06-22  Andreas Schwab  <schwab@redhat.com>
13198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13200 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
13202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13203         /sys/devices/system/cpu/online if it is usable.
13205         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13206         reading the information from the /proc filesystem to once a second.
13208 2011-06-21  Andreas Jaeger  <aj@suse.de>
13210         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13211         NULL after inclusion of kernel headers.
13213 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
13215         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13216         calls to internal_setent.
13218         [BZ #12885]
13219         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13220         addresses using gethostbyname4_r ignore IPv4 addresses.
13222         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13223         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
13225         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13227 2011-06-20  David S. Miller  <davem@davemloft.net>
13229         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13230         inclusions.
13231         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13233         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13234         (elf_irel): Use it.
13235         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13236         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13237         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13238         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13239         * sysdeps/x86_64/dl-irel.h: Likewise.
13241         * elf/dl-runtime.c: Use elf_ifunc_invoke.
13242         * elf/dl-sym.c: Likewise.
13244 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13246         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
13247         need to dereference resplen2.
13249 2011-06-14  Andreas Schwab  <schwab@redhat.com>
13251         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13253 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
13255         * Makeconfig: Define vardbdir and inst_vardbdir.
13256         * nss/Makefile: Add rules to install db-Makefile.
13258         * nss/nss_db/db-XXX.c: Cleanup.
13260         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13261         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13262         GLIBC_PRIVATE.
13263         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13264         * nss/makedb.c: Implement -g option to specify that value strings
13265         are generated and should not be added to table iterated over for
13266         get*ent calls.
13267         * nss/nss_db/db-initgroups.c: New file.
13269         * nss/getent.c: Add support for initgroups lookups through getgrouplist
13270         interface.
13272         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13273         (internal_getgrouplist): Adjust to name change.
13274         Update use_initgroups_entry if this is not the first call.
13275         * nss/databases.def: Add initgroups entry.
13277         * nss/makedb.c (compute_tables): Check result of multiple hash table
13278         sizes to minimize maximum chain length.
13280 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
13282         * Versions.def: Add entry for libnss_db.
13283         * shlib-versions: Likewise.
13284         * nss/Makefile: Add rules to build libnss_db.
13285         * nss/Versions: Add libnss_db information.  Organize libnss_files
13286         entries better.
13287         * nss/db-Makefile: Add gshadow support.  Change rules for the new
13288         makedb progra.  Some minor improvements to generate smaller files.
13289         * nss/nss_db/nss_db.h: Move NSS database header data structures to
13290         here from...
13291         * nss/makedb.c: ...here.
13292         Improve database format to be smaller and require less memory at
13293         runtime.
13294         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
13295         db anymore.
13296         * nss/nss_db/db-netgrp.c: Likewise.
13297         * nss/nss_db/db-open.c: Likewise.
13298         * nss/nss_files/flies-XXX.x: Adjust comments.
13299         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13300         * nss/nss_files/files-grp.c: Likewise.
13301         * nss/nss_files/files-hosts.c: Likewise.
13302         * nss/nss_files/files-network.c: Likewise.
13303         * nss/nss_files/files-proto.c: Likewise.
13304         * nss/nss_files/files-pwd.c: Likewise.
13305         * nss/nss_files/files-rpc.c: Likewise.
13306         * nss/nss_files/files-service.c: Likewise.
13307         * nss/nss_files/files-sgrp.c: Likewise.
13308         * nss/nss_files/files-spwd.c: Likewise.
13309         * nss/nss_db/db-alias.c: Removed.
13310         * nss/nss_db/dummy-db.h: Removed.
13312 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
13314         * nss/makedb.c: Rewritten to not use database library.
13315         * nss/Makefile: Update to build new makedb program.
13317 2011-06-14  Andreas Jaeger  <aj@suse.de>
13319         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13320         memset declaration.
13322 2011-06-10  Andreas Schwab  <schwab@redhat.com>
13324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13325         tmpbuf.
13327 2011-06-10  Roland McGrath  <roland@hack.frob.com>
13329         * Makerules (shlib.lds): Fail if the linker script comes out empty.
13330         * elf/Makefile ($(objpfx)ld.so): Likewise.
13332         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13333         Don't list ld.so twice in dependencies.
13335         * posix/bug-regex31.c: Include <stdlib.h>.
13337         * nscd/hstcache.c (cache_addhst): Remove unused variable.
13339         * nis/nss_compat/compat-spwd.c
13340         (getspent_next_nss_netgr): Remove unused variable.
13341         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13343         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13344         nonmembers" output to use the right array.
13346         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13348         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13350         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13351         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13352         * catgets/gencat.c (read_input_file): Likewise.
13353         * locale/programs/locarchive.c (enlarge_archive): Likewise.
13355         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13356         variable definition inside #if's controlling its use.
13358         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13360         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13362         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13364         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13365         unreachable code.
13367         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13369         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13370         * configure: Regenerated.
13372         * Makerules: Revert last change.
13373         * elf/Makefile: Likewise.
13375 2011-06-09  Roland McGrath  <roland@hack.frob.com>
13377         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13378         * elf/Makefile ($(objpfx)librtld.os): Likewise.
13379         (reloc-link): Likewise.
13381 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
13383         * elf/Makefile: Add rules to build pldd.
13384         * elf/pldd.c: New file.
13385         * elf/pldd-xx.c: New file.
13387 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
13389         * version.h: Update for 2.15 development version.
13391 2011-06-07  David S. Miller  <davem@davemloft.net>
13393         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13394         ifuncs.
13395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13396         elf_machine_lazy_rel): Likewise.
13397         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13398         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13399         elf_machine_lazy_rel): Likewise.
13400         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13401         dl_hwcap via passed in argument.
13402         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13403         Likewise.
13405 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13407         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
13409 2011-06-06  Roland McGrath  <roland@hack.frob.com>
13411         [BZ #12849]
13412         * manual/fdl-1.1.texi: New file, verbatim from:
13413         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13414         * manual/lgpl-2.1.texi: New file, verbatim from:
13415         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13416         * manual/Makefile (licenses): New variable, list those new file names.
13417         (texis): Use it.
13418         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13420         * manual/fdl.texi: File removed.
13421         * manual/lesser.texi: File removed.
13422         * manual/libc.texinfo (Copying, Documentation License):
13423         Use new @include file names, put @appendix directive before @include.
13425 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
13427         [BZ #12841]
13428         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13429         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13430         (mq_open): Add __NTH.
13432 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
13434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13435         Assume Intel Core i3/i5/i7 processor if AVX is available.
13437 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13440         typo.
13442 2011-05-31  Andreas Schwab  <schwab@redhat.com>
13444         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13445         memory.  Use alloca_account.  Fix memory leak when retrying.
13447 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13449         * version.h (RELEASE): Bump for 2.14 release.
13450         * include/features.h (__GLIBC_MINOR__): Bump to 14.
13452         * config.make.in (RANLIB): Remove entry.
13454 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
13456         * po/Makefile (po-sed-cmd): Add ksh to extensions.
13457         (libc.pot): Work around missing support for .ksh extension in xgettext.
13459         [BZ #12684]
13460         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13461         if both request failed.
13462         (send_dg): In case of server errors clear resplen or *resplen2.
13464         [BZ #12454]
13465         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13466         when there are multiple maps.
13467         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13468         (_dl_fini): Remove test here.
13470         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13472 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
13474         [BZ #12350]
13475         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13476         bit from old_res_options.
13477         (gaih_inet): Likewise.
13479         [BZ #11099]
13480         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13481         as signed.
13483         * resolv/res_init.c (res_setoptions): Make the code more compact.
13485         [BZ #11558]
13486         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13487         set RES_USEVC.
13489         [BZ #11634]
13490         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13492         * malloc/malloc.h: Mark malloc hook variables as deprecated.
13494         [BZ #11781]
13495         * malloc/malloc.h: Declare malloc hook variables as volatile.
13497         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13498         in last patch.
13500         [BZ #11799]
13501         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13502         raise in the comment.
13503         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13504         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13505         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13507 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
13509         [BZ #12811]
13510         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13511         grow the buffers more if it already has to be sufficient.
13512         (build_wcs_upper_buffer): Likewise.
13513         * posix/regexec.c (check_matching): Likewise.
13514         (clean_state_log_if_needed): Likewise.
13515         (extend_buffers): Don't enlarge buffers beyond size of the input
13516         buffer.
13517         Patches mostly by Emil Wojak <emil@wojak.eu>.
13518         * posix/bug-regex32.c: New file.
13519         * posix/Makefile (tests): Add bug-regex32.
13521         * locale/findlocale.c (_nl_find_locale): Return right away if
13522         _nl_explode_name failed.
13523         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13525         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13527         * debug/xtrace.sh: Unify messages.
13528         * malloc/memusage.sh: Likewise.
13530         [BZ #12813]
13531         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13532         time symbol from vDSO.  Substitute with vsyscall if not available.
13533         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13534         __vdso_time.
13536         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13537         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13538         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13539         Add sendmmsg and internal_sendmmsg.
13540         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13541         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13542         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13544         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13545         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13546         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13548 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
13550         [BZ #12813]
13551         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13552         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
13553         available.
13554         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13555         __vdso_getcpu.
13557         [BZ #12814]
13558         * iconvdata/Makefile (tests): Add bug-iconv9.
13559         * iconvdata/bug-iconv9.c: New file.
13561 2011-05-27  Andreas Schwab  <schwab@redhat.com>
13563         [BZ #12814]
13564         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13566 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
13568         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13569         (struct user_regs_struct): Change intcs field back to cs.
13571 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
13573         * po/ja.po: Update from translation team.
13575 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
13577         [BZ #12795]
13578         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13579         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13581 2011-05-20  Andreas Schwab  <schwab@redhat.com>
13583         * stdlib/longlong.h: Update from GCC.
13585 2011-05-23  Andreas Schwab  <schwab@redhat.com>
13587         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13588         parameter name.
13589         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13590         Add parameter name.
13591         (__sysconf): Pass it down.
13593 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
13595         [BZ #12671]
13596         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13597         some situations.
13598         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13599         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13600         add in in __libc_use_alloca calls.  Adjust callers.
13601         (glob): Use malloc in some situations.
13603         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13604         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13605         pltexit.
13607 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
13609         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13610         and CLOCK_BOOTTIME_ALARM.
13612         [BZ #12782]
13613         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13614         is returned.
13616         * string/_strerror.c (__strerror_r): Print negative errors as signed
13617         numbers.
13619         [BZ #12777]
13620         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13621         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13622         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13624         * configure.in: Fix typo in redirection and correct removal of test
13625         files in two cases.
13627         [BZ #12788]
13628         * locale/setlocale.c (new_composite_name): Fix test to check for
13629         identical name of all categories.
13631         [BZ #12792]
13632         * libio/filedoalloc.c (local_isatty): New function.
13633         (_IO_file_doallocate): Use local_isatty.
13634         * stdio-common/perror.c (perror): In case a new stream is used
13635         forward the stream error.
13636         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13637         error flag.
13639 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
13641         [BZ #11869]
13642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13643         alloca.
13644         * include/alloca.h (extend_alloca_account): Define.
13646         [BZ #11857]
13647         * posix/regex.h: Fix comments with documentation of user-accessible
13648         fields after compilation and describe correct free'ing of pattern
13649         after re_compile_pattern.
13650         Patch by Reuben Thomas <rrt@sc3d.org>.
13652 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
13654         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13655         and -mno-altivec to prevent the compiler from using Altivec and/or
13656         VSX instructions when the corresponding registers are not available.
13658 2011-05-19  Andreas Schwab  <schwab@redhat.com>
13660         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13662 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
13664         * libio/freopen.c (freopen): Use __dup2, not dup2.
13665         * libio/freopen64.c (freopen64): Likewise.
13667 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13669         [BZ #12775]
13670         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13671         * math/Makefile (tests): Add test-powl.
13672         (CFLAGS-test-powl.c): Define.
13673         * math/test-powl.c: New file.
13675 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13677         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13679 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
13681         [BZ #11837]
13682         * iconvdata/gb18030.c: Update to GB18020-2005.
13684 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
13686         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13687         RE_SYNTAX_POSIX_AWK): Update to match recent development.
13688         Patch by Aharon Robbins <arnold@skeeve.com>.
13690         [BZ #11892]
13691         * stdlib/putenv.c (putenv): Don't always create copy of the variable
13692         on the stack.
13694         [BZ #11895]
13695         * misc/pselect.c (__pselect): Handle timeout value errors hidden
13696         through underflows.
13698         [BZ #12766]
13699         * misc/error.c (error_at_line): Ensure file_name and old_file_name
13700         point to strings before performing equality test for error_one_per_line
13701         mode.
13703         [BZ #11697]
13704         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13706         [BZ #11820]
13707         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13708         (struct user_fpregs_struct): Avoid __uint*_t types.
13710         [BZ #6420]
13711         * malloc/mtrace.c (tr_where): Add additional parameter to point to
13712         symbol info.  Use it instead of calling _dl_addr locally.
13713         (lock_and_info): New function.
13714         (tr_freehook): Call lock_and_info and pass symbol info as additional
13715         parameter to tr_where.
13716         (tr_mallochook): Likewise.
13717         (tr_reallochook): Likewise.
13718         (tr_memalignhook): Likewise.
13720         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
13721         used and couldn't be at all thread-safe.
13723 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
13725         * libio/freopen.c (freopen): Don't close old file descriptor
13726         before the new one is opened.  Instead dup the new file descriptor
13727         to the old one after the new stream is created.
13728         * libio/freopen64.c (freopen64): Likewise.
13729         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13730         * libio/fileops.c (_IO_new_file_close_it): Handle new
13731         _IO_FLAGS2_NOCLOSE flag.
13732         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13733         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13734         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13735         _IO_FLAGS2_NOCLOSE flag.
13736         * include/unistd.h: Add hidden_proto for dup3.
13737         Define __have_dup3.
13738         * io/dup3.c: Define hidden symbol.
13739         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13741         [BZ #7101]
13742         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13743         when an incomplete long option is used.
13744         * posix/tst-getopt_long1.c: New file.
13745         * posix/Makefile (tests): Add tst-getopt_long1.
13747         [BZ #10138]
13748         * scripts/config.guess: Update from autoconf-2.68.
13749         * scripts/config.sub: Likewise.
13751         [BZ #10157]
13752         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13753         tests into ...
13754         (has_cpuclock): ...this.  New function.
13755         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13756         macro here based on has_cpuclock code.
13758         [BZ #10149]
13759         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13760         First byte (not low byte) is now always NUL.
13761         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13764         Use non-cancelable interfaces.
13766         [BZ #9809]
13767         * locale/iso-639.def: Add entry for Sorani.
13769         [BZ #11901]
13770         * include/stdlib.h: Move include protection to the right place.
13771         Define abort_msg_s.  Declare __abort_msg with it.
13772         * stdlib/abort.c (__abort_msg): Adjust type.
13773         * assert/assert.c (__assert_fail_base): New function.  Majority
13774         of code from __assert_fail.  Allocate memory for __abort_msg with
13775         mmap.
13776         (__assert_fail): Now call __assert_fail_base.
13777         * assert/assert-perr.c: Remove bulk of implementation.  Use
13778         __assert_fail_base.
13779         * include/assert.hL Declare __assert_fail_base.
13780         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13781         mmap.
13782         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13784 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
13786         [BZ #11952]
13787         [BZ #12453]
13788         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13789         until all modules are registered in the DTV.
13790         * elf/Makefile: Add rules to build and run tst-tls19.
13791         * elf/tst-tls19.c: New file.
13792         * elf/tst-tls19mod1.c: New file.
13793         * elf/tst-tls19mod2.c: New file.
13794         * elf/tst-tls19mod3.c: New file.
13795         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13797         [BZ #12083]
13798         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13799         correctly.
13801         [BZ #12601]
13802         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13803         two-byte sequence errors.
13804         * iconvdata/Makefile (tests): Add bug-iconv8.
13805         * iconvdata/bug-iconv8.c: New file.
13807         [BZ #12626]
13808         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13809         buf2 definition.
13811         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13813         [BZ #12432]
13814         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13815         (dummy_getcfa): New function.
13816         (init): Get _Unwind_GetCFA address, use dummy if not found.
13817         (backtrace_helper): In recursion check, also check whether CFA changes.
13818         (__backtrace): Completely initialize arg.
13820         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13821         storing incomplete byte sequence in state object.  Avoid testing for
13822         guaranteed too small input if we know there is enough data available.
13824 2011-05-11  Andreas Schwab  <schwab@redhat.com>
13826         * Makeconfig (+link-pie): Indent.
13827         * Rules (binaries-pie): Define if $(have-fpie) and
13828         $(build-shared).
13829         (binaries-shared): Also filter out $(binaries-pie).
13830         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13831         * nscd/Makefile (others-pie): Add nscd.
13832         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13833         ($(objpfx)nscd): Remove command override.
13834         * login/Makefile (others-pie): Add pt_chown.
13835         ($(objpfx)pt_chown): Remove command override.
13836         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13837         remove command overrides.
13839 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
13841         * libio/tst_putwc.c: Fix error messages.
13843         [BZ #12724]
13844         * libio/fileops.c (_IO_new_file_close_it): Always flush when
13845         currently writing and seek to current position when not.
13846         * libio/Makefile (tests): Add bug-fclose1.
13847         * libio/bug-fclose1.c: New file.
13849 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
13851         [BZ #12511]
13852         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13853         don't set DF_1_NODELETE here.
13854         (do_lookup_x): When entering new entry test for copy relocation
13855         and if necessary set DF_1_NODELETE flag.
13856         * elf/tst-unique4.cc: New file.
13857         * elf/tst-unique4.h: New file.
13858         * elf/tst-unique4lib.cc: New file.
13859         * elf/Makefile: Add rules to build and run tst-unique4.
13860         Patch by Piotr Bury <pbury@goahead.com>.
13862 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
13864         [BZ #12052]
13865         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13867         [BZ #12625]
13868         * misc/mntent_r.c (addmntent): Flush the stream after the output
13870         [BZ #12393]
13871         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13872         (is_trusted_path_normalize): Skip initial colon.  Append slash
13873         to empty buffer.  Duplicate is_trusted_path code but allow
13874         constructed patch to be prefix.
13875         (is_dst): Allow $ORIGIN followed by /.
13876         (_dl_dst_substitute): Correct clearing of check_for_trusted.
13877         Correct testing of result of is_trusted_path_normalize
13878         (decompose_rpath): Fix warning.
13880 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
13882         [BZ #11257]
13883         * grp/initgroups.c (internal_getgrouplist): When we found the service
13884         list through the initgroups entry in nsswitch.conf do not always
13885         continue on a successful lookup.  Don't always use the
13886         __nss_group_database value if it is set.
13887         * nss/nsswitch.conf (initgroups): Change action for successful db
13888         lookup to continue for compatibility.
13890 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
13892         [BZ #11532]
13893         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13894         and CP774 modules.
13895         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13896         and CP774 modules.
13897         * iconvdata/tst-tables.sh: Likewise.
13898         * iconvdata/cp770.c: New file.
13899         * iconvdata/cp771.c: New file.
13900         * iconvdata/cp772.c: New file.
13901         * iconvdata/cp773.c: New file.
13902         * iconvdata/cp774.c: New file.
13903         * iconvdata/testdata/CP770: New file.
13904         * iconvdata/testdata/CP770..UTF8: New file.
13905         * iconvdata/testdata/CP771: New file.
13906         * iconvdata/testdata/CP771..UTF8: New file.
13907         * iconvdata/testdata/CP772: New file.
13908         * iconvdata/testdata/CP772..UTF8: New file.
13909         * iconvdata/testdata/CP773: New file.
13910         * iconvdata/testdata/CP773..UTF8: New file.
13911         * iconvdata/testdata/CP774: New file.
13912         * iconvdata/testdata/CP774..UTF8: New file.
13914         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13915         END CHARMAP line.
13916         * iconvdata/gen-8bit-gap.sh: Likewise.
13917         * iconvdata/gen-8bit.sh: Likewise.
13919         * locale/iso-639.def: Add ary entry.
13921         [BZ #11258]
13922         * locale/C-translit.h.in: Add U20A1 transliteration.
13924         [BZ #12178]
13925         * locale/iso-639.def: Add wae entry.
13926         Patch by Kevin Bortis <bortis@translate-wae.ch>.
13928         [BZ #12545]
13929         * locale/programs/localedef.c (construct_output_path): Use ssize_t
13930         for n.
13932         [BZ #12711]
13933         * locale/C-translit.h.in: Add entry for U20B9.
13934         Patch by pravin.d.s@gmail.com.
13936 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
13938         [BZ #12713]
13939         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13940         ENAMETOOLONG use generic getcwd.
13941         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
13942         in rtld.  Use *stat64.
13943         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13944         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13945         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13946         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13947         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13948         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13949         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13950         __fstatat64 macros.
13951         * include/dirent.h: Add libc_hidden_proto for rewinddir.
13952         * dirent/rewinddir.c: Add libc_hidden_def.
13953         * sysdeps/mach/hurd/rewinddir.c: Likewise.
13954         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
13956         * include/dirent.h (__alloc_dir): Add flags parameter.
13957         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13958         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13959         __alloc_dir.
13960         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
13961         from fdopendir if O_CLOEXEC is already set.
13963 2011-03-15  Alan Modra  <amodra@gmail.com>
13965         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13966         l_tls_firstbyte_offset non-zero.  Save padding offset in
13967         l_tls_firstbyte_offset for later use.
13968         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13969         freeing static tls block.
13971 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
13973         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13974         where #ifdef was intended.  The intent is to prevent ARG_MAX from
13975         being defined by the kernel headers.
13977 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
13979         [BZ #12734]
13980         * resolv/resolv.h: Define RES_NOTLDQUERY.
13981         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13982         no-tld-query and set RES_NOTLDQUERY.
13983         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13984         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13985         modern BIND to search name as TLD unless forbidden.
13987 2011-05-07  Petr Baudis  <pasky@suse.cz>
13988             Ulrich Drepper  <drepper@gmail.com>
13990         [BZ #12393]
13991         * elf/dl-load.c (fillin_rpath): Move trusted path check...
13992         (is_trusted_path): ...to here.
13993         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13994         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13995         using is_trusted_path_normalize() in setuid scripts.
13997 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13999         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14000         __BEGIN/__END_DECLS.
14002 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
14004         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14005         NSS_STATUS_NOTFOUND if no record was found.
14007 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14009         * sunrpc/Makefile (headers): Add rpc/netdb.h.
14010         (headers-not-in-tirpc): Remove rpc/netdb.h
14011         * resolv/netdb.h: Revert last change.
14013 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14015         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14016         circular dependency between libgcc.a and libc.a.
14018 2011-05-05  Andreas Schwab  <schwab@redhat.com>
14020         * resolv/netdb.h: Don't include <rpc/netdb.h>.
14021         * nis/Makefile: Don't install rpcsvc/*.
14022         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14023         instead of <rpc/types.h>.
14024         (MAXHOSTNAMELEN): Define.
14026 2011-05-03  Andreas Schwab  <schwab@redhat.com>
14028         * elf/ldconfig.c (add_dir): Don't crash on empty path.
14030 2011-04-28  Maciej Babinski  <mbabinski@google.com>
14032         [BZ #12714]
14033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14034         gethostbyname4_r when IPv6 results are possible.
14036 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
14038         [BZ #12723]
14039         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14040         _PC_PIPE_BUF handling.
14042 2011-04-30  Bruno Haible  <bruno@clisp.org>
14044         [BZ #12717]
14045         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14046         * resolv/netdb.h (getnameinfo): Change type of flags parameter
14047         to 'int'.
14048         * inet/getnameinfo.c (getnameinfo): Likewise.
14050 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
14052         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14053         to groups setting in database lookup.
14054         * nss/nsswitch.conf: Add initgroups entry.
14056 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
14058         [BZ #12685]
14059         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14060         mode string.
14061         Patch by Eric Blake <eblake@redhat.com>.
14063 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
14065         * sunrpc/Makefile (need-export-routines): Add svc_run.
14066         (routines): Remove svc_run.
14067         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14068         * sunrpc/clnt_perr.c (clnt_perrno): Export.
14069         * sunrpc/svc_run.c (svc_run): Likewise.
14070         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14072 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
14074         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14075         problem in reallocation in last patch.
14077 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
14079         * sunrpc/Makefile: Move inclusion of Rules.
14081 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14083         * nss/nss_files/files-initgroups.c: New file.
14084         * nss/Makefile (libnss_files-routines): Add files-initgroups.
14085         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14086         _nss_files_initgroups_dyn.
14088 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
14090         * elf/elf.h (R_ARM_IRELATIVE): Define.
14092 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
14094         * po/ru.po: Update from translation team.
14096 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14098         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14099         dependencies.
14101 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
14103         [BZ #12653]
14104         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14105         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14108         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14110 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
14112         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14113         differing bytes.
14114         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14115         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14118 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
14120         [BZ #12420]
14121         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14122         storing it.
14123         * stdlib/bug-getcontext.c: New file.
14124         * stdlib/Makefile: Add rules to build and run bug-getcontext.
14126 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14128         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14129         instructions into .machine "z9-109".
14130         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14131         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14133 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14135         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14136         between environment variables and auxiliary vector.
14138 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
14140         * Makefile: Add rules to build linkobj/libc.so.
14141         * include/libc-symbols.h: Define libc_hidden_nolink.
14142         * include/rpc/auth.h: Mark functions which are to be hidden.
14143         * include/rpc/auth_des.h: Likewise.
14144         * include/rpc/auth_unix.h: Likewise.
14145         * include/rpc/clnt.h: Likewise.
14146         * include/rpc/des_crypt.h: Likewise.
14147         * include/rpc/key_prot.h: Likewise.
14148         * include/rpc/pmap_clnt.h: Likewise.
14149         * include/rpc/pmap_prot.h: Likewise.
14150         * include/rpc/pmap_rmt.h: Likewise.
14151         * include/rpc/rpc_msg.h: Likewise.
14152         * include/rpc/svc.h: Likewise.
14153         * include/rpc/svc_auth.h: Likewise.
14154         * include/rpc/xdr.h: Likewise.
14155         * nis/Makefile: Link all DSOs against linkobj/libc.so.
14156         * nss/Makefile: Likewise.
14157         * sunrpc/Makefile: Don't install headers.  Build library with normal
14158         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
14159         * sunrpc/auth_des.c: Hide exported symbols by default, export some
14160         for the compat linking library.  Remove use of INTDEF/INTUSE.
14161         * sunrpc/auth_none.c: Likewise.
14162         * sunrpc/auth_unix.c: Likewise.
14163         * sunrpc/authdes_prot.c: Likewise.
14164         * sunrpc/authuxprot.c: Likewise.
14165         * sunrpc/clnt_gen.c: Likewise.
14166         * sunrpc/clnt_perr.c: Likewise.
14167         * sunrpc/clnt_raw.c: Likewise.
14168         * sunrpc/clnt_simp.c: Likewise.
14169         * sunrpc/clnt_tcp.c: Likewise.
14170         * sunrpc/clnt_udp.c: Likewise.
14171         * sunrpc/clnt_unix.c: Likewise.
14172         * sunrpc/des_crypt.c: Likewise.
14173         * sunrpc/des_soft.c: Likewise.
14174         * sunrpc/get_myaddr.c: Likewise.
14175         * sunrpc/key_call.c: Likewise.
14176         * sunrpc/key_prot.c: Likewise.
14177         * sunrpc/netname.c: Likewise.
14178         * sunrpc/pm_getmaps.c: Likewise.
14179         * sunrpc/pm_getport.c: Likewise.
14180         * sunrpc/pmap_clnt.c: Likewise.
14181         * sunrpc/pmap_prot.c: Likewise.
14182         * sunrpc/pmap_prot2.c: Likewise.
14183         * sunrpc/pmap_rmt.c: Likewise.
14184         * sunrpc/publickey.c: Likewise.
14185         * sunrpc/rpc_cmsg.c: Likewise.
14186         * sunrpc/rpc_common.c: Likewise.
14187         * sunrpc/rpc_dtable.c: Likewise.
14188         * sunrpc/rpc_prot.c: Likewise.
14189         * sunrpc/rpc_thread.c: Likewise.
14190         * sunrpc/rtime.c: Likewise.
14191         * sunrpc/svc.c: Likewise.
14192         * sunrpc/svc_auth.c: Likewise.
14193         * sunrpc/svc_authux.c: Likewise.
14194         * sunrpc/svc_raw.c: Likewise.
14195         * sunrpc/svc_run.c: Likewise.
14196         * sunrpc/svc_simple.c: Likewise.
14197         * sunrpc/svc_tcp.c: Likewise.
14198         * sunrpc/svc_udp.c: Likewise.
14199         * sunrpc/svc_unix.c: Likewise.
14200         * sunrpc/svcauth_des.c: Likewise.
14201         * sunrpc/xcrypt.c: Likewise.
14202         * sunrpc/xdr.c: Likewise.
14203         * sunrpc/xdr_array.c: Likewise.
14204         * sunrpc/xdr_float.c: Likewise.
14205         * sunrpc/xdr_intXX_t.c: Likewise.
14206         * sunrpc/xdr_mem.c: Likewise.
14207         * sunrpc/xdr_rec.c: Likewise.
14208         * sunrpc/xdr_ref.c: Likewise.
14209         * sunrpc/xdr_sizeof.c: Likewise.
14210         * sunrpc/xdr_stdio.c: Likewise.
14212 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
14214         [BZ #12650]
14215         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14216         * sysdeps/ia64/dl-tls.h: Likewise.
14217         * sysdeps/powerpc/dl-tls.h: Likewise.
14218         * sysdeps/s390/dl-tls.h: Likewise.
14219         * sysdeps/sh/dl-tls.h: Likewise.
14220         * sysdeps/sparc/dl-tls.h: Likewise.
14221         * sysdeps/x86_64/dl-tls.h: Likewise.
14222         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14224 2011-03-14  Andreas Schwab  <schwab@redhat.com>
14226         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14227         rpath element also skip the following colon.
14228         (expand_dynamic_string_token): Add is_path parameter and pass
14229         down to DL_DST_REQUIRED and _dl_dst_substitute.
14230         (decompose_rpath): Call expand_dynamic_string_token with
14231         non-zero is_path.  Ignore empty rpaths.
14232         (_dl_map_object_from_fd): Call expand_dynamic_string_token
14233         with zero is_path.
14235 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
14237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14238         Make cancelable.
14240 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
14242         [BZ #12655]
14243         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14244         Patch by Filipe David Manana <fdmanana@apache.org>.
14246 2011-04-07  Andreas Schwab  <schwab@redhat.com>
14248         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14249         Maintain aligned stack.
14250         (CHECK_RSP): Remove unused macro.
14252 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
14254         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14255         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14257 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
14259         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14261         * include/features.h: Mention __USE_XOPEN2K8 in comment.
14263 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
14265         [BZ #12518]
14266         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14267         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14268         * sysdeps/x86_64/memmove.c: New file.
14269         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14270         (memcpy): Renamed to ...
14271         (__new_memcpy): This.
14272         (memcpy): Provide GLIBC_2_14 memcpy.
14273         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14274         (memcpy): Provide GLIBC_2_2_5 memcpy.
14276 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14278         [BZ #12631]
14279         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14281 2011-03-30  Andreas Schwab  <schwab@redhat.com>
14283         * misc/syncfs.c: New file.
14284         * misc/Makefile (routines): Add syncfs.
14285         * posix/unistd.h: Declare syncfs.
14286         * sysdeps/unix/syscalls.list: Add syncfs.
14288 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14290         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14291         open_by_handle_at.
14292         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14293         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14294         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14295         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14296         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14297         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14300 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14302         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14303         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14306         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14308         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14310         * io/Makefile: Compile fallocate.c, fallocate64.c, and
14311         sync_file_range.c with -fexceptions.
14312         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14313         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14314         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14315         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14316         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14317         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14318         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14319         sync_file_range as cancellation point
14320         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
14321         now a wrapper around __call_sync_file_range with cancellation handling.
14322         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14323         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
14324         function name to __call_sync_file_range.
14325         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14326         Add call_sync_file_range.
14328 2011-04-01  Andreas Schwab  <schwab@redhat.com>
14330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14331         bits/timex.h.
14333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
14335         * iconv/iconv.h: Fix typo in comment.
14336         * io/fcntl.h: Likewise.
14337         * libio/stdio.h: Likewise.
14338         * posix/spawn.h: Likewise.
14339         * posix/unistd.h: Likewise.
14340         * stdlib/stdlib.h: Likewise.
14341         * time/time.h: Likewise.
14342         * wcsmbs/wchar.h: Likewise.
14344         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14345         open_by_handle): Add.
14346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14347         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
14348         Augment a few comments.
14349         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14351         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14353         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14354         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14355         open_by_handle.
14357         * io/fcntl.h (AT_EMPTY_PATH): Define.
14359 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
14361         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14362         * sysdeps/unix/sysv/linux/bits/time.h: New file.
14363         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14364         to...
14365         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
14366         * Versions.def: Add GLIBC_2.14.
14367         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14368         Export.
14370 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
14372         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14373         round counter.
14374         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14376 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
14378         [BZ #12597]
14379         * string/test-strncmp.c (do_page_test): New function.
14380         (check2): Likewise.
14381         (test_main): Call check2.
14382         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14384 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
14386         [BZ #12587]
14387         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14388         Handle cache information in CPU leaf 4.
14389         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14391 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
14393         [BZ #12583]
14394         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14395         character representation.
14396         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14398 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
14400         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14401         END(__isnan) to END(__isnanf) to match function entry point/label
14402         EALIGN(__isnanf,...).
14404 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
14406         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14408 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
14410         [BZ #12510]
14411         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14412         copy from the symbol referenced in the relocation to initialize the
14413         used variable.
14414         Patch by Piotr Bury <pbury@goahead.com>.
14415         * elf/Makefile: Add rules to build and tst-unique3.
14416         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14417         * elf/tst-unique3.cc: New file.
14418         * elf/tst-unique3.h: New file.
14419         * elf/tst-unique3lib.cc: New file.
14420         * elf/tst-unique3lib2.cc: New file.
14422         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14424 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
14426         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14427         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
14428         to _start.
14430 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
14432         * elf/dl-load.c (_dl_map_object): If we are looking for the first
14433         to-be-loaded object along a path to loader is ld.so.
14435 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14436             Ulrich Drepper  <drepper@gmail.com>
14438         * sysdeps/x86_64/memset.S: After aligning destination, code
14439         branches to different locations depending on the value of
14440         misalignment, when multiarch is enabled. Fix this.
14442 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14444         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14445         Set _x86_64_preferred_memory_instruction for AMD processsors.
14446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14447         Set bit_Prefer_SSE_for_memop for AMD processors.
14449 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
14451         * libio/fmemopen.c (fmemopen): Optimize a bit.
14453 2011-03-03  Andreas Schwab  <schwab@redhat.com>
14455         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14457 2011-03-03  Roland McGrath  <roland@redhat.com>
14459         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14461 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
14463         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14464         __bzero_ultra1 instead of __memset_ultra1.
14466 2011-02-23  Andreas Schwab  <schwab@redhat.com>
14467             Ulrich Drepper  <drepper@gmail.com>
14469         [BZ #12509]
14470         * include/link.h (struct link_map): Add l_orig_initfini.
14471         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14472         returning unsuccessfully.
14473         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14474         close of a file loaded at startup, restore the original l_initfini
14475         list.
14476         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14477         list, store the pointer.
14478         * elf/Makefile ($(objpfx)noload-mem): New rule.
14479         (noload-ENV): Define.
14480         (tests): Add $(objpfx)noload-mem.
14481         * elf/noload.c: Include <memcheck.h>.
14482         (main): Call mtrace.  Close all opened handles.
14484 2011-02-17  Andreas Schwab  <schwab@redhat.com>
14486         [BZ #12454]
14487         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14488         dependencies are missing.
14490 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14492         Fix __if_freereq crash: Unlike the generic version which uses free,
14493         Hurd needs munmap.
14494         * sysdeps/mach/hurd/ifreq.h: New file.
14496 2011-01-27  Petr Baudis  <pasky@suse.cz>
14497             Ulrich Drepper  <drepper@gmail.com>
14499         [BZ 12445]#
14500         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14501         to extend_alloca().
14502         * stdio-common/bug23.c: New file.
14503         * stdio-common/Makefile (tests): Add bug23.
14505 2010-09-28  Andreas Schwab  <schwab@redhat.com>
14506             Ulrich Drepper  <drepper@gmail.com>
14508         [BZ #12489]
14509         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14510         before performing relro protection.  At old place add assertion
14511         to make sure nothing changed.
14513 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
14514             Glauber de Oliveira Costa  <glommer@gmail.com>
14516         * elf/elf.h: Add new ARM TLS relocs.
14518 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
14520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14521         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14522         cast from r3.
14523         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
14524         'tests' variable.
14525         * sysdeps/wordsize-64/tst-writev.c: New file.
14527 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
14529         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14530         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14531         insns in _dl_start to prevent a TOC reference before relocs are
14532         resolved.
14534 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
14536         [BZ #12469]
14537         * Makeconfig: Remove RANLIB definition.
14538         * Makerules: Don't use RANLIB.
14539         * aclocal.m4: Remove ranlib test.
14540         * configure.in: No need to check for ranlib.
14541         * elf/rtld-Rules: Don't use RANLIB.
14543 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14545         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14546         protection macro.
14547         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14548         inclusion protection macro.
14550         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14551         SIGRTMIN and SIGRTMAX and print information in that case only when
14552         SIGRTMIN is defined.
14554 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
14556         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14557         arginfo fn returning -1.
14559         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14560         and thousands string is zero terminated.
14562 2011-02-03  Andreas Schwab  <schwab@redhat.com>
14564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14565         sysdeps/unix/sysv/linux/bits/socket.h.
14567 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14569         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14570         (__CPU_COUNT): Remove old macros.
14571         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14572         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14573         (__CPU_ALLOC, __CPU_FREE): Add macros.
14574         (__sched_cpualloc, __sched_cpufree): Add declarations.
14576 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
14578         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14579         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14580         * nscd/aicache.c (addhstaiX): Return timeout of added value.
14581         (readdhstai): Return value of addhstaiX call.
14582         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14583         (addgrbyX): Return value returned by cache_addgr.
14584         (readdgrbyname): Return value returned by addgrbyX.
14585         (readdgrbygid): Likewise.
14586         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14587         (addpwbyX): Return value returned by cache_addpw.
14588         (readdpwbyname): Return value returned by addhstbyX.
14589         (readdpwbyuid): Likewise.
14590         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14591         (addservbyX): Return value returned by cache_addserv.
14592         (readdservbyname): Return value returned by addservbyX:
14593         (readdservbyport): Likewise.
14594         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14595         (addhstbyX): Return value returned by cache_addhst.
14596         (readdhstbyname): Return value returned by addhstbyX.
14597         (readdhstbyaddr): Likewise.
14598         (readdhstbynamev6): Likewise.
14599         (readdhstbyaddrv6): Likewise.
14600         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14601         (readdinitgroups): Return value returned by addinitgroupsX.
14602         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14603         (prune_cache): Keep track of timeout value of re-added entries.
14604         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14605         * nscd/nscd.h: Adjust prototypes of readd* functions.
14607 2011-02-04  Roland McGrath  <roland@redhat.com>
14609         * nis/nis_server.c (nis_servstate): Use the right name for 0.
14610         (nis_stats): Likewise.
14611         * nis/nis_modify.c (nis_modify): Likewise.
14612         * nis/nis_remove.c (nis_remove): Likewise.
14613         * nis/nis_add.c (nis_add): Likewise.
14615         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14617         * posix/fnmatch_loop.c: Add some consts.
14619         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14621 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
14623         [BZ #12460]
14624         * config.make.in (config-cflags-novzeroupper): Define.
14625         * configure.in: Substitute libc_cv_cc_novzeroupper.
14626         * elf/Makefile (AVX-CFLAGS): Define.
14627         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14628         (CFLAGS-tst-auditmod4a.c): Likewise.
14629         (CFLAGS-tst-auditmod4b.c): Likewise.
14630         (CFLAGS-tst-auditmod6b.c): Likewise.
14631         (CFLAGS-tst-auditmod6c.c): Likewise.
14632         (CFLAGS-tst-auditmod7b.c): Likewise.
14633         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14635 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
14637         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14638         function to the callback.
14639         Patch partly by Jiri Olsa <jolsa@redhat.com>.
14641 2011-02-02  Andreas Schwab  <schwab@redhat.com>
14643         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14644         of errno.
14646 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
14648         [BZ #11724]
14649         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14650         of constructors.
14651         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14652         of destructors.
14653         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14655         [BZ #11724]
14656         * elf/Makefile: Add rules to build and run new test.
14657         * elf/tst-initorder.c: New file.
14658         * elf/tst-initorder.exp: New file.
14659         * elf/tst-initordera1.c: New file.
14660         * elf/tst-initordera2.c: New file.
14661         * elf/tst-initordera3.c: New file.
14662         * elf/tst-initordera4.c: New file.
14663         * elf/tst-initorderb1.c: New file.
14664         * elf/tst-initorderb2.c: New file.
14665         * elf/tst-order-a1.c: New file.
14666         * elf/tst-order-a2.c: New file.
14667         * elf/tst-order-a3.c: New file.
14668         * elf/tst-order-a4.c: New file.
14669         * elf/tst-order-b1.c: New file.
14670         * elf/tst-order-b2.c: New file.
14671         * elf/tst-order-main.c: New file.
14672         New test case by George Gensure <werkt0@gmail.com>.
14674 2010-10-01  Andreas Schwab  <schwab@redhat.com>
14676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14677         decoding ACE if AI_CANONIDN.
14679 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
14681         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14683 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
14685         * version.h (RELEASE): Bump for 2.13 release.
14686         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14688         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14690         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14691         MADV_NOHUGEPAGE.
14692         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14693         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14694         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14697         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14699         * posix/getconf.c: Update copyright year.
14700         * catgets/gencat.c: Likewise.
14701         * csu/version.c: Likewise.
14702         * debug/catchsegv.sh: Likewise.
14703         * debug/xtrace.sh: Likewise.
14704         * elf/ldconfig.c: Likewise.
14705         * elf/ldd.bash.in: Likewise.
14706         * elf/sprof.c (print_version): Likewise.
14707         * iconv/iconv_prog.c: Likewise.
14708         * iconv/iconvconfig.c: Likewise.
14709         * locale/programs/locale.c: Likewise.
14710         * locale/programs/localedef.c: Likewise.
14711         * malloc/memusage.sh: Likewise.
14712         * malloc/mtrace.pl: Likewise.
14713         * nscd/nscd.c (print_version): Likewise.
14714         * nss/getent.c: Likewise.
14716         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14717         PF_CAIF, and PF_ALG.
14718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14720 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
14722         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14723         (modules-names): Use them.
14724         (ifunc-test-modules, ifunc-pie-tests): Define.
14725         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14726         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14727         (test-extras): Likewise.
14728         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14729         $(compile-command.c).
14730         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14731         (all-built-dso): Define.
14732         (check-textrel.out, check-execstack.out): Depend on it.
14734         * configure.in: Don't override --enable-multi-arch.
14736 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
14738         [BZ #6812]
14739         * nscd/hstcache.c (tryagain): Define.
14740         (cache_addhst): Return tryagain not notfound for temporary errors.
14741         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14742         failed.
14744 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
14746         [BZ #10563]
14747         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14748         to make the syscall.
14749         * sysdeps/unix/sysv/linux/setgroups.c: New file.
14751         [BZ #12378]
14752         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14753         and fall back to matching as normal character if the string ends before
14754         the matching ']' is found.  This is what POSIX requires.
14755         * posix/testfnm.c: Adjust test result.
14756         * posix/globtest.sh: Adjust test result.  Add new test.
14757         * posix/tst-fnmatch.input: Likewise.
14758         * posix/tst-fnmatch2.c: Add new test.
14760 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
14762         * elf/Makefile (check-execstack): Revert last change.  Depend on
14763         check-execstack.h.
14764         (check-execstack.h): New target.
14765         (generated): Add check-execstack.h.
14766         * elf/check-execstack.c: Include "check-execstack.h".
14767         (main): Revert last change.
14768         (handle_file): Return zero if GNU_STACK is absent and
14769         DEFAULT_STACK_PERMS doesn't include PF_X.
14771 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
14773         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14774         in child fails because the descriptor is already closed.
14775         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14776         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14777         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14779         [BZ #12397]
14780         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14781         syscall.
14783         [BZ #10484]
14784         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14785         temporary buffer used to handle multi lookups locally.
14786         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14788 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
14790         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14791         loader is ld.so.
14793 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
14795         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14796         alignment for SSE2.
14798 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
14800         [BZ #12394]
14801         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14802         characters.  When rounding increased number of integer digits recompute
14803         number of groups.
14804         * stdio-common/tst-grouping.c: New file.
14805         * stdio-common/Makefile: Add rules to build and run tst-grouping.
14807 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
14809         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14810         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
14812         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14813         void.
14814         * bits/select.h: Likewise.
14816 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
14818         * po/ja.po: Update from translation team.
14820 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
14822         [BZ #11155]
14823         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14824         implementation just like for lxstat, fxstatat, et al.
14826 2010-12-27  Jim Meyering  <meyering@redhat.com>
14828         [BZ #12348]
14829         * posix/regexec.c (build_trtable): Return failure indication upon
14830         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
14832 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
14834         [BZ #12201]
14835         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14836         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14837         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14838         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14840         [BZ #12207]
14841         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14843         [BZ #12204]
14844         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14845         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14847 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14849         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14850         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14851         script has SORT_BY_INIT_PRIORITY.
14852         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14853         NO_CTORS_DTORS_SECTIONS is defined.
14854         * elf/soinit.c: Likewise.
14855         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14856         NO_CTORS_DTORS_SECTIONS is defined.
14857         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14858         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14859         * sysdeps/sh/init-first.c: Likewise.
14860         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14862 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
14864         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14865         always use the slow path.
14867 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
14869         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14870         similar rule which adds the sysdep directories to the header search in
14871         order to pick up the correct platform stackinfo.h.
14872         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14873         perform test if it is, otherwise return successfully without testing.
14874         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14875         DEFAULT_STACK_PERMS define in stackinfo.h.
14876         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14877         defined in stackinfo.h.
14878         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14879         DEFAULT_STACK_PERMS defined in stackinfo.h.
14880         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14881         * sysdeps/ia64/stackinfo.h: Likewise.
14882         * sysdeps/s390/stackinfo.h: Likewise.
14883         * sysdeps/sh/stackinfo.h: Likewise.
14884         * sysdeps/sparc/stackinfo.h: Likewise.
14885         * sysdeps/x86_64/stackinfo.h: Likewise.
14886         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14887         PF_X for powerpc64.  Retain PF_X for powerpc32.
14889 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
14891         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14892         accurately.
14893         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14894         GETDENTS_64BIT_ALIGNED.
14896 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
14898         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14900 2010-12-10  Andreas Schwab  <schwab@redhat.com>
14902         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14903         _GNU_SOURCE.
14905         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14906         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14907         Remove __restrict.
14908         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14909         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14911 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
14913         [BZ #11655]
14914         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14915         are initialized.
14917 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
14919         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14921 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
14923         * po/it.po: Update from translation team.
14925 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
14927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14928         unused codes.
14930 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
14932         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14934 2010-11-24  Andreas Schwab  <schwab@redhat.com>
14936         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14937         specially.
14938         (gaih_getanswer_slice): Likewise.
14940 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
14942         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14944 2010-05-31  Petr Baudis  <pasky@suse.cz>
14946         [BZ #11149]
14947         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14948         silently even in the chroot mode.
14950 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
14952         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14953         last patch a bit.  Pretty printing
14955 2010-05-31  Petr Baudis <pasky@suse.cz>
14957         [BZ #10085]
14958         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14959         initialization of skip_initgroups_dyn.
14961 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
14963         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14964         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14966 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
14968         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14970 2010-11-11  Andreas Schwab  <schwab@redhat.com>
14972         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14973         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14974         (tst-fnmatch-ENV): Set MALLOC_TRACE.
14975         ($(objpfx)tst-fnmatch-mem): New rule.
14976         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14977         * posix/tst-fnmatch.c (main): Call mtrace.
14979 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
14981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14982         Support Intel processor model 6 and model 0x2c.
14984 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
14986         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14987           signed comparison.
14989 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
14991         [BZ #12205]
14992         * string/test-strncasecmp.c (check_result): New function.
14993         (do_one_test): Use it.
14994         (check1): New function.
14995         (test_main): Use it.
14996         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14997         Support strcasecmp and strncasecmp.
14999 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
15001         [BZ #12194]
15002         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15003         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15005 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15007         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15008         IFUNC support.
15009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15010         memset-x86-64.
15011         * sysdeps/x86_64/multiarch/bzero.S: New file.
15012         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15013         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15014         * sysdeps/x86_64/multiarch/memset.S: New file.
15015         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15017         Set bit_Prefer_SSE_for_memop for Intel processors.
15018         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15019         Define.
15020         (index_Prefer_SSE_for_memop): Define.
15021         (HAS_PREFER_SSE_FOR_MEMOP): Define.
15023 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
15025         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15026         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15028 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
15030         [BZ #12191]
15031         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15032         (__x86_64_raw_data_cache_size_half): Likewise.
15033         (__x86_64_raw_shared_cache_size): Likewise.
15034         (__x86_64_raw_shared_cache_size_half): Likewise.
15036         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15037         (__x86_64_raw_data_cache_size_half): Likewise.
15038         (__x86_64_raw_shared_cache_size): Likewise.
15039         (__x86_64_raw_shared_cache_size_half): Likewise.
15040         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15041         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15042         and __x86_64_raw_shared_cache_size_half.  Round
15043         __x86_64_data_cache_size_half, __x86_64_data_cache_size
15044         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15045         to multiple of 256 bytes.
15047 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
15049         [BZ #12167]
15050         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15051         of inacessible symlinks.  Verify result of symlink before returning it.
15052         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15053         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15055 2010-10-28  Erich Ritz  <erichritz@gmail.com>
15057         * math/math.h (isinf): Fix typo in comment.
15059 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
15061         * po/da.po: Update from translation team.
15063 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
15065         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15066         is added to the list.
15068 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15069             Ulrich Drepper  <drepper@gmail.com>
15071         * elf/dl-object.c (_dl_new_object): Don't append the new object to
15072         the global list here.  Move code to...
15073         (_dl_add_to_namespace_list): ...here.  New function.
15074         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15075         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15076         * elf/dl-load.c (lose): Don't remove the element from the list.
15077         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15078         (_dl_map_object): Likewise.
15080 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
15082         [BZ #12159]
15083         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15084         into all bytes of SSE register.
15085         Patch by Richard Li <richardpku@gmail.com>.
15087 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
15089         [BZ #12140]
15090         * malloc/malloc.c (_int_free): Fill correct number of bytes when
15091         perturbing.
15093 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
15095         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15096         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15097         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15098         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15100         submachine.
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15103 2010-10-22  Andreas Schwab  <schwab@redhat.com>
15105         * include/dlfcn.h (__RTLD_SECURE): Define.
15106         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
15107         mode & __RTLD_SECURE instead.
15108         (open_path): Rename preloaded parameter to secure.
15109         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15110         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15111         * elf/dl-deps.c (openaux): Likewise.
15112         * elf/rtld.c (struct map_args): Remove is_preloaded.
15113         (map_doit): Don't use it.
15114         (dl_main): Likewise.
15115         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15116         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15118 2010-09-09  Andreas Schwab  <schwab@redhat.com>
15120         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15121         (sysd-rules-targets): Remove duplicates.
15122         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15123         rtld-%.$o dependency.
15125 2010-10-18  Andreas Schwab  <schwab@redhat.com>
15127         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15128         _dl_map_object do it.
15130 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
15132         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15133         fast fma builtins, define the macros in the C99 standard.
15134         (FP_FAST_FMAF): Likewise.
15135         (FP_FAST_FMAL): Likewise.
15136         * sysdeps/x86_64/bits/mathdef.h: Likewise.
15138         * bits/mathdef.h: Update copyright year.
15139         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15141 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
15143         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15144         builtins, define the macros in the C99 standard.
15145         (FP_FAST_FMAF): Likewise.
15146         (FP_FAST_FMAL): Likewise.
15147         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15148         multiply/add.
15149         (FP_FAST_FMAF): Likewise.
15151 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
15153         [BZ #3268]
15154         * math/libm-test.inc (fma_test): Some new testcases.
15155         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15156         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15157         y and infinite z.  Do multiplication by C already in long double.
15158         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15160         y and infinite z.  Do bitwise or of inexact bit into u.d.
15161         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15162         * sysdeps/i386/fpu/s_fmaf.S: Removed.
15163         * sysdeps/i386/fpu/s_fma.S: Removed.
15164         * sysdeps/i386/fpu/s_fmal.S: Removed.
15166 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
15168         [BZ #3268]
15169         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15171         computation is not scheduled after fetestexcept.  Fix value
15172         of minimum denormal long double.
15174 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
15176         [BZ #3268]
15177         * math/libm-test.inc (fma_test): Add some more tests.
15178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15179         correctly.
15181 2010-10-15  Andreas Schwab  <schwab@redhat.com>
15183         * scripts/data/localplt-s390-linux-gnu.data: New file.
15184         * scripts/data/localplt-s390x-linux-gnu.data: New file.
15186 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
15188         [BZ #3268]
15189         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15190         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15191         instead of dbl-64.
15192         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15193         inlines.
15194         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15196         if one of x and y is very large and the other is subnormal.
15197         * sysdeps/s390/fpu/s_fmaf.c: New file.
15198         * sysdeps/s390/fpu/s_fma.c: New file.
15199         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15200         * sysdeps/powerpc/fpu/s_fma.S: New file.
15201         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15202         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15203         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15205 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
15207         [BZ #3268]
15208         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15209         fma tests.
15210         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15211         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15212         * sysdeps/i386/i686/multiarch/s_fma.c: Include
15213         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15214         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15215         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15216         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15218 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
15220         [BZ #12078]
15221         * posix/regcomp.c (parse_branch): One more memory leak plugged.
15222         * posix/bug-regex31.input: Add test case.
15224 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15226         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15227         * posix/bug-regex31.input: New file.
15229         [BZ #12078]
15230         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15231         (parse_sub_exp): Fix last change, use postorder.
15233         * posix/bug-regex31.c: New file.
15234         * posix/Makefile: Add rules to build and run bug-regex31.
15236         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15238         [BZ #12078]
15239         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15241         [BZ #12108]
15242         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15243         to have entries in sys_siglist.
15245         [BZ #12093]
15246         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15247         be NULL.
15249 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
15251         [BZ #3268]
15252         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15253         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15254         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15255         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15256         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15257         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15258         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15259         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15260         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15261         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15262         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15263         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15264         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15265         * math/ftestexcept.c (fetestexcept): Likewise.
15266         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15267         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15268         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15269         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15270         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15271         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15272         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15274 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
15276         [BZ #12107]
15277         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15278         newline.
15280 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
15282         * string/bug-strstr1.c: New file.
15283         * string/Makefile: Add rules to build and run bug-strstr1.
15285 2010-10-05  Eric Blake  <eblake@redhat.com>
15287         [BZ #12092]
15288         * string/str-two-way.h (two_way_long_needle): Always clear memory
15289         when skipping input due to the shift table.
15291 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
15293         [BZ #12005]
15294         * malloc/mcheck.c: Handle large requests.
15296         [BZ #12077]
15297         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15298         for strncmp and strncasecmp.
15299         * string/stratcliff.c: Add tests for strcmp and strncmp.
15300         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15302 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15304         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15305         __set_fpscr.
15307 2010-09-30  Andreas Jaeger  <aj@suse.de>
15309         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15310         (CGROUP_SUPER_MAGIC): Define.
15311         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15312         Handle btrfs and cgroup file systems.
15313         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15314         Likewise.
15316 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
15318         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15319         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15321 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15323         [BZ #12067]
15324         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15325         trying to locate the ELF header.
15327 2010-09-27  Andreas Schwab  <schwab@redhat.com>
15329         [BZ #11611]
15330         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15331         Mask out sign-bit copies when constructing f_fsid.
15333 2010-09-24  Petr Baudis <pasky@suse.cz>
15335         * debug/stack_chk_fail_local.c: Add missing licence exception.
15336         * debug/warning-nop.c: Likewise.
15338 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
15340         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15341         implementing getdents64 using getdents syscall, set d_type if
15342         __ASSUME_GETDENTS32_D_TYPE.
15344 2010-09-16  Andreas Schwab  <schwab@redhat.com>
15346         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15347         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15349 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
15351         [BZ #12037]
15352         * posix/unistd.h: Undo change of feature selection for ftruncate from
15353         2010-01-11.
15355 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
15357         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15358         detection.
15360 2010-09-20  Andreas Schwab  <schwab@redhat.com>
15362         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15363         fanotify_mark.
15364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15366 2010-09-14  Andreas Schwab  <schwab@redhat.com>
15368         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15369         variables after CHECK_SP call.
15370         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15372 2010-09-13  Andreas Schwab  <schwab@redhat.com>
15373             Ulrich Drepper  <drepper@redhat.com>
15375         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15376         re-relocationg ld.so.
15377         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15378         _dl_init_paths call.
15379         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
15380         here anymore.
15382 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
15384         * resolv/res_init.c (__res_vinit): Count the default server we added.
15386 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
15387             Ulrich Drepper  <drepper@redhat.com>
15389         [BZ #11968]
15390         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15391         (____longjmp_chk): Use %ebx for saving value across system call.
15392         Add unwind info.
15394 2010-09-06  Andreas Schwab  <schwab@redhat.com>
15396         * manual/Makefile: Don't mix pattern rules with normal rules.
15398 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15400         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15401         operation.
15402         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15403         * libio/iofopncook.c (_IO_cookie_init): Likewise.
15404         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15405         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15407         Likewise.
15409 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
15411         [BZ #11979]
15412         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15413         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15415 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
15417         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15418         * sysdeps/x86_64/addmul_1.S: Likewise.
15419         * sysdeps/x86_64/lshift.S: Likewise.
15420         * sysdeps/x86_64/mul_1.S: Likewise.
15421         * sysdeps/x86_64/rshift.S: Likewise.
15422         * sysdeps/x86_64/sub_n.S: Likewise.
15423         * sysdeps/x86_64/submul_1.S: Likewise.
15425 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15427         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15428         Define __sched_param instead of SCHED_* and sched_param when
15429         <bits/sched.h> is included with __need_schedparam defined.
15430         * bits/sched.h [__need_schedparam]
15431         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15432         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15433         (__defined_schedparam): Define to 1.
15434         (__sched_param): New structure, identical to sched_param.
15435         (__need_schedparam): Undefine.
15437 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
15439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15440         (epoll_create1): Declare.
15442         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15444 2010-08-31  Andreas Schwab  <schwab@redhat.com>
15446         [BZ #7066]
15447         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15448         shifting retval into place.
15450 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
15452         * nis/rpcsvc/nis.h: Update copyright notice.
15453         * nis/rpcsvc/nis.x: Likewise.
15454         * nis/rpcsvc/nis_callback.h: Likewise.
15455         * nis/rpcsvc/nis_callback.x: Likewise.
15456         * nis/rpcsvc/nis_object.x: Likewise.
15457         * nis/rpcsvc/nis_tags.h: Likewise.
15458         * nis/rpcsvc/yp.h: Likewise.
15459         * nis/rpcsvc/yp.x: Likewise.
15460         * nis/rpcsvc/ypupd.h: Likewise.
15461         * nis/yp_xdr.c: Likewise.
15462         * nis/ypupdate_xdr.c: Likewise.
15464         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
15465         mainly the body of pmap_getport.  Add parameters to specify timeouts.
15466         (pmap_getport): Use __libc_rpc_getport.
15467         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15468         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15469         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15471 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
15473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15474         fanotify_mark.
15476 2010-08-27  Roland McGrath  <roland@redhat.com>
15478         * sysdeps/i386/i686/multiarch/Makefile
15479         (CFLAGS-varshift.c): New variable.
15481 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
15483         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15484         * sysdeps/i386/i686/multiarch/varshift.c: New file.
15486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15488         * sysdeps/x86_64/strlen.S: Minimal code improvement.
15490 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15492         * sysdeps/x86_64/strlen.S: Unroll the loop.
15493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15494         strlen-sse2 strlen-sse2-bsf.
15495         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15496         __strlen_no_bsf if bit_Slow_BSF is set.
15497         (__strlen_sse42): Removed.
15498         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15499         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15501 2010-08-25  Roland McGrath  <roland@redhat.com>
15503         * sysdeps/x86_64/multiarch/varshift.S: File removed.
15504         * sysdeps/x86_64/multiarch/varshift.c: New file.
15505         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15506         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15507         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15510 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15513         strlen-sse2 strlen-sse2-bsf.
15514         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15515         __strlen_sse2_bsf if bit_Slow_BSF is unset.
15516         (__strlen_sse2): Removed.
15517         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15520         bit_Slow_BSF for Atom.
15521         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15522         (index_Slow_BSF): Define.
15523         (HAS_SLOW_BSF): Define.
15525 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
15527         [BZ #10851]
15528         * resolv/res_init.c (__res_vinit): When no server address at all
15529         is given default to loopback.
15531 2010-08-24  Roland McGrath  <roland@redhat.com>
15533         * configure.in: Remove config-name.h generation.
15534         * configure: Regenerated.
15535         * config-name.in: File removed.
15536         * scripts/config-uname.sh: New file.
15537         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15538         ($(objdir)config-name.h): New target.
15540         * sunrpc/rpc_parse.h: Avoid nested comment.
15542 2010-08-24  Richard Henderson  <rth@redhat.com>
15543             Ulrich Drepper  <drepper@redhat.com>
15544             H.J. Lu  <hongjiu.lu@intel.com>
15546         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15548         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15549         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
15550         _mm_alignr_epi8 with _mm_loadu_si128.
15551         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15552         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15553         (__m128i_shift_right): Removed.
15554         * sysdeps/i386/i686/multiarch/varshift.h: New file.
15555         * sysdeps/i386/i686/multiarch/varshift.S: New file.
15556         * sysdeps/x86_64/multiarch/varshift.h: New file.
15557         * sysdeps/x86_64/multiarch/varshift.S: New file.
15559 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
15561         * configure.in: Move assembler checks to before sysdep dir checking.
15563 2010-08-20  Petr Baudis  <pasky@suse.cz>
15565         * LICENSES: Sync the sunrpc license.
15567 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
15569         * sunrpc/auth_des.c: Update copyright notice once again.
15570         * sunrpc/auth_none.c: Likewise.
15571         * sunrpc/auth_unix.c: Likewise.
15572         * sunrpc/authdes_prot.c: Likewise.
15573         * sunrpc/authuxprot.c: Likewise.
15574         * sunrpc/bindrsvprt.c: Likewise.
15575         * sunrpc/clnt_gen.c: Likewise.
15576         * sunrpc/clnt_perr.c: Likewise.
15577         * sunrpc/clnt_raw.c: Likewise.
15578         * sunrpc/clnt_simp.c: Likewise.
15579         * sunrpc/clnt_tcp.c: Likewise.
15580         * sunrpc/clnt_udp.c: Likewise.
15581         * sunrpc/clnt_unix.c: Likewise.
15582         * sunrpc/des_crypt.c: Likewise.
15583         * sunrpc/des_soft.c: Likewise.
15584         * sunrpc/get_myaddr.c: Likewise.
15585         * sunrpc/getrpcport.c: Likewise.
15586         * sunrpc/key_call.c: Likewise.
15587         * sunrpc/key_prot.c: Likewise.
15588         * sunrpc/openchild.c: Likewise.
15589         * sunrpc/pm_getmaps.c: Likewise.
15590         * sunrpc/pm_getport.c: Likewise.
15591         * sunrpc/pmap_clnt.c: Likewise.
15592         * sunrpc/pmap_prot.c: Likewise.
15593         * sunrpc/pmap_prot2.c: Likewise.
15594         * sunrpc/pmap_rmt.c: Likewise.
15595         * sunrpc/rpc/auth.h: Likewise.
15596         * sunrpc/rpc/auth_unix.h: Likewise.
15597         * sunrpc/rpc/clnt.h: Likewise.
15598         * sunrpc/rpc/des_crypt.h: Likewise.
15599         * sunrpc/rpc/key_prot.h: Likewise.
15600         * sunrpc/rpc/netdb.h: Likewise.
15601         * sunrpc/rpc/pmap_clnt.h: Likewise.
15602         * sunrpc/rpc/pmap_prot.h: Likewise.
15603         * sunrpc/rpc/pmap_rmt.h: Likewise.
15604         * sunrpc/rpc/rpc.h: Likewise.
15605         * sunrpc/rpc/rpc_des.h: Likewise.
15606         * sunrpc/rpc/rpc_msg.h: Likewise.
15607         * sunrpc/rpc/svc.h: Likewise.
15608         * sunrpc/rpc/svc_auth.h: Likewise.
15609         * sunrpc/rpc/types.h: Likewise.
15610         * sunrpc/rpc/xdr.h: Likewise.
15611         * sunrpc/rpc_clntout.c: Likewise.
15612         * sunrpc/rpc_cmsg.c: Likewise.
15613         * sunrpc/rpc_common.c: Likewise.
15614         * sunrpc/rpc_cout.c: Likewise.
15615         * sunrpc/rpc_dtable.c: Likewise.
15616         * sunrpc/rpc_hout.c: Likewise.
15617         * sunrpc/rpc_main.c: Likewise.
15618         * sunrpc/rpc_parse.c: Likewise.
15619         * sunrpc/rpc_parse.h: Likewise.
15620         * sunrpc/rpc_prot.c: Likewise.
15621         * sunrpc/rpc_sample.c: Likewise.
15622         * sunrpc/rpc_scan.c: Likewise.
15623         * sunrpc/rpc_scan.h: Likewise.
15624         * sunrpc/rpc_svcout.c: Likewise.
15625         * sunrpc/rpc_tblout.c: Likewise.
15626         * sunrpc/rpc_util.c: Likewise.
15627         * sunrpc/rpc_util.h: Likewise.
15628         * sunrpc/rpcinfo.c: Likewise.
15629         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15630         * sunrpc/rpcsvc/key_prot.x: Likewise.
15631         * sunrpc/rpcsvc/klm_prot.x: Likewise.
15632         * sunrpc/rpcsvc/mount.x: Likewise.
15633         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15634         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15635         * sunrpc/rpcsvc/rex.x: Likewise.
15636         * sunrpc/rpcsvc/rstat.x: Likewise.
15637         * sunrpc/rpcsvc/rusers.x: Likewise.
15638         * sunrpc/rpcsvc/sm_inter.x: Likewise.
15639         * sunrpc/rpcsvc/spray.x: Likewise.
15640         * sunrpc/rpcsvc/yppasswd.x: Likewise.
15641         * sunrpc/rtime.c: Likewise.
15642         * sunrpc/svc.c: Likewise.
15643         * sunrpc/svc_auth.c: Likewise.
15644         * sunrpc/svc_authux.c: Likewise.
15645         * sunrpc/svc_raw.c: Likewise.
15646         * sunrpc/svc_run.c: Likewise.
15647         * sunrpc/svc_simple.c: Likewise.
15648         * sunrpc/svc_tcp.c: Likewise.
15649         * sunrpc/svc_udp.c: Likewise.
15650         * sunrpc/svc_unix.c: Likewise.
15651         * sunrpc/svcauth_des.c: Likewise.
15652         * sunrpc/xcrypt.c: Likewise.
15653         * sunrpc/xdr.c: Likewise.
15654         * sunrpc/xdr_array.c: Likewise.
15655         * sunrpc/xdr_float.c: Likewise.
15656         * sunrpc/xdr_mem.c: Likewise.
15657         * sunrpc/xdr_rec.c: Likewise.
15658         * sunrpc/xdr_ref.c: Likewise.
15659         * sunrpc/xdr_sizeof.c: Likewise.
15660         * sunrpc/xdr_stdio.c: Likewise.
15662         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15663         handling.
15665 2010-08-19  Andreas Schwab  <schwab@redhat.com>
15667         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15669 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
15671         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15672         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15673         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15674         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15675         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15676         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15677         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15678         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15679         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15680         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15681         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15682         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15683         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15684         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15686 2010-07-26  Anton Blanchard  <anton@samba.org>
15688         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15689         * malloc/arena.c (heap_trim): Likewise.
15691 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
15693         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15694         here.  Not...
15695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15696         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15698 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
15700         * sysdeps/i386/elf/Makefile: New file.
15702 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
15704         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15705         from fanotify_init.
15706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15709 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
15711         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15712         of strncasecmp_l.
15713         * sysdeps/multiarch/strcmp.S: Likewise.
15715 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
15717         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15718         strncase_l-nonascii.
15719         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15720         Add strncase_l-ssse3.
15721         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15722         * sysdeps/x86_64/strcmp.S: Likewise.
15723         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15724         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15725         * sysdeps/x86_64/strncase.S: New file.
15726         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15727         * sysdeps/x86_64/strncase_l.S: New file.
15728         * string/Makefile (strop-tests): Add strncasecmp.
15729         * string/test-strncasecmp.c: New file.
15731         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15732         warning.
15734         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15735         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15737 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
15739         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15741 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
15743         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15744         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15745         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15747 2010-05-01  Alan Modra  <amodra@gmail.com>
15749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15750         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15751         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15752         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15753         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15754         tidying.  Don't tail-call __sigjmp_save for static lib.
15755         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15756         save location.
15757         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15758         (CALL_MCOUNT): Add eh info, and nop after bl.
15759         (TAIL_CALL_SYSCALL_ERROR): New macro.
15760         (PSEUDO_RET): Use it.
15761         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15762         Correct save location of integer regs and cr.
15763         (_dl_profile_resolve): Correct cr save location.  Delete nops
15764         after bl when SHARED.  Reduce cfi size a little by better
15765         placement of cfi directives.
15766         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15767         make a stack frame.  Instead use parm save area as a temp.
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15769         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
15770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15771         Don't make a stack frame for parent, use parm save area.
15772         Increase child stack frame to 112 bytes.  Don't save unused reg,
15773         and adjust reg usage.  Set up cfi on error recovery and
15774         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15776         (__makecontext): Add dummy nop after jump to exit.
15777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15778         Use correct parm save area and cr save, reduce stack frame.
15779         Correct cfi for possible PSEUDO_RET frame setup.
15780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15781         Branch to local label emitted by PSEUDO_RET rather than
15782         __syscall_error.
15784 2010-08-12  Andreas Schwab  <schwab@redhat.com>
15786         [BZ #11904]
15787         * locale/programs/locale.c (print_assignment): New function.
15788         (show_locale_vars): Use it.
15790 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
15792         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15793         field.
15794         (struct statfs64): Likewise.
15795         (_STATFS_F_FLAGS): Define.
15796         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15797         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15798         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15799         (ST_VALID): Define locally.
15800         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15801         __statvfs_getflags, use the provided value.
15802         * sysdeps/unix/sysv/linux/kernel-features.h: Define
15803         __ASSUME_STATFS_F_FLAGS.
15805         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15807         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15808         Add sys/fanotify.h.
15809         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15810         fanotify_mask for GLIBC_2.13.
15811         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15812         fanotify_init and fanotify_mark.
15813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15814         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15816         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15817         Add prlimit.
15818         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15819         prlimit64 for GLIBC_2.13.
15820         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15821         prlimit64.
15822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15823         syscall.
15824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15826         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15827         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15828         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
15829         add prlimit alias.
15830         * sysdeps/unix/sysv/linux/prlimit.c: New file.
15832         [BZ #11903]
15833         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15834         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15836         * nss/Makefile: Add rules to build and run tst-nss-test1.
15837         * shlib-versions: Add entry for libnss_test1.
15838         * nss/nss_test1.c: New file.
15839         * nss/tst-nss-test1.c: New file.
15841         * nss/nsswitch.c (__nss_database_custom): Define new variable.
15842         (__nss_configure_lookup): Set appropriate entry in
15843         __nss_configure_lookup to true.
15844         * nss/nsswitch.h: Define enum with indeces of databases in
15845         databases and __nss_database_custom arrays.  Declare
15846         __nss_database_custom.
15847         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15848         to avoid using nscd when custom rules are installed.
15849         * nss/getXXbyYY_r.c: Likewise.
15850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15852         * nss/nss_files/files-parse.c: Whitespace fixes.
15854 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
15856         [BZ #11883]
15857         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15858         * posix/fnmatch_loop.c: Likewise.
15860 2010-07-17  Andi Kleen  <ak@linux.intel.com>
15862         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15863         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15864         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15865         * Versions.def [GLIBC_2.13]: Add.
15867 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
15869         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15870         Also fail if tpwd after pwuid call is NULL.
15872 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15874         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15875         when converting to ms.
15877 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15879         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15880         EOPNOTSUPP errors with ENOTTY.
15881         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15882         EOPNOTSUPP errors with ENOTTY.
15884 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
15886         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15887         Add strcasecmp_l-ssse3.
15888         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15889         strcasecmp.
15890         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15891         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15892         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15894 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
15896         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15898         * string/Makefile (strop-tests): Add strcasecmp.
15899         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15900         strcasecmp_l-nonascii.
15901         (gen-as-const-headers): Add locale-defines.sym.
15902         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15903         * sysdeps/x86_64/strcasecmp.S: New file.
15904         * sysdeps/x86_64/strcasecmp_l.S: New file.
15905         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15906         * sysdeps/x86_64/locale-defines.sym: New file.
15907         * string/test-strcasecmp.c: New file.
15909         * string/test-strcasestr.c: Test both ends of the range of characters.
15910         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15912 2010-07-29  Roland McGrath  <roland@redhat.com>
15914         [BZ #11856]
15915         * manual/locale.texi (Yes-or-No Questions): Fix example code.
15917 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
15919         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15920         for ld.so.
15922 2010-07-27  Andreas Schwab  <schwab@redhat.com>
15924         * manual/memory.texi (Malloc Tunable Parameters): Document
15925         M_PERTURB.
15927 2010-07-26  Roland McGrath  <roland@redhat.com>
15929         [BZ #11840]
15930         * configure.in (-fgnu89-inline check): Set and substitute
15931         gnu89_inline, not libc_cv_gnu89_inline.
15932         * configure: Regenerated.
15933         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15935 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
15937         * string/test-strnlen.c: New file.
15938         * string/Makefile (strop-tests): Add strnlen.
15939         * string/tester.c (test_strnlen): Add a few more test cases.
15940         * string/tst-strlen.c: Better error reporting.
15942         * sysdeps/x86_64/strnlen.S: New file.
15944 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
15946         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15947         lower-latency instructions.
15949 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
15951         * string/test-strcasestr.c: New file.
15952         * string/test-strstr.c: New file.
15953         * string/Makefile (strop-tests): Add strstr and strcasestr.
15954         * string/str-two-way.h: Don't undefine MAX.
15955         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15957 2010-07-21  Andreas Schwab  <schwab@redhat.com>
15959         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15960         strcasestr-nonascii.
15961         (CFLAGS-strcasestr-nonascii.c): Define.
15962         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15963         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15964         Remove unused attribute.
15966 2010-07-20  Roland McGrath  <roland@redhat.com>
15968         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15969         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
15970         ld.so.cache was broken.  With it, there is no way to disable dsocaps
15971         like LD_HWCAP_MASK can disable hwcaps.
15973 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
15975         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15977 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
15979         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15980         call in strcasestr.
15981         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15982         __strcasestr_sse42_nonascii.
15983         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15984         strcasestr-nonascii.c.
15985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15987 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
15989         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15990         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15991         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15992         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15994 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
15996         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15997         fcntl.
15999 2010-07-06  Andreas Schwab  <schwab@redhat.com>
16001         [BZ #11577]
16002         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16003         dl_signal_cerror.
16005 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
16007         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16008         _PC_PIPE_BUF using F_GETPIPE_SZ.
16010 2010-07-05  Roland McGrath  <roland@redhat.com>
16012         * manual/arith.texi (Rounding Functions): Fix rint description
16013         implicit in round description.
16015 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
16017         * elf/Makefile: Fix linking for a few tests to make recent linker
16018         happy.
16020 2010-06-30  Andreas Schwab  <schwab@redhat.com>
16022         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16023         $(common-objpfx)libc_nonshared.a.
16025 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
16027         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16028         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16029         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16030         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16031         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16032         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16033         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16034         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16049         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16050         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16051         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16052         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16053         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16054         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16055         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16056         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16057         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16058         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16059         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16060         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16076 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16078         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16079         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
16080         * string/memmove.c (memmove): Renamed to ...
16081         (MEMMOVE): ...this.  Default to memmove.
16082         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16083         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16084         (END_CHK): Define.
16085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16086         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16087         mempcpy-ssse3-back memmove-ssse3-back.
16088         * sysdeps/x86_64/multiarch/bcopy.S: New file .
16089         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16091         * sysdeps/x86_64/multiarch/memcpy.S: New file.
16092         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16093         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16094         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16095         * sysdeps/x86_64/multiarch/memmove.c: New file.
16096         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16097         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16098         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16099         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16100         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16101         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16102         Define.
16103         (index_Fast_Copy_Backward): Define.
16104         (HAS_ARCH_FEATURE): Define.
16105         (HAS_FAST_REP_STRING): Define.
16106         (HAS_FAST_COPY_BACKWARD): Define.
16108 2010-06-21  Andreas Schwab  <schwab@redhat.com>
16110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16111         Restore proper fallback handling.
16113 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
16115         [BZ #11701]
16116         * posix/group_member.c (__group_member): Correct checking loop.
16118         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16119         OOM in getpwuid_r correctly.  Return error number when the caller
16120         should return, otherwise -1.
16121         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16122         call returning > 0 value.
16123         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16125 2010-06-07  Andreas Schwab  <schwab@redhat.com>
16127         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16128         libc_nonshared.a from targets in modules-names.
16130 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
16132         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16133         requires it.
16135 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
16137         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16138         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16139         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16142 2010-06-02  Andreas Schwab  <schwab@redhat.com>
16144         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16146 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
16148         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16149         and F_GETPIPE_SZ.
16150         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16152         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16154         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16155         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16157 2010-06-14  Roland McGrath  <roland@redhat.com>
16159         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16161 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
16163         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16164         __REDIRECT followed by __THROW.
16165         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16166         * posix/getopt.h (getopt): Likewise.
16168 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
16170         * hurd/lookup-at.c (__file_name_lookup_at): Accept
16171         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
16172         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16173         in AT_FLAGS.
16174         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16175         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16177 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
16179         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16181 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
16183         [BZ #11640]
16184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16185         Properly check family and model.
16187 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
16189         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16191 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
16193         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16195 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
16197         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16198         symbol reference.
16200 2010-05-19  Andreas Schwab  <schwab@redhat.com>
16202         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16203         symbol reference.
16205 2010-05-21  Andreas Schwab  <schwab@redhat.com>
16207         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16208         and internal_recvmmsg.
16209         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16210         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16211         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16212         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16214         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16215         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16216         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16218 2010-05-20  Andreas Schwab  <schwab@redhat.com>
16220         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16222 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
16224         POWER7 optimizations.
16225         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16226         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16228 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
16230         * version.h: Update for 2.13 development version.
16232 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
16234         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16235         exceptions.  Return 0.
16237 2010-05-07  Roland McGrath  <roland@redhat.com>
16239         * elf/ldconfig.c (main): Add a const.
16241 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
16243         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16244         (args_options): Add no-idn option.
16245         (ahosts_keys_int): Add idn_flags to ai_flags.
16246         (parse_option): Handle 'i' option to clear idn_flags.
16248         * malloc/malloc.c (_int_free): Possible race in the most recently
16249         added check.  Only act on the data if no current modification
16250         happened.
16252 See ChangeLog.17 for earlier changes.