]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
16 years agoRevert "More Linux fallocate patches."
Ryan Arnold [Mon, 27 Jul 2009 21:09:56 +0000 (16:09 -0500)] 
Revert "More Linux fallocate patches."

This reverts commit c2621cbf6d0502ebbf27ea2e2165d8bfae6feb99.

16 years agoRevert "Handle old kernel headers with new fallocate patches."
Ryan Arnold [Mon, 27 Jul 2009 21:09:45 +0000 (16:09 -0500)] 
Revert "Handle old kernel headers with new fallocate patches."

This reverts commit 3353ea9028f569552e12bef515582a48c49100e0 because fallocate
is defined in GLIBC 2.10 and we don't want to make it available early in 2.8.

16 years agoRevert "backport the pre glibc 2.10 patch which added -mcpu=<CPU> to ASFLAGS to the...
Ryan Arnold [Mon, 27 Jul 2009 21:09:29 +0000 (16:09 -0500)] 
Revert "backport the pre glibc 2.10 patch which added -mcpu=<CPU> to ASFLAGS to the IBM 2.8 branch. It includes two merged patch sets."

This reverts commit fd178a794dcd98b27b074cef2d72b16cade6ed2d so that the
ASFLAGS patches can be applied in the correct order starting with a missing
patch from Roland McGrath.

16 years agobackport the pre glibc 2.10 patch which added -mcpu=<CPU> to ASFLAGS to the IBM 2...
Ryan S. Arnold [Fri, 24 Jul 2009 17:55:45 +0000 (12:55 -0500)] 
backport the pre glibc 2.10 patch which added -mcpu=<CPU> to ASFLAGS to the IBM 2.8 branch. It includes two merged patch sets.

commit ed27dcf1bc22bb3b011bfefc392d6900c3bbeeb9
Author: Ryan S. Arnold <rsa@us.ibm.com>
Date:   Fri Jul 24 00:11:42 2009 -0500

2009-05-09  Ulrich Drepper  <drepper@redhat.com>

* Makeconfig: Undo last change.  Add asflags-cpu to ASFLAGS in the
same place we add ASFLAGS-config.

2009-05-06  Ryan S. Arnold  <rsa@us.ibm.com>

[BZ #10118]
* Makeconfig (+asflags): New variable based upon ASFLAG or
asflags-cpu.
(ASFLAGS): Add override to set ASFLAGS to +asflags.
* config.make.in (asflags-cpu): Add variable based upon
@libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to
the assembler.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
Remove unneeded file now that the assembler emits _ARCH_PWR6 and
recognizes power6 instruction set due to passing -mcpu=power6 from
--with-cpu=power6 when compiling .S files.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
Likewise.

16 years agoAdd new AT_BASE_PLATFORM bits to AUXV.
Ryan S. Arnold [Fri, 24 Jul 2009 17:42:07 +0000 (12:42 -0500)] 
Add new AT_BASE_PLATFORM bits to AUXV.

commit f53713a8e729c441aef2b4ccc7562306fc306fbe
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sat Mar 14 18:33:58 2009 +0000

* elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM.
* elf/dl-sysdep.c (auxvars): Compress data structure.

16 years agoFix mixed up PPC_FEATURE_* values related to VSX.
Ryan S. Arnold [Fri, 24 Jul 2009 17:37:12 +0000 (12:37 -0500)] 
Fix mixed up PPC_FEATURE_* values related to VSX.

REALLY DID remove redundant mathinline.h this time.

commit 2123d5815eaaa53a772be4b6069bdc6332f2f491
Author: Andreas Schwab <aschwab@redhat.com>
Date:   Sun Jul 5 23:46:03 2009 -0700

Fix wrong PPC_FEATURE_* values.

Nothing uses these wrong values yet, but it fixes a warning due to
conflicting definitions in <asm/cputable.h>.

16 years agoFixed up sed invocation to work with newer linker scripts.
Ryan S. Arnold [Fri, 24 Jul 2009 17:34:13 +0000 (12:34 -0500)] 
Fixed up sed invocation to work with newer linker scripts.

Also committed changes from previous patch set which removed redundant
mathinline.h file.

commit 7c8a67320e26b8c11108bf0a3410d3aef9cf3486
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sat Jan 31 00:21:15 2009 +0000

        * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
        newer linker scripts.

16 years agoPOWER7 powerpc-cpu support for optimized libraries.
Ryan S. Arnold [Fri, 24 Jul 2009 17:31:41 +0000 (12:31 -0500)] 
POWER7 powerpc-cpu support for optimized libraries.

commit 134a97667f1d50963af87713840ffd2efddfc1f2
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Mon Mar 2 13:50:16 2009 +0000

* sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file.
* sysdeps/powerpc/powerpc32/power7/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies:
Likewise.

16 years agoPOWER7 VSX HWCAP enablement.
Ryan S. Arnold [Fri, 24 Jul 2009 17:28:57 +0000 (12:28 -0500)] 
POWER7 VSX HWCAP enablement.

commit 1642331d3066e43daea5a33a6c12db6edf0e34f7
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Fri Aug 8 04:51:57 2008 +0000

2008-08-01  Steven Munroe  <sjmunroe@us.ibm.com>
            Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>

[BZ #6817]
* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags):
Added the members 'vsx' and 'arch_2_06'.
(_dl_powerpc_platforms): Add the member 'power7'.
* sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST
to reflect the changes required by VSX and ISA 2.06.
Modify _DL_PLATFORMS_COUNT to reflect the addition of
'power7'.
Defined PPC_PLATFORM_POWER7.
(_dl_string_platform): Add support for POWER7.
* sysdeps/powerpc/sysdep.h: Define bit masks for VSX
capability and ISA 2.06.

16 years agoRemove redundant mathinline.h.
Ryan S. Arnold [Fri, 24 Jul 2009 17:24:32 +0000 (12:24 -0500)] 
Remove redundant mathinline.h.

commit 7df49c5d81b9f8ea55f16af939e0662d24cc099e
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sun Aug 17 07:34:10 2008 +0000

2008-08-14  Ryan S. Arnold  <rsa@us.ibm.com>

[BZ #6845]
* sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new
__signbitl definition and __LONG_DOUBLE_128__ guard from:
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as
redundant.  Functions which call floating point assembler operations
should go into a sysdeps powerpc/fpu directory.

16 years agoFix to avoid using the fields 3 and 4 of the CR.
Ryan S. Arnold [Fri, 24 Jul 2009 17:21:48 +0000 (12:21 -0500)] 
Fix to avoid using the fields 3 and 4 of the CR.

commit 9ea8bfec35c54cb5769209227d94ab61f9efb935
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Fri Jun 13 01:18:22 2008 +0000

* sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using
cr[34] registers.
* sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3
register.

2008-06-12  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache

16 years agoHandle old kernel headers with new fallocate patches.
Ryan S. Arnold [Fri, 24 Jul 2009 15:49:00 +0000 (10:49 -0500)] 
Handle old kernel headers with new fallocate patches.

commit 353f210707092e3e57418b4954888f2d15cc3da3
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Wed Apr 15 00:39:57 2009 +0000

2009-03-17  Ryan S. Arnold  <rsa@us.ibm.com>
            Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers.
* sysdeps/unix/sysv/linux/fallocate64.c: Likewise.

16 years agoMore Linux fallocate patches.
Ryan S. Arnold [Fri, 24 Jul 2009 15:46:10 +0000 (10:46 -0500)] 
More Linux fallocate patches.

commit 99eb932f75c941f08b7cb66890b7d406bf37ba9b
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Tue Mar 3 13:53:19 2009 +0000

        * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}.
        * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.

16 years agoAdd Linux fallocate support.
Ryan S. Arnold [Fri, 24 Jul 2009 15:44:27 +0000 (10:44 -0500)] 
Add Linux fallocate support.

commit 749f5cc96803f5a2ec0ca76b4bb290cea44fb3f1
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Mon Mar 2 16:15:58 2009 +0000

* sysdeps/unix/sysv/linux/fallocate.c: New file.
* sysdeps/unix/sysv/linux/fallocate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file.
* sysdeps/unix/sysv/linux/i386/fallocate64.c: New file.
* sysdeps/unix/sysv/linux/i386/fallocate.c: New file.
* sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64
for GLIBC_2.10.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add fallocate and fallocate64.
* io/fcntl.h: Pretty printing.

16 years agoAdded .machine push; .machine "power6"; .machine pop in macros.
Ryan S. Arnold [Fri, 24 Jul 2009 15:41:04 +0000 (10:41 -0500)] 
Added .machine push; .machine "power6"; .machine pop in macros.

commit 1454da21955742494232aa8b34c5e238263ad37a
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Tue Mar 10 04:47:30 2009 +0000

* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use
.machine push; .machine "power6" and .machine pop around mtfsf
insns outside of _ARCH_PWR6 define.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
Likewise.
* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise.
* sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register,
relax_fenv_state): Likewise.

16 years agoUse .machine push; .machine "power6" and .machine pop around mtfsf insns outside...
Ryan S. Arnold [Fri, 24 Jul 2009 15:36:31 +0000 (10:36 -0500)] 
Use .machine push; .machine "power6" and .machine pop around mtfsf insns outside of _ARCH_PWR6 define.

commit bddec78c7b827fde3f086f6a576237508f7099b0
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Tue Mar 10 04:46:08 2009 +0000

    Use .machine push; .machine "power6" and .machine pop around mtfsf insns outside of _ARCH_PWR6 define.

16 years agoFix up some bugs with the 64-bit FPSCR patch including erroneous test-case passes.
Ryan S. Arnold [Fri, 24 Jul 2009 15:33:47 +0000 (10:33 -0500)] 
Fix up some bugs with the 64-bit FPSCR patch including erroneous test-case passes.

commit b7219e53bcd54d874f85c67469f4c1dd4f2ad5d2
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Fri Jan 30 20:30:46 2009 +0000

2009-01-11  Ryan S. Arnold  <rsa@us.ibm.com>

        [BZ #9726]
        * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR,
        _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes.

2009-01-08  Ryan S. Arnold  <rsa@us.ibm.com>

        [BZ #9726]
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
        (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
        (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.

16 years agoEnable 64-bit FPSCR for POWER6 and include some dynamic feature checks for DFP facili...
Ryan S. Arnold [Fri, 24 Jul 2009 15:30:00 +0000 (10:30 -0500)] 
Enable 64-bit FPSCR for POWER6 and include some dynamic feature checks for DFP facility availability.

commit edba7a54eb83c37610b15454a21d54f47ec9dee7
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Mon Nov 17 02:49:45 2008 +0000

2008-11-13  Ryan S. Arnold  <rsa@us.ibm.com>

        [BZ #6411]
        * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr.
        * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace
        magic numbers.
        * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically
        choose mtfsf insn based on PPC_FEATURE_HAS_DFP.
        (relax_fenv_state): Same as above.
        (FPSCR_29): Reserve bit in ISA 2.05.
        (FPSCR_NI): Provide define for compat.
        * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace
        magic numbers.
        * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace
        magic numbers.
        * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file.  Test case to
        test setcontext and swapcontext with dynamic 64-bit FPSCR detection.
        * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust
        access to hwcap to account for hwcap size increase to uint64_t.
        * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ):
        Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
        (*setcontext): Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
        New file.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
        New file.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
        (*setcontext): dynamically select mtfsf insn based on
        PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
        increase to uint64_t.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
        (*swapcontext): dynamically select mtfsf insn based on
        PPC_FEATURE_HAS_DFP.  Adjust access to hwcap to account for hwcap size
        increase to uint64_t.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
        New file.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
        New file.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
        (*setcontext): dynamically select mtfsf insn based on
        PPC_FEATURE_HAS_DFP.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
        (*swapcontext): dynamically select mtfsf insn based on
        PPC_FEATURE_HAS_DFP.

16 years agoUse correct macro to detect use of 128 bit long double.
Ryan S. Arnold [Fri, 24 Jul 2009 15:25:23 +0000 (10:25 -0500)] 
Use correct macro to detect use of 128 bit long double.

commit 48b9466105cf4bf7012b90356ae097573a23fc5c
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Thu Aug 7 23:06:01 2008 +0000

2008-08-07  Ulrich Drepper  <drepper@redhat.com>

        [BZ #6824]
        * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct
        macro to detect use of 128 bit long double.

        Patch by Ryan S. Arnold <rsa@us.ibm.com>.

16 years agoFix to exclude test when IBM 128-bit long double is being used in order to avoid...
Ryan S. Arnold [Fri, 24 Jul 2009 15:21:04 +0000 (10:21 -0500)] 
Fix to exclude test when IBM 128-bit long double is being used in order to avoid representing an exponent that is out of bounds.

commit 8fb0af98d8fcbdad7a982b41e6b0fe65b7d3b45d
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Thu May 22 19:59:10 2008 +0000

Work around braindead IBM128 long double format.

16 years agoTest case addition.
Ryan S. Arnold [Fri, 24 Jul 2009 15:14:16 +0000 (10:14 -0500)] 
Test case addition.

commit a7eb802f1147cc2237be3a410b3c658f59178d72
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sun May 11 17:49:25 2008 +0000

2008-02-11  Joseph Myers  <joseph@codesourcery.com>

[BZ #3406]
* sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value.
* math/libm-test.inc (exp_test): Test 88.72269439697265625.

16 years agoDefine bit for PROT_SAO.
Ryan S. Arnold [Fri, 24 Jul 2009 14:54:51 +0000 (09:54 -0500)] 
Define bit for PROT_SAO.

Backported for ibm/2.8 by Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>.

commit 30a4429e923d2383a0f2fe9a5fd4b046db1de021
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Fri Aug 8 05:13:34 2008 +0000

2008-08-07  Pete Eberlein  <eberlein@us.ibm.com>

[BZ #6791]
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define.

17 years ago* sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. cvs/glibc-2_8-branch cvs/glibc-2_8-base
Jakub Jelinek [Thu, 17 Apr 2008 08:32:24 +0000 (08:32 +0000)] 
* sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.

2008-04-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.

17 years ago* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
Jakub Jelinek [Tue, 15 Apr 2008 15:00:30 +0000 (15:00 +0000)] 
* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c

(__old_sem_wait): Fix argument to lll_futex_wait().
2008-04-14  David S. Miller  <davem@davemloft.net>

* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
(__old_sem_wait): Fix argument to lll_futex_wait().

17 years ago* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): cvs/fedora-glibc-20080412T0741 cvs/glibc-2_8 glibc-2.8
Ulrich Drepper [Sat, 12 Apr 2008 04:17:47 +0000 (04:17 +0000)] 
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl):

Also use for 32-bit.

17 years ago* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use
Ulrich Drepper [Sat, 12 Apr 2008 03:49:11 +0000 (03:49 +0000)] 
* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use

__nextafter instead of nextafter to avoid local PLT.

17 years ago* sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.
Ulrich Drepper [Sat, 12 Apr 2008 03:39:30 +0000 (03:39 +0000)] 
* sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.

* sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.

17 years ago* sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. Include
Ulrich Drepper [Sat, 12 Apr 2008 02:39:29 +0000 (02:39 +0000)] 
* sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def.  Include

<fenv_libc.h> instead of <fenv.h>.

17 years ago* scripts/data/localplt-powerpc64-linux-gnu.data: New file.
Ulrich Drepper [Sat, 12 Apr 2008 00:55:55 +0000 (00:55 +0000)] 
* scripts/data/localplt-powerpc64-linux-gnu.data: New file.

17 years ago* sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for
Ulrich Drepper [Sat, 12 Apr 2008 00:51:34 +0000 (00:51 +0000)] 
* sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for

__fe_nomask_env.
* sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.

* sysdeps/powerpc/bits/fenv.h: Make safe for C++.

* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file.
* sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename
function from fegetexcept and make old name weak alias.
* include/fenv.h: Declare __fegetexcept.
* sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of
fegetexcept.
* sysdeps/powerpc/fpu/feenablxcpt.c: Likewise.
* sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call
to fetestexcept.
* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl
instead of frexpl to avoid local PLT.
* math/s_significandl.c (__significandl): Use __ilogbl instead of
ilogbl to avoid local PLT.
* sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl
instead of ldexpl to avoid local PLT.
* sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
__roundl not roundl to avoid local PLT.
* sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid
local PLTs.  Use __sincosl instead of separate sinl and cosl
calls.
* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.

17 years ago* sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel
Ulrich Drepper [Fri, 11 Apr 2008 21:13:48 +0000 (21:13 +0000)] 
* sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel

version for ppc64 to 2.4.21 since without it makecontext will fail.

17 years ago* elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according
Ulrich Drepper [Fri, 11 Apr 2008 21:05:53 +0000 (21:05 +0000)] 
* elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according

to the ABI in use.
[__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of
.__tls_get_addr.
[__powerpc64__] (TLS_GD): Likewise.

17 years ago* elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABI
Ulrich Drepper [Fri, 11 Apr 2008 21:04:10 +0000 (21:04 +0000)] 
* elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABI

in use.
(TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr.
(TLS_GD): Likewise.

17 years ago[BZ #4997] cvs/fedora-glibc-20080411T1934
Ulrich Drepper [Fri, 11 Apr 2008 19:32:58 +0000 (19:32 +0000)] 
[BZ #4997]

17 years ago[BZ4997]
Ulrich Drepper [Fri, 11 Apr 2008 19:32:37 +0000 (19:32 +0000)] 
[BZ4997]

* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous
result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the
mantissa.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
Likewise.  Also account for when x is an odd number between 2^52
and 2^53-1.
* sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise.
* math/libm-test.inc (lround_test, llround_test): Added test cases to
detect aforementioned erroneous conditions.

17 years ago* configure.in: Check for -fno-section-anchors in addition to
Ulrich Drepper [Fri, 11 Apr 2008 17:53:44 +0000 (17:53 +0000)] 
* configure.in: Check for -fno-section-anchors in addition to

-fno-toplevel-reorder.

17 years ago* include/features.h (__GLIBC_MINOR__): Bump to 8.
Ulrich Drepper [Fri, 11 Apr 2008 17:33:24 +0000 (17:33 +0000)] 
* include/features.h (__GLIBC_MINOR__): Bump to 8.

* sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment.
* sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
* sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.

17 years ago[BZ #5443]
Ulrich Drepper [Fri, 11 Apr 2008 08:20:04 +0000 (08:20 +0000)] 
[BZ #5443]

2008-04-11  Jakub Jelinek  <jakub@redhat.com>
[BZ #5443]
* time/era.c: Transform __libc_setlocale_lock into rwlock.
* time/alt_digit.c: Likewise.
* wcsmbs/wcsmbsload.c: Likewise.

17 years ago* version.h (VERSION): Bump to 2.8.
Ulrich Drepper [Fri, 11 Apr 2008 07:01:57 +0000 (07:01 +0000)] 
* version.h (VERSION): Bump to 2.8.

17 years ago* timzeone/asia: Update from tzdata2008b.
Ulrich Drepper [Fri, 11 Apr 2008 05:04:15 +0000 (05:04 +0000)] 
* timzeone/asia: Update from tzdata2008b.

* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/zone.tab: Likewise.
* timezone/private.h: Update from tzcode2008a.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.

17 years ago[BZ #5741]
Ulrich Drepper [Fri, 11 Apr 2008 00:02:52 +0000 (00:02 +0000)] 
[BZ #5741]

2008-01-24  Steven Munroe  <sjmunroe@us.ibm.com>
[BZ #5741]
* sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF):
Define additonal Data Cache Block instruction macros.
(elf_machine_fixup_plt): Add dcbt for opd and plt entries.
Replace dcbst with dcbf and sync with sync/isync.

17 years ago* sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have cvs/fedora-glibc-20080410T1907
Ulrich Drepper [Thu, 10 Apr 2008 18:56:10 +0000 (18:56 +0000)] 
* sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have

a reserved error value.

17 years ago* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
Ulrich Drepper [Thu, 10 Apr 2008 18:26:16 +0000 (18:26 +0000)] 
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):

Always set ELF_RTYPE_CLASS_PLT.
(elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete.

17 years ago* sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file.
Ulrich Drepper [Thu, 10 Apr 2008 16:50:07 +0000 (16:50 +0000)] 
* sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file.

* sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file.
* sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW):
For ISA 2.01 and later replace mftb with mfspr 268.

* sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned
buffers.

17 years ago[BZ #5768]
Ulrich Drepper [Thu, 10 Apr 2008 14:17:22 +0000 (14:17 +0000)] 
[BZ #5768]

2008-02-19  Steven Munroe  <sjmunroe@us.ibm.com>
[BZ #5768]
* sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan.
* sysdeps/powerpc/fpu/test-powerpc-snan.c: New file.

2008-02-18  Steven Munroe  <sjmunroe@us.ibm.com>

[BZ #5768]
* sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed.
* sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed.

17 years agoisnan implementation for ppc32.
Ulrich Drepper [Thu, 10 Apr 2008 14:15:27 +0000 (14:15 +0000)] 
isnan implementation for ppc32.

17 years ago* stdlib/tst-makecontext.c (othervar): New variable.
Jakub Jelinek [Thu, 10 Apr 2008 08:26:41 +0000 (08:26 +0000)] 
* stdlib/tst-makecontext.c (othervar): New variable.

(cf): Test sign extending the argument to long.
2008-04-10  Jakub Jelinek  <jakub@redhat.com>

* stdlib/tst-makecontext.c (othervar): New variable.
(cf): Test sign extending the argument to long.

17 years agoisnan implementation for Power6x 64-bit
Ulrich Drepper [Thu, 10 Apr 2008 05:59:52 +0000 (05:59 +0000)] 
isnan implementation for Power6x 64-bit

17 years ago* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.
Ulrich Drepper [Thu, 10 Apr 2008 05:59:13 +0000 (05:59 +0000)] 
* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.

* sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file.

17 years ago* elf/Makefile (tests): Substitute tests-vis-yes here.
Ulrich Drepper [Thu, 10 Apr 2008 05:02:48 +0000 (05:02 +0000)] 
* elf/Makefile (tests): Substitute tests-vis-yes here.

(tests-vis-yes): Delete.
(modules-name, modules-vis-yes): Similarly.

17 years ago[BZ #4407]
Ulrich Drepper [Thu, 10 Apr 2008 04:58:03 +0000 (04:58 +0000)] 
[BZ #4407]

2008-02-12  Pete Eberlein  <eberlein@us.ibm.com>
[BZ #4407]
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
Preserve sign in signgamp when x is zero.

17 years ago* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File.
Ulrich Drepper [Thu, 10 Apr 2008 04:53:40 +0000 (04:53 +0000)] 
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File.

* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File.

17 years ago[BZ #4314]
Ulrich Drepper [Wed, 9 Apr 2008 20:01:52 +0000 (20:01 +0000)] 
[BZ #4314]

* sysdeps/i386/i686/memcpy.S: Optimize copying of aligned buffers.

17 years ago* sysdeps/unix/sysv/syscalls.list: The times syscall doesn't return
Ulrich Drepper [Wed, 9 Apr 2008 19:04:16 +0000 (19:04 +0000)] 
* sysdeps/unix/sysv/syscalls.list: The times syscall doesn't return

17 years ago[BZ #5209]
Ulrich Drepper [Wed, 9 Apr 2008 18:47:07 +0000 (18:47 +0000)] 
[BZ #5209]

* sysdeps/unix/sysv/syscalls.list: times syscalls doesn't return
an error value.

17 years ago[BZ #5436]
Ulrich Drepper [Wed, 9 Apr 2008 18:30:12 +0000 (18:30 +0000)] 
[BZ #5436]

2008-04-09  Ulrich Drepper  <drepper@redhat.com>
* stdlib/tst-makecontext.c: Change parameter to cf to negative
value to check for correct sign extension.

[BZ #5436]
* sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
Copy 64-bit parameter values even though this is not required in
the standard.

* sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return
PC save.

17 years ago* sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return
Ulrich Drepper [Wed, 9 Apr 2008 17:45:55 +0000 (17:45 +0000)] 
* sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return

PC save.

17 years ago* nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno.
Ulrich Drepper [Wed, 9 Apr 2008 15:49:54 +0000 (15:49 +0000)] 
* nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno.

17 years ago[BZ #5998]
Ulrich Drepper [Wed, 9 Apr 2008 07:42:19 +0000 (07:42 +0000)] 
[BZ #5998]

2008-04-09  Ulrich Drepper  <drepper@redhat.com>
[BZ #5998]
* libio/iofwrite.c (_IO_fwrite): Return correct count if flushing
in line-buffered stream failed.
* libio/iofwrite_u.c (fwrite_unlocked): Likewise.

17 years ago[BZ #6024]
Ulrich Drepper [Wed, 9 Apr 2008 05:39:54 +0000 (05:39 +0000)] 
[BZ #6024]

* scripts/abi-versions.awk: If the version specified by
--enable-oldest-abi is older than the first version for this
architecture, use the default version.

17 years ago* locale/programs/ld-collate.c (collate_read): Ignore script lines
Ulrich Drepper [Tue, 8 Apr 2008 15:03:59 +0000 (15:03 +0000)] 
* locale/programs/ld-collate.c (collate_read): Ignore script lines

as well when ignoring the whole category.

17 years ago(collate_read): Ignore script lines as well when ignoring the whole category.
Ulrich Drepper [Tue, 8 Apr 2008 15:03:46 +0000 (15:03 +0000)] 
(collate_read): Ignore script lines as well when ignoring the whole category.

17 years ago[BZ #6020] cvs/fedora-glibc-20080408T0706
Jakub Jelinek [Tue, 8 Apr 2008 06:36:47 +0000 (06:36 +0000)] 
[BZ #6020]

* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
(lll_futex_wake_unlock): Add private argument to the pre-v9 macro.
Patch by Sunil Amitkumar Janki <devel.sjanki@gmail.com>.
2008-04-08  Jakub Jelinek  <jakub@redhat.com>

[BZ #6020]
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
(lll_futex_wake_unlock): Add private argument to the pre-v9 macro.
Patch by Sunil Amitkumar Janki <devel.sjanki@gmail.com>.

17 years ago[BZ #6042]
Ulrich Drepper [Tue, 8 Apr 2008 00:40:35 +0000 (00:40 +0000)] 
[BZ #6042]

2008-04-07  Ulrich Drepper  <drepper@redhat.com>
[BZ #6042]
* sysdeps/unix/sysv/linux/net/ethernet.h: Add a few more
ETHERTYPE_* definitions.
Patch partly by Aurelien Jarno <aurelien@aurel32.net>.

17 years ago[BZ #6040]
Ulrich Drepper [Tue, 8 Apr 2008 00:17:58 +0000 (00:17 +0000)] 
[BZ #6040]

* locales/fr_FR: Fix abmon, abday, d_ftm, grouping.

17 years ago[BZ #6004]
Ulrich Drepper [Mon, 7 Apr 2008 23:53:54 +0000 (23:53 +0000)] 
[BZ #6004]

* locales/iso14651_t1_common: Fix first weight for U+1E60, U+1E62,
U+1E64, U+1E66, and U+1E68.
Patch by Jesse Thilo <unixweenie@gmail.com>.

17 years agoFix first weight for U+1E60, U+1E62, U+1E64, U+1E66, and U+1E68.
Ulrich Drepper [Mon, 7 Apr 2008 23:53:20 +0000 (23:53 +0000)] 
Fix first weight for U+1E60, U+1E62, U+1E64, U+1E66, and U+1E68.

17 years ago* stdlib/mbtowc.c (__no_r_state): Remove.
Jakub Jelinek [Mon, 7 Apr 2008 20:03:08 +0000 (20:03 +0000)] 
* stdlib/mbtowc.c (__no_r_state): Remove.

(mbtowc): New static state variable.  Use it instead of
__no_r_state.
* stdlib/wctomb.c (__no_r_state): Remove extern decl.
(__wctomb_state): New hidden variable.
(wctomb): Use __wctomb_state instead of __no_r_state.
* debug/wctomb_chk.c (__no_r_state): Remove extern decl.
(__wctomb_state): New extern decl.
(__wctomb_chk): Use __wctomb_state instead of __no_r_state.
2008-04-07  Jakub Jelinek  <jakub@redhat.com>

* stdlib/mbtowc.c (__no_r_state): Remove.
(mbtowc): New static state variable.  Use it instead of
__no_r_state.
* stdlib/wctomb.c (__no_r_state): Remove extern decl.
(__wctomb_state): New hidden variable.
(wctomb): Use __wctomb_state instead of __no_r_state.
* debug/wctomb_chk.c (__no_r_state): Remove extern decl.
(__wctomb_state): New extern decl.
(__wctomb_chk): Use __wctomb_state instead of __no_r_state.

17 years ago[BZ #5475]
Ulrich Drepper [Mon, 7 Apr 2008 17:36:07 +0000 (17:36 +0000)] 
[BZ #5475]

2008-04-07  Ulrich Drepper  <drepper@redhat.com>
[BZ #5475]
* resolv/res_init.c: Handle scope IDs in resolv.conf.

17 years agoHandle scope IDs in resolv.conf.
Ulrich Drepper [Mon, 7 Apr 2008 17:20:25 +0000 (17:20 +0000)] 
Handle scope IDs in resolv.conf.

17 years ago* malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet.
Jakub Jelinek [Mon, 7 Apr 2008 14:45:18 +0000 (14:45 +0000)] 
* malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet.

2008-04-07  Jakub Jelinek  <jakub@redhat.com>

* malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet.

17 years ago* po/nl.po: Update from translation team.
Ulrich Drepper [Sun, 6 Apr 2008 15:32:17 +0000 (15:32 +0000)] 
* po/nl.po: Update from translation team.

17 years ago[BZ #6007]
Ulrich Drepper [Mon, 31 Mar 2008 18:30:26 +0000 (18:30 +0000)] 
[BZ #6007]

2008-03-31  Ulrich Drepper  <drepper@redhat.com>
[BZ #6007]
* string/strfry.c: Handle empty strings again.

17 years ago* locales/iso14651_t1_common: Add support for Gujarati script.
Ulrich Drepper [Mon, 31 Mar 2008 14:15:28 +0000 (14:15 +0000)] 
* locales/iso14651_t1_common: Add support for Gujarati script.

Patch by Pravin Satpute <psatpute@redhat.com>.

17 years ago[BZ #5443]
Ulrich Drepper [Mon, 31 Mar 2008 00:38:06 +0000 (00:38 +0000)] 
[BZ #5443]

2008-03-30  Ulrich Drepper  <drepper@redhat.com>
[BZ #5443]
* intl/dcigettext.c (__dcigettext): Get reader lock for locale data
before looking for translation.
* locale/duplocale.c: Transform __libc_setlocale_lock into rwlock.
* locale/freelocale.c: Likewise.
* locale/newlocale.c: Likewise.
* locale/setlocale.c: Likewise.
Based partially on a patch by ryo@np.css.fujitsu.com.

17 years ago* intl/dcigettext.c (_nl_find_msg): Reread nconversions after
Ulrich Drepper [Sun, 30 Mar 2008 23:40:18 +0000 (23:40 +0000)] 
* intl/dcigettext.c (_nl_find_msg): Reread nconversions after

acquiring wrlock.  Do conv_tab allocation while holding lock.
* intl/Makefile: Add rules to build and run tst-gettext6.
* intl/tst-gettext6.c: New test.
* intl/tst-gettext6.sh: New file.

17 years ago* po/nl.po: Update from translation team.
Ulrich Drepper [Sun, 30 Mar 2008 19:34:39 +0000 (19:34 +0000)] 
* po/nl.po: Update from translation team.

17 years ago* sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size
Ulrich Drepper [Sun, 30 Mar 2008 08:51:55 +0000 (08:51 +0000)] 
* sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size

provided through st_blksize, try the default size before giving up.

17 years ago* stdio-common/vfprintf.c (vfprintf): Correct overflow test.
Ulrich Drepper [Sun, 30 Mar 2008 05:39:35 +0000 (05:39 +0000)] 
* stdio-common/vfprintf.c (vfprintf): Correct overflow test.

17 years ago[BZ #5939]
Ulrich Drepper [Sun, 30 Mar 2008 03:30:38 +0000 (03:30 +0000)] 
[BZ #5939]

* sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection.

17 years ago* posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded
Ulrich Drepper [Sat, 29 Mar 2008 20:20:00 +0000 (20:20 +0000)] 
* posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded

error message.  POSIX today does not require the messages to be in
a specific form.  Suggested by Jim Meyering <jim@meyering.net>.

17 years ago[BZ #5979]
Ulrich Drepper [Sat, 29 Mar 2008 18:12:46 +0000 (18:12 +0000)] 
[BZ #5979]

* sunrpc/auth_unix.c: Unify printed strings.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/clnt_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/svc_tcp.c: Likewise.
* sunrpc/svc_udp.c: Likewise.
* sunrpc/svc_unix.c: Likewise.
* sunrpc/xdr.c: Likewise.
* sunrpc/xdr_array.c: Likewise.
* sunrpc/xdr_rec.c: Likewise.
* sunrpc/xdr_ref.c: Likewise.
* locale/programs/ld-time.c (time_finish): Unify messages.
* locale/programs/locfile.c (handle_copy): Fix typo.
* nscd/nscd.c (options): Fix typo.

17 years ago[BZ #5995]
Ulrich Drepper [Sat, 29 Mar 2008 17:17:40 +0000 (17:17 +0000)] 
[BZ #5995]

2008-03-29  Ulrich Drepper  <drepper@redhat.com>
[BZ #5995]
* stdlib/strtod_l.c: Use correct sign for result in one more
underflow case.
Patch by Eric Blake <ebb9@byu.net>.

17 years ago* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open cvs/fedora-glibc-20080328T1347
Ulrich Drepper [Thu, 27 Mar 2008 16:23:55 +0000 (16:23 +0000)] 
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open

and creat system calls.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system
call.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat
system calls.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.

17 years ago* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if
Ulrich Drepper [Thu, 27 Mar 2008 15:20:38 +0000 (15:20 +0000)] 
* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if

<linux/limits.h> has defined it.
* sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy
ARG_MAX value and prevent ARG_MAX from being defined by the kernel
headers.
* sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use
it instead of ARG_MAX.

17 years ago* posix/gai.conf: Fix comment for scope nullbits.
Ulrich Drepper [Wed, 26 Mar 2008 17:45:14 +0000 (17:45 +0000)] 
* posix/gai.conf: Fix comment for scope nullbits.

* sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present,
default to 128 bits for v4 mapped addresses.

17 years agoFix comment for scope nullbits.
Ulrich Drepper [Wed, 26 Mar 2008 17:44:50 +0000 (17:44 +0000)] 
Fix comment for scope nullbits.

17 years ago[BZ #5983] cvs/fedora-glibc-20080326T1041
Roland McGrath [Wed, 26 Mar 2008 08:21:56 +0000 (08:21 +0000)] 
[BZ #5983]

17 years ago* structs.def: Add pid field of struct pthread.
Roland McGrath [Wed, 26 Mar 2008 08:21:29 +0000 (08:21 +0000)] 
* structs.def: Add pid field of struct pthread.

* td_ta_thr_iter.c (iterate_thread_list): Take new arg MATCH_PID.
If a thread's pid does not match nor is < 0 while its tid matches
nor is < 0 and equal to -MATCH_PID, ignore it.
* td_thr_validate.c (td_thr_validate): Validate thread's pid/tid.

17 years ago2008-03-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 26 Mar 2008 08:21:10 +0000 (08:21 +0000)] 
2008-03-25  Roland McGrath  <roland@redhat.com>

* structs.def: Add pid field of struct pthread.
* td_ta_thr_iter.c (iterate_thread_list): Take new arg MATCH_PID.
If a thread's pid does not match nor is < 0 while its tid matches
nor is < 0 and equal to -MATCH_PID, ignore it.
* td_thr_validate.c (td_thr_validate): Validate thread's pid/tid.

17 years ago* sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER
Ulrich Drepper [Mon, 24 Mar 2008 20:01:15 +0000 (20:01 +0000)] 
* sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER

ptrace call to get the ieee_instruction_pointer from the kernel.
* sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER
ptrace call to set the ieee_instructtion_pointer.
* sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct):
Add comment that ieee_instruction_pointer is always 0.

17 years ago[BZ #5857]
Ulrich Drepper [Mon, 24 Mar 2008 19:57:55 +0000 (19:57 +0000)] 
[BZ #5857]

2008-03-09  Andreas Jaeger  <aj@suse.de>
[BZ #5857]
* sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18.
* sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise.
   Patch by Mark Elliott <mark.h.elliott@lmco.com>.

* math/libm-test.inc (nearbyint_test): Add new test cases from #5857.
(rint_test): Likewise.

17 years ago* nis/nis_call.c (nis_server_cache_search): Save errno around stat
Ulrich Drepper [Mon, 24 Mar 2008 19:28:00 +0000 (19:28 +0000)] 
* nis/nis_call.c (nis_server_cache_search): Save errno around stat

call.
(__nisfind_server): Similar for open readColdStartFile call.
Patch partially by Jim Meyering.
* nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno
around internal_setent call.

17 years ago* po/vi.po: New Vietnamese translation.
Ulrich Drepper [Mon, 24 Mar 2008 16:18:56 +0000 (16:18 +0000)] 
* po/vi.po: New Vietnamese translation.

17 years ago* sysdeps/unix/sysv/linux/adjtime.c: Correctly use
Ulrich Drepper [Mon, 24 Mar 2008 16:11:32 +0000 (16:11 +0000)] 
* sysdeps/unix/sysv/linux/adjtime.c: Correctly use

ADJ_OFFSET_SS_READ.

17 years ago* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags,
Ulrich Drepper [Mon, 24 Mar 2008 16:03:48 +0000 (16:03 +0000)] 
* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags,

remove CLONE_STOPPED.

17 years ago* locales/iso14651_t1_common: Add support for Devanagari script.
Ulrich Drepper [Mon, 24 Mar 2008 05:08:33 +0000 (05:08 +0000)] 
* locales/iso14651_t1_common: Add support for Devanagari script.

* locales/mr_IN: Adjust Devanagari sorting for mr_IN.
Patch by Pravin Satpute <psatpute@redhat.com>.

17 years agoRemove useless "if" before "free":
Ulrich Drepper [Wed, 19 Mar 2008 06:43:46 +0000 (06:43 +0000)] 
Remove useless "if" before "free":

* elf/ldconfig.c (parse_conf_include): Likewise.
* gmon/gmon.c (weak_alias): Likewise.
* iconv/gconv_conf.c (__gconv_get_path): Likewise.
* inet/rcmd.c (__validuser2_sa): Likewise.
* intl/bindtextdom.c (set_binding_values): Likewise.
* intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise.
* libio/genops.c (save_for_backup): Likewise.
* libio/wgenops.c (save_for_wbackup): Likewise.
* locale/programs/ld-collate.c (collate_read): Likewise.
* locale/programs/linereader.c (get_string): Likewise.
* nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise.
* nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise.
* resolv/res_debug.c (do_section): Likewise.
* sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise.
* sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise.
* sysdeps/posix/sprofil.c (__sprofil): Likewise.
* time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
* time/tzset.c (tzset_internal): Likewise.

17 years agoRemove useless "if" before "free".
Ulrich Drepper [Wed, 19 Mar 2008 06:43:34 +0000 (06:43 +0000)] 
Remove useless "if" before "free".

17 years ago* sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead
Jakub Jelinek [Mon, 17 Mar 2008 23:41:58 +0000 (23:41 +0000)] 
* sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead

of ASSEMBLER. nptl/
* sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Use __ASSEMBLER__ instead
of ASSEMBLER.
* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Likewise.
2008-03-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead
of ASSEMBLER.