platform/upstream/glibc.git
12 years agoUse LP_OP(mov) and RDI_LP on pointer
H.J. Lu [Tue, 15 May 2012 17:19:11 +0000 (10:19 -0700)]
Use LP_OP(mov) and RDI_LP on pointer

12 years agoReplace 8-byte data alignment with LP_SIZE alignment
H.J. Lu [Tue, 15 May 2012 17:17:30 +0000 (10:17 -0700)]
Replace 8-byte data alignment with LP_SIZE alignment

12 years agoLoad pointer to TID into R10_LP
H.J. Lu [Tue, 15 May 2012 17:15:35 +0000 (10:15 -0700)]
Load pointer to TID into R10_LP

12 years agoAdd x32 dl-cache.h
H.J. Lu [Tue, 15 May 2012 17:14:34 +0000 (10:14 -0700)]
Add x32 dl-cache.h

12 years agoAdd x32 getcpu and sched_getcpu
H.J. Lu [Tue, 15 May 2012 17:13:55 +0000 (10:13 -0700)]
Add x32 getcpu and sched_getcpu

12 years agoUse LP_SIZE and load timeout pointer into RDX_LP
H.J. Lu [Tue, 15 May 2012 17:03:56 +0000 (10:03 -0700)]
Use LP_SIZE and load timeout pointer into RDX_LP

12 years agoUse RSP_LP to operate on stack in stackinfo.h
H.J. Lu [Tue, 15 May 2012 17:00:56 +0000 (10:00 -0700)]
Use RSP_LP to operate on stack in stackinfo.h

12 years agoLoad pointers into RAX_LP in strcmp-sse42.S
H.J. Lu [Tue, 15 May 2012 16:59:31 +0000 (09:59 -0700)]
Load pointers into RAX_LP in strcmp-sse42.S

12 years agoLoad cache sizes into R*_LP in memcpy-ssse3.S
H.J. Lu [Tue, 15 May 2012 16:58:28 +0000 (09:58 -0700)]
Load cache sizes into R*_LP in memcpy-ssse3.S

12 years agoLoad cache sizes into R*_LP in memcpy-ssse3-back.S
H.J. Lu [Tue, 15 May 2012 16:56:17 +0000 (09:56 -0700)]
Load cache sizes into R*_LP in memcpy-ssse3-back.S

12 years agoLoad pointers into R*_LP in strcmp.S
H.J. Lu [Tue, 15 May 2012 16:54:05 +0000 (09:54 -0700)]
Load pointers into R*_LP in strcmp.S

12 years agoLoad cache sizes into R11_LP/R8_LP
H.J. Lu [Tue, 15 May 2012 16:52:35 +0000 (09:52 -0700)]
Load cache sizes into R11_LP/R8_LP

12 years agoLoad cache size into R8_LP
H.J. Lu [Tue, 15 May 2012 16:35:43 +0000 (09:35 -0700)]
Load cache size into R8_LP

12 years agoPowerPC - logb[f|l] optimization for POWER7
Adhemerval Zanella [Tue, 15 May 2012 15:32:28 +0000 (10:32 -0500)]
PowerPC - logb[f|l] optimization for POWER7

This patch provides optimized logb (1.2x on PPC32 and 2.5x on PPC64),
logbf (1.1x on PPC32 and 2.2x on PPC64), and logbl (1.3x on PPC32 and
50% on PPC64) for the POWER7 processor.

12 years agoAdd fixed ports bugs to list in NEWS.
Joseph Myers [Tue, 15 May 2012 10:37:04 +0000 (10:37 +0000)]
Add fixed ports bugs to list in NEWS.

12 years agoRemove README.libm.
Joseph Myers [Tue, 15 May 2012 10:24:47 +0000 (10:24 +0000)]
Remove README.libm.

12 years agoAllow a single-threaded program to cancel itself
Siddhesh Poyarekar [Tue, 15 May 2012 04:11:27 +0000 (09:41 +0530)]
Allow a single-threaded program to cancel itself

There is nothing in the POSIX specification to disallow a
single-threaded program from cancelling itself, so we forcibly enable
multiple_threads to allow the next available cancellation point in the
thread to run.

Also added additional tests to cover various cancellation scenarios.

12 years agoAdd x32 support to tcbhead_t
H.J. Lu [Tue, 15 May 2012 03:58:24 +0000 (20:58 -0700)]
Add x32 support to tcbhead_t

12 years agoUpdate sysdeps/x86_64/start.S for x32
H.J. Lu [Tue, 15 May 2012 00:50:41 +0000 (17:50 -0700)]
Update sysdeps/x86_64/start.S for x32

12 years agoAdd __PTHREAD_RWLOCK_INT_FLAGS_SHARED
H.J. Lu [Mon, 14 May 2012 23:48:59 +0000 (16:48 -0700)]
Add __PTHREAD_RWLOCK_INT_FLAGS_SHARED

12 years agoAdd sysdeps/x86_64/{64,x32}/shlib-versions
H.J. Lu [Mon, 14 May 2012 23:23:57 +0000 (16:23 -0700)]
Add sysdeps/x86_64/{64,x32}/shlib-versions

12 years agoUse _dl_fatal_printf instead of a private variant.
Roland McGrath [Fri, 11 May 2012 18:41:35 +0000 (11:41 -0700)]
Use _dl_fatal_printf instead of a private variant.

12 years agoMention BZ #14103/#14104 in News and ChangeLog
H.J. Lu [Mon, 14 May 2012 22:34:37 +0000 (15:34 -0700)]
Mention BZ #14103/#14104 in News and ChangeLog

12 years agoImprove consistency of --enable-kernel and default builds.
Joseph Myers [Mon, 14 May 2012 22:22:52 +0000 (22:22 +0000)]
Improve consistency of --enable-kernel and default builds.

12 years agoUpdate elf_machine_load_address for x32
H.J. Lu [Mon, 14 May 2012 22:17:30 +0000 (15:17 -0700)]
Update elf_machine_load_address for x32

12 years agoUpdate x86_64 PTR_MANGLE/PTR_DEMANGLE for x32
H.J. Lu [Mon, 14 May 2012 22:16:27 +0000 (15:16 -0700)]
Update x86_64 PTR_MANGLE/PTR_DEMANGLE for x32

12 years agoDefine LP_SIZE/LP_OP/ASM_ADDR/RXX_LP for x86-64
H.J. Lu [Mon, 14 May 2012 21:56:07 +0000 (14:56 -0700)]
Define LP_SIZE/LP_OP/ASM_ADDR/RXX_LP for x86-64

12 years agoAdd x32 dl-machine.h
H.J. Lu [Mon, 14 May 2012 20:21:46 +0000 (13:21 -0700)]
Add x32 dl-machine.h

12 years agoDo not build manual in source dir
Andreas Jaeger [Mon, 14 May 2012 19:45:48 +0000 (21:45 +0200)]
Do not build manual in source dir

[BZ #13750]
Do not build manual anymore in the source dir. Also clean up the
Makefile and remove rules that have been used previously
when we had a stand-alone Makefile which was obsoleted recently.

12 years agoAdd x32 pthread types
H.J. Lu [Mon, 14 May 2012 19:56:56 +0000 (12:56 -0700)]
Add x32 pthread types

12 years agoRemove unused variable in linux/getcwd.c
Andreas Jaeger [Mon, 14 May 2012 14:27:05 +0000 (16:27 +0200)]
Remove unused variable in linux/getcwd.c

12 years agoRemove unused functions from i386/mathinline.h
Andreas Jaeger [Mon, 14 May 2012 14:06:58 +0000 (16:06 +0200)]
Remove unused functions from i386/mathinline.h

12 years agoRemove pre-2.2 Linux kernel support.
Joseph Myers [Mon, 14 May 2012 14:11:02 +0000 (14:11 +0000)]
Remove pre-2.2 Linux kernel support.

12 years agoFix concat example
Andreas Jaeger [Mon, 14 May 2012 13:30:30 +0000 (15:30 +0200)]
Fix concat example

2012-05-14  Andreas Jaeger  <aj@suse.de>

* manual/string.texi (Copying and Concatenation): Add missing
variable in concat example.
Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.

12 years agoUse __builtin_clzll on int64 in __logb
H.J. Lu [Mon, 14 May 2012 12:04:11 +0000 (05:04 -0700)]
Use __builtin_clzll on int64 in __logb

12 years agoFree memory at exit in check_pf.c
H.J. Lu [Mon, 14 May 2012 12:02:08 +0000 (05:02 -0700)]
Free memory at exit in check_pf.c

12 years agoAdd optimized expf for x86
Liubov Dmitrieva [Mon, 14 May 2012 09:18:44 +0000 (11:18 +0200)]
Add optimized expf for x86

2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>

* sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
* sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
* sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
* sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.

12 years agoNEWS: update ia64 info
Mike Frysinger [Mon, 14 May 2012 05:02:03 +0000 (01:02 -0400)]
NEWS: update ia64 info

Mention that ia64 has moved into ports/, and drop the old build/install
details that don't belong in the NEWS file in the first place.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoFix warning in powerpc bcopy
Andreas Schwab [Sat, 12 May 2012 15:40:53 +0000 (17:40 +0200)]
Fix warning in powerpc bcopy

12 years agoAvoid dup3 PLT usage.
Thomas Schwinge [Sat, 12 May 2012 02:53:04 +0000 (10:53 +0800)]
Avoid dup3 PLT usage.

Fixes fallout from 5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.

12 years agoAdd x32 support to STACK_CHK_GUARD
H.J. Lu [Fri, 11 May 2012 23:31:34 +0000 (16:31 -0700)]
Add x32 support to STACK_CHK_GUARD

12 years agoUpdate comments for CALL_THREAD_FCT
H.J. Lu [Fri, 11 May 2012 21:58:18 +0000 (14:58 -0700)]
Update comments for CALL_THREAD_FCT

12 years agoAdd x32 support to TLS_LE/TLS_IE/TLS_GD
H.J. Lu [Fri, 11 May 2012 21:35:56 +0000 (14:35 -0700)]
Add x32 support to TLS_LE/TLS_IE/TLS_GD

12 years agoAdd sysdeps/x86_64/x32/tls.h
H.J. Lu [Fri, 11 May 2012 21:33:12 +0000 (14:33 -0700)]
Add sysdeps/x86_64/x32/tls.h

12 years agoMark sparc %fsr load and store inline asms as volatile.
David S. Miller [Fri, 11 May 2012 20:58:41 +0000 (13:58 -0700)]
Mark sparc %fsr load and store inline asms as volatile.

* sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
* sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
(_FPU_SETCW): Likewise.

12 years agoCheck if RTLD_SAVESPACE_SSE is aligned to 32 bytes
H.J. Lu [Fri, 11 May 2012 18:50:11 +0000 (11:50 -0700)]
Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes

12 years agoFix a typo in ChangeLo.
H.J. Lu [Fri, 11 May 2012 18:34:48 +0000 (11:34 -0700)]
Fix a typo in ChangeLo.

12 years agoComplete GB18030 charmap
Andreas Schwab [Mon, 6 Feb 2012 12:30:45 +0000 (13:30 +0100)]
Complete GB18030 charmap

12 years agoUse uint64_t on 64-bit integer
H.J. Lu [Fri, 11 May 2012 17:14:57 +0000 (10:14 -0700)]
Use uint64_t on 64-bit integer

12 years agoReplace movq/%q0 with mov/%0 in THREAD_SELF
H.J. Lu [Fri, 11 May 2012 17:13:54 +0000 (10:13 -0700)]
Replace movq/%q0 with mov/%0 in THREAD_SELF

12 years agoCheck __x86_64__ for __cleanup_fct_attribute
H.J. Lu [Fri, 11 May 2012 17:12:42 +0000 (10:12 -0700)]
Check __x86_64__ for __cleanup_fct_attribute

12 years agoCheck __PTHREAD_MUTEX_HAVE_PREV for mutex initializers
H.J. Lu [Fri, 11 May 2012 17:10:37 +0000 (10:10 -0700)]
Check __PTHREAD_MUTEX_HAVE_PREV for mutex initializers

12 years agoCheck __PTHREAD_MUTEX_HAVE_PREV for mutex prev
H.J. Lu [Fri, 11 May 2012 17:08:57 +0000 (10:08 -0700)]
Check __PTHREAD_MUTEX_HAVE_PREV for mutex prev

12 years ago[BZ #13673] Replace FSF snail mail address with URL.
Thomas Schwinge [Fri, 11 May 2012 09:36:03 +0000 (17:36 +0800)]
[BZ #13673] Replace FSF snail mail address with URL.

12 years ago14012 fixed by cross-rpcgen changes.
Joseph Myers [Fri, 11 May 2012 09:24:15 +0000 (09:24 +0000)]
14012 fixed by cross-rpcgen changes.

12 years agoHurd bugs fixed: #766, #3748, #3906.
Thomas Schwinge [Fri, 11 May 2012 06:20:11 +0000 (14:20 +0800)]
Hurd bugs fixed: #766, #3748, #3906.

12 years agoDon't handle R_X86_64_RELATIVE64 in ld.so
H.J. Lu [Fri, 11 May 2012 02:24:54 +0000 (19:24 -0700)]
Don't handle R_X86_64_RELATIVE64 in ld.so

12 years agoHandle R_X86_64_RELATIVE64 and R_X86_64_64 for x32
H.J. Lu [Fri, 11 May 2012 00:05:06 +0000 (17:05 -0700)]
Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32

12 years agoHurd: Define some posix types
Samuel Thibault [Thu, 10 May 2012 22:55:50 +0000 (15:55 -0700)]
Hurd: Define some posix types

12 years agoHurd: Fix paths in paths.h
Samuel Thibault [Thu, 10 May 2012 22:55:06 +0000 (15:55 -0700)]
Hurd: Fix paths in paths.h

12 years agoHurd: fix mode type for openat
Samuel Thibault [Thu, 10 May 2012 22:54:27 +0000 (15:54 -0700)]
Hurd: fix mode type for openat

12 years agoHurd: Fix port deallocation on mknod error.
Samuel Thibault [Thu, 10 May 2012 22:52:43 +0000 (15:52 -0700)]
Hurd: Fix port deallocation on mknod error.

12 years agoHurd: Fix __dup3 _hurd_dtable_lock usage.
Samuel Thibault [Thu, 10 May 2012 22:49:30 +0000 (15:49 -0700)]
Hurd: Fix __dup3 _hurd_dtable_lock usage.

12 years agoHurd: Support --prefix=/usr special-casing for all GNU systems.
Thomas Schwinge [Thu, 10 May 2012 22:46:14 +0000 (15:46 -0700)]
Hurd: Support --prefix=/usr special-casing for all GNU systems.

12 years agoHurd: struct timespec members in struct stat
Thomas Schwinge [Thu, 10 May 2012 22:40:09 +0000 (15:40 -0700)]
Hurd: struct timespec members in struct stat

12 years agoHurd: avoid PLT call to strtoul
Thomas Schwinge [Thu, 10 May 2012 22:37:23 +0000 (15:37 -0700)]
Hurd: avoid PLT call to strtoul

12 years agoHurd: hurdsock: reject negative domains
Pino Toscano [Thu, 10 May 2012 22:35:47 +0000 (15:35 -0700)]
Hurd: hurdsock: reject negative domains

12 years agoHurd: Fix setres[ug]id handling of -1
Samuel Thibault [Thu, 10 May 2012 22:34:53 +0000 (15:34 -0700)]
Hurd: Fix setres[ug]id handling of -1

12 years agoHurd: _hurd_select: check for invalid parameter values
Pino Toscano [Thu, 10 May 2012 22:32:53 +0000 (15:32 -0700)]
Hurd: _hurd_select: check for invalid parameter values

12 years agoHurd: Fix sbrk beyond 128MB
Samuel Thibault [Thu, 10 May 2012 22:31:37 +0000 (15:31 -0700)]
Hurd: Fix sbrk beyond 128MB

12 years agoHurd: recvfrom(): take into account null address ports
Pino Toscano [Thu, 10 May 2012 22:30:38 +0000 (15:30 -0700)]
Hurd: recvfrom(): take into account null address ports

12 years agoHurd: readlinkat
Samuel Thibault [Thu, 10 May 2012 22:29:55 +0000 (15:29 -0700)]
Hurd: readlinkat

12 years agoHurd: Update posix_opt.h
Samuel Thibault [Thu, 10 May 2012 22:28:33 +0000 (15:28 -0700)]
Hurd: Update posix_opt.h

12 years agoHurd: Fix POSIX 2008 visibility
Samuel Thibault [Thu, 10 May 2012 22:27:04 +0000 (15:27 -0700)]
Hurd: Fix POSIX 2008 visibility

12 years agoHurd: Build pldd also if use-ldconfig != yes || build-shared != yes
Thomas Schwinge [Thu, 10 May 2012 22:26:10 +0000 (15:26 -0700)]
Hurd: Build pldd also if use-ldconfig != yes || build-shared != yes

12 years agoHurd: opendirat
Thomas Schwinge [Thu, 10 May 2012 22:23:51 +0000 (15:23 -0700)]
Hurd: opendirat

12 years agoHurd: empty file names fail with ENOENT
Samuel Thibault [Thu, 10 May 2012 22:21:18 +0000 (15:21 -0700)]
Hurd: empty file names fail with ENOENT

12 years agoHurd: hidden_nolink macro for NO_HIDDEN case.
Thomas Schwinge [Thu, 10 May 2012 22:19:24 +0000 (15:19 -0700)]
Hurd: hidden_nolink macro for NO_HIDDEN case.

12 years agoHurd: mmap deficiencies
Thomas Schwinge [Thu, 10 May 2012 22:17:40 +0000 (15:17 -0700)]
Hurd: mmap deficiencies

12 years agoHurd: Fix mlock in all cases except non-readable pages.
Samuel Thibault [Thu, 10 May 2012 22:17:03 +0000 (15:17 -0700)]
Hurd: Fix mlock in all cases except non-readable pages.

12 years agoHurd: Fix mkdir / error value
Samuel Thibault [Thu, 10 May 2012 22:16:07 +0000 (15:16 -0700)]
Hurd: Fix mkdir / error value

12 years agoHurd: Add missing includes
Thomas Schwinge [Thu, 10 May 2012 22:13:54 +0000 (15:13 -0700)]
Hurd: Add missing includes

12 years agoHurd: mach: compliance fixes for nanosleep
Pino Toscano [Thu, 10 May 2012 21:53:21 +0000 (14:53 -0700)]
Hurd: mach: compliance fixes for nanosleep

12 years agoHurd: Include RPC user stubs in linkobj/libc.so
Thomas Schwinge [Thu, 10 May 2012 21:52:03 +0000 (14:52 -0700)]
Hurd: Include RPC user stubs in linkobj/libc.so

12 years agoHurd: Fix value of __libc_stack_end
Samuel Thibault [Thu, 10 May 2012 21:51:22 +0000 (14:51 -0700)]
Hurd: Fix value of __libc_stack_end

12 years agoHurd: libc_once_get
Thomas Schwinge [Thu, 10 May 2012 21:50:14 +0000 (14:50 -0700)]
Hurd: libc_once_get

12 years agoHurd: #include <kernel-features.h>
Thomas Schwinge [Thu, 10 May 2012 21:39:53 +0000 (14:39 -0700)]
Hurd: #include <kernel-features.h>

12 years agoAdd a missing #include.
Roland McGrath [Thu, 10 May 2012 21:38:43 +0000 (14:38 -0700)]
Add a missing #include.

12 years agoHurd: setitimer.c: Fix unlock in error patch
Samuel Thibault [Thu, 10 May 2012 20:33:47 +0000 (13:33 -0700)]
Hurd: setitimer.c: Fix unlock in error patch

12 years agoHurd: ioctl() incorrectly decodes argument
Samuel Thibault [Thu, 10 May 2012 20:26:40 +0000 (13:26 -0700)]
Hurd: ioctl() incorrectly decodes argument

12 years agoHurd: Avoid init-first.c miscompilation.
Thomas Schwinge [Thu, 10 May 2012 20:20:47 +0000 (13:20 -0700)]
Hurd: Avoid init-first.c miscompilation.

12 years agoHurd: dup3
Thomas Schwinge [Thu, 10 May 2012 20:15:40 +0000 (13:15 -0700)]
Hurd: dup3

12 years agoHurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.
Samuel Thibault [Thu, 10 May 2012 20:10:21 +0000 (13:10 -0700)]
Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.

12 years agoHurd: Missing critical region locks.
Samuel Thibault [Thu, 10 May 2012 20:00:01 +0000 (13:00 -0700)]
Hurd: Missing critical region locks.

12 years agoHurd: Fix signal-catching functions.
Samuel Thibault [Thu, 10 May 2012 19:59:00 +0000 (12:59 -0700)]
Hurd: Fix signal-catching functions.

12 years agoHurd: bits/socket.h
Thomas Schwinge [Thu, 10 May 2012 19:56:56 +0000 (12:56 -0700)]
Hurd: bits/socket.h

12 years agoHurd: accept4
Thomas Schwinge [Thu, 10 May 2012 19:53:02 +0000 (12:53 -0700)]
Hurd: accept4

12 years agoHurd: ____longjmp_chk
Thomas Schwinge [Thu, 10 May 2012 19:47:31 +0000 (12:47 -0700)]
Hurd: ____longjmp_chk

12 years agoHurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6
Samuel Thibault [Thu, 10 May 2012 19:47:00 +0000 (12:47 -0700)]
Hurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6

12 years agoHurd: O_CLOEXEC in rtld
Thomas Schwinge [Thu, 10 May 2012 19:43:01 +0000 (12:43 -0700)]
Hurd: O_CLOEXEC in rtld