]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
15 years ago powerpc: POWER7 optimizations ibm/2.8/master
Luis Machado [Tue, 13 Jul 2010 19:39:26 +0000 (16:39 -0300)] 
powerpc: POWER7 optimizations

    Add optimizations for classification functions (32-bit and 64-bit) and
    string functions (32-bit and 64-bit).

    powerpc: Re-work the Implies structure

    This patch tries to organize the implies files for ppc, since there are
    a number of processors and most of them are compatible with each other
    (backwards compatible).

    Having in mind that we start the search for processor-specific files in
    the sysdeps/unix/sysv/linux tree
    (sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]/fpu to be
    exact), we would like to grab any linux-specific code from that tree
    prior to going through the other tree (sysdeps/powerpc/...).

    For that, i removed the Implies files that were originally inside the
    fpu directories and placed then in the non-fpu directories (still inside
    the unix/sysv/linux tree). If no processor-specific/linux-specific files
    could be found, we "imply" the other tree's (sysdeps/powerpc/...) fpu
    directory for that specific processor AND also the non-fpu directory for
    that same tree.

    If, again, no processor-specific code is found, we read another Implies
    file that will point to the most compatible processor that we should
    grab code from, and so on, until we reach the power4 processor.

    So, in summary, the Implies files will live inside these directories
    now:

    * sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]
    * sysdeps/powerpc/powerpc[32|64]/[processor]

    Practical example of the order we will use to pick power6-specific code
    with the new structure.

    sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6/fpu ->
    sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6 ->
    sysdeps/powerpc/powerpc[32|64]/power6/fpu ->
    sysdeps/powerpc/powerpc[32|64]/power6 ->
    sysdeps/powerpc/powerpc[32|64]/power5+/fpu ->
    sysdeps/powerpc/powerpc[32|64]/power5+ ->
    sysdeps/powerpc/powerpc[32|64]/power5/fpu ->
    sysdeps/powerpc/powerpc[32|64]/power5 ->
    sysdeps/powerpc/powerpc[32|64]/power4/fpu ->
    sysdeps/powerpc/powerpc[32|64]/power4 (from here, it'll go to the
    generic path as usual)

15 years agoExperimental patch to default PPC64 to no-execstack support. This will need
Ryan Arnold [Fri, 11 Jun 2010 20:11:10 +0000 (15:11 -0500)] 
Experimental patch to default PPC64 to no-execstack support.  This will need
to be abstracted to remove the guards from common files and put the stack
initialization into a header file that can be overridden.

2010-06-11  Ryan S. Arnold  <rsa@us.ibm.com>

* elf/dl-load.c (_dl_map_object_from_fd): Set default stack_flags to
no-exec for ARCH_PPC64.
* elf/dl-support.c [_dl_stack_flags]: Set default stack_flags to
no-exec for ARCH_PPC64.
* elf/rtld.c (_dl_starting_up): Set default stack_flags to no-exec for
ARCH_PPC64.

15 years agoGit cherry-pick of commit a050d2a5e722876623a70d501c3cdfedfce8b5ce
Joshua W. Boyer [Tue, 1 Sep 2009 22:35:35 +0000 (15:35 -0700)] 
Git cherry-pick of commit a050d2a5e722876623a70d501c3cdfedfce8b5ce

Fix use of 64-bit insn in 32-bit memcpy for POWER6.

2009-08-31  Joshua W. Boyer  <jwboyer@linux.vnet.ibm.com>

* sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction
to srwi in 32-bit memcpy for power6.

15 years agoGit cherry-pick of commit 25bfbb9e0e610afaf6b67e5ee1a1a5338018c42e
Ryan S. Arnold [Tue, 16 Jun 2009 15:29:04 +0000 (08:29 -0700)] 
Git cherry-pick of commit 25bfbb9e0e610afaf6b67e5ee1a1a5338018c42e

Fix incorrect use of cmpldi in 32-bit PPC code.

The 32-bit PowerPC POWER6 memcpy uses the cmpldi insn when it should use a cmplwi.

2009-04-22  Ryan S. Arnold  <rsa@us.ibm.com>

[BZ #10107]
* sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi
with cmplwi.
* sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.

15 years agoGit cherry-pick of commit 4c14c8c348ee3e9a5fea3608cabcabdb275b6141
H.J. Lu [Sat, 5 Sep 2009 14:06:19 +0000 (07:06 -0700)] 
Git cherry-pick of commit 4c14c8c348ee3e9a5fea3608cabcabdb275b6141

2009-09-05  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: Support binutils 2.20.
* configure: regenerate.

15 years agoCherry-pick of git commit 6de79a499109333fe328c28e7ffaab2ded06b3f0
Ulrich Drepper [Fri, 12 Dec 2008 18:46:28 +0000 (18:46 +0000)] 
Cherry-pick of git commit 6de79a499109333fe328c28e7ffaab2ded06b3f0

2008-12-09  Jakub Jelinek  <jakub@redhat.com>

* pthread_mutex_lock.c (__pthread_mutex_lock): Handle only the
fast path here, for robust/PI/PP mutexes call
__pthread_mutex_lock_full.  Don't use switch, instead use a series
of ifs according to their probability.
(__pthread_mutex_lock_full): New function.
* pthread_mutex_unlock.c: Include assert.h.
(__pthread_mutex_unlock_usercnt): Handle only the
fast path here, for robust/PI/PP mutexes call
__pthread_mutex_unlock_full.  Don't use switch, instead use a series
of ifs according to their probability.
(__pthread_mutex_unlock_full): New function.
* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c
(__pthread_mutex_lock_full): Define.

15 years agoGit cherry-pick of commit efac1fce6212f0e471ce7fa2519b1d3a4a084ddc
Ulrich Drepper [Sat, 1 Nov 2008 19:51:41 +0000 (19:51 +0000)] 
Git cherry-pick of commit efac1fce6212f0e471ce7fa2519b1d3a4a084ddc

[BZ #6955]

2008-11-01  Ulrich Drepper  <drepper@redhat.com>
[BZ #6955]
* pthread_mutex_lock.c: Add support for private PI mutexes.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_trylock.c: Likewise.
* pthread_mutex_unlock.c: Likewise.
Patch mostly by Ben Jackson <ben@ben.com>.

15 years ago2009-09-18 Ryan S. Arnold <rsa@us.ibm.com>
Ryan Arnold [Fri, 18 Sep 2009 13:56:53 +0000 (08:56 -0500)] 
2009-09-18  Ryan S. Arnold  <rsa@us.ibm.com>

* ChangeLog: Updated to reflect following patch.

Selective Cherry Pick of Roland McGrath's head commit
7967983fd42380b090a63b53fe57a05e1d1c0b4f.  The configure.in and Makefile
parts are the same as Roland's patch but since this is a backport to a GLIBC
2.8 branch the individual configure files are different so those were
regenerated locally by Ryan.

Roland's ChangeLog is still relevant:

2009-09-15  Roland McGrath  <roland@redhat.com>

* aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE.
* nptl/sysdeps/pthread/configure: Regenerated.
* nptl/sysdeps/x86_64/configure: Regenerated.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/x86_64/elf/configure: Regenerated.

* Makefile (autoconf-it): Set execute bit only on top-level configure.

* configure.in: Let add-ons set $libc_add_on_config_subdirs to have
the effect of AC_CONFIG_SUBDIRS relative to the add-on directory.
* aclocal.m4 (GLIBC_PROVIDES): Add AC_CONFIG_SUBDIRS.
* configure: Regenerated.

This fix makes configure recurse into an add-on's standalone directories where
the directories in libc_add_on_config_subdirs (relative path to the add-on)
have their own pre-configured 'configure' and 'Makefile.in' that is maintained
'out-of-project'.

16 years agoPowerPC PRIVATE FUTEX support picked from git commits: 619cc2f69d1670f8b81196e31f6009...
Ryan Arnold [Wed, 5 Aug 2009 19:26:18 +0000 (14:26 -0500)] 
PowerPC PRIVATE FUTEX support picked from git commits: 619cc2f69d1670f8b81196e31f60092334bf562b 1311b164df26ee49740b805d4f32fffde163b1e6

16 years agoChange prototypes to use __iovec for struct iovec * parameters names rather
Ryan Arnold [Mon, 3 Aug 2009 16:51:43 +0000 (11:51 -0500)] 
Change prototypes to use __iovec for struct iovec * parameters names rather
than __iovector which is reserved in GCC 4.3.

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

* include/sys/uio.h (__readv, __libc_readv, __writev, __libc_writev):
Change prototypes to use __iovec for struct iovec * parameters rather
than __iovector which is a reserved word in GCC 4.3.

16 years agoThis patch corrects compile errors when we build -maltivec
Steven Munroe [Fri, 31 Jul 2009 19:25:58 +0000 (14:25 -0500)] 
This patch corrects compile errors when we build -maltivec

where gcc-4.3 takes vector as a key word.

2009-07-31  Steven Munroe  <munroesj@us.ibm.com>

* misc/readv.c (__libc_readv): Change vector to io_vector to
avoid -altivec keyword.
* misc/writev.c (__libc_writev): Ditto.
* sysdeps/posix/readv.c (__libc_readv): Ditto.
* sysdeps/posix/writev.c (__libc_writev): Ditto.
* sysdeps/unix/sysv/linux/readv.c (do_readv, __libc_readv):
Ditto.
* sysdeps/unix/sysv/linux/writev.c (do_writev, __libc_writev):
Ditto.

16 years ago(AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM in elf/elf.h.
Ulrich Drepper [Sun, 11 Jan 2009 02:43:18 +0000 (02:43 +0000)] 
(AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM in elf/elf.h.

This patch was missing from the previous AT_BASE_PLATFORM patch.  We need this
define for full support.

16 years agoHand merged ChangeLog and git cherry-pick of commit eb29449a9a601f535cab50068e02aee0a...
Ulrich Drepper [Sat, 9 May 2009 21:58:12 +0000 (21:58 +0000)] 
Hand merged ChangeLog and git cherry-pick of commit eb29449a9a601f535cab50068e02aee0aa1ed379

    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.

16 years agoHand merged ChangeLog and git cherry-pick of commit 23b6b4664622ba8efb728b1cd02c2992a...
Ulrich Drepper [Sat, 9 May 2009 15:59:55 +0000 (15:59 +0000)] 
Hand merged ChangeLog and git cherry-pick of commit 23b6b4664622ba8efb728b1cd02c2992a4a1b717

[BZ #10118]

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 ago2008-08-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 18 Aug 2008 09:42:17 +0000 (09:42 +0000)] 
2008-08-18 Roland McGrath <roland@redhat.com>

* configure.in (--with-cpu): Check compiler support for -march/-mcpu.
* configure: Regenerated.
* config.make.in (cflags-cpu): New substituted variable.
(with-cpu): Variable removed.
* Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu).

16 years agoRevert "Add Linux fallocate support."
Ryan Arnold [Mon, 27 Jul 2009 21:10:05 +0000 (16:10 -0500)] 
Revert "Add Linux fallocate support."

This reverts commit a14f7dce07b58c6af4d7af89eb596320ecee7f9b.

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.