platform/upstream/glibc.git
12 years agoFor [BZ #208], accumulate malloc stats over all arenas.
Paul Pluzhnikov [Wed, 16 May 2012 23:46:10 +0000 (16:46 -0700)]
For [BZ #208], accumulate malloc stats over all arenas.

12 years agoBZ#10375: Configure magic to use -fno-stack-protector if needed.
Roland McGrath [Mon, 14 May 2012 23:08:25 +0000 (16:08 -0700)]
BZ#10375: Configure magic to use -fno-stack-protector if needed.

12 years agoBZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.
Roland McGrath [Mon, 14 May 2012 22:42:52 +0000 (15:42 -0700)]
BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.

12 years agoRemove redundant ChangeLog header lines.
Roland McGrath [Wed, 16 May 2012 22:32:06 +0000 (15:32 -0700)]
Remove redundant ChangeLog header lines.

12 years agoUse __syscall_slong_t in bits/mqueue.h
H.J. Lu [Wed, 16 May 2012 21:39:45 +0000 (14:39 -0700)]
Use __syscall_slong_t in bits/mqueue.h

12 years agoAdd x32 suppport to x86_64/bits/stat.h
H.J. Lu [Wed, 16 May 2012 20:23:20 +0000 (13:23 -0700)]
Add x32 suppport to x86_64/bits/stat.h

12 years agoAdd x86-64 bits/typesizes.h
H.J. Lu [Wed, 16 May 2012 20:16:18 +0000 (13:16 -0700)]
Add x86-64 bits/typesizes.h

12 years agoAdd x86_64/bits/ipctypes.h
H.J. Lu [Wed, 16 May 2012 20:02:28 +0000 (13:02 -0700)]
Add x86_64/bits/ipctypes.h

12 years agoUse __syscall_ulong_t in bits/ipc.h
H.J. Lu [Wed, 16 May 2012 20:01:32 +0000 (13:01 -0700)]
Use __syscall_ulong_t in bits/ipc.h

12 years agoAdd x32 support to sys/ucontext.h
H.J. Lu [Wed, 16 May 2012 19:52:45 +0000 (12:52 -0700)]
Add x32 support to sys/ucontext.h

12 years agoAdd x32 support to <sys/user.h>
H.J. Lu [Wed, 16 May 2012 19:17:31 +0000 (12:17 -0700)]
Add x32 support to <sys/user.h>

12 years agoAdd x32 gmp-mparam.h
H.J. Lu [Wed, 16 May 2012 18:53:49 +0000 (11:53 -0700)]
Add x32 gmp-mparam.h

12 years agoAdd x32 ffs
H.J. Lu [Wed, 16 May 2012 18:52:35 +0000 (11:52 -0700)]
Add x32 ffs

12 years agoUpdate Texinfo version requirement.
Joseph Myers [Wed, 16 May 2012 18:50:39 +0000 (18:50 +0000)]
Update Texinfo version requirement.

12 years agoUpdate __STDC_ISO_10646__.
Joseph Myers [Wed, 16 May 2012 18:49:01 +0000 (18:49 +0000)]
Update __STDC_ISO_10646__.

12 years agoAdd x32 support to x86_64/bits/shm.h
H.J. Lu [Wed, 16 May 2012 18:48:54 +0000 (11:48 -0700)]
Add x32 support to x86_64/bits/shm.h

12 years agoAdd x32 support to x86_64/bits/sem.h
H.J. Lu [Wed, 16 May 2012 18:47:22 +0000 (11:47 -0700)]
Add x32 support to x86_64/bits/sem.h

12 years agoAdd x32 support to x86_64/bits/msq.h
H.J. Lu [Wed, 16 May 2012 18:45:19 +0000 (11:45 -0700)]
Add x32 support to x86_64/bits/msq.h

12 years agoCheck __x86_64__ in x86_64/bits/a.out.h
H.J. Lu [Wed, 16 May 2012 17:35:34 +0000 (10:35 -0700)]
Check __x86_64__ in x86_64/bits/a.out.h

12 years agoAdd x86-64 <bits/siginfo.h>
H.J. Lu [Wed, 16 May 2012 17:31:10 +0000 (10:31 -0700)]
Add x86-64 <bits/siginfo.h>

12 years agoAdd dummy files for x32
H.J. Lu [Wed, 16 May 2012 17:24:02 +0000 (10:24 -0700)]
Add dummy files for x32

12 years agoReplace long int with __syscall_slong_t in sys/msg.h
H.J. Lu [Wed, 16 May 2012 17:22:18 +0000 (10:22 -0700)]
Replace long int with __syscall_slong_t in sys/msg.h

12 years agoCheck __x86_64__ in x86-64 sys/reg.h
H.J. Lu [Wed, 16 May 2012 17:20:45 +0000 (10:20 -0700)]
Check __x86_64__ in x86-64 sys/reg.h

12 years agoAdd x32 support to sys/procfs.h
H.J. Lu [Wed, 16 May 2012 17:20:06 +0000 (10:20 -0700)]
Add x32 support to sys/procfs.h

12 years agoUse ULL suffix on DR_CONTROL_RESERVED
H.J. Lu [Wed, 16 May 2012 17:19:17 +0000 (10:19 -0700)]
Use ULL suffix on DR_CONTROL_RESERVED

12 years agoAdd uintptr_t cast to GET_PC/GET_FRAME/GET_STACK
H.J. Lu [Wed, 16 May 2012 17:18:30 +0000 (10:18 -0700)]
Add uintptr_t cast to GET_PC/GET_FRAME/GET_STACK

12 years agoUse 64bit filesystem functions for x32
H.J. Lu [Wed, 16 May 2012 17:01:44 +0000 (10:01 -0700)]
Use 64bit filesystem functions for x32

12 years agoTrack dependencies for .oS-only objects
Andreas Schwab [Sat, 5 May 2012 07:56:47 +0000 (09:56 +0200)]
Track dependencies for .oS-only objects

12 years agoFix dependency tracking on cross-rpcgen-objs
Andreas Schwab [Sat, 12 May 2012 06:40:20 +0000 (08:40 +0200)]
Fix dependency tracking on cross-rpcgen-objs

12 years agoRemove __snseconds_t
H.J. Lu [Wed, 16 May 2012 01:05:26 +0000 (18:05 -0700)]
Remove __snseconds_t

12 years agoAdd __SYSCALL_{S,U}LONG_TYPE to hurd typesizes.h
H.J. Lu [Wed, 16 May 2012 00:54:06 +0000 (17:54 -0700)]
Add __SYSCALL_{S,U}LONG_TYPE to hurd typesizes.h

12 years agoAdd __syscall_slong_t and __syscall_ulong_t
H.J. Lu [Wed, 16 May 2012 00:41:38 +0000 (17:41 -0700)]
Add __syscall_slong_t and __syscall_ulong_t

12 years agoUse R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE
H.J. Lu [Tue, 15 May 2012 23:43:11 +0000 (16:43 -0700)]
Use R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE

12 years agoRemove fallback definitions of __NR_set_robust_list.
Joseph Myers [Tue, 15 May 2012 23:36:35 +0000 (23:36 +0000)]
Remove fallback definitions of __NR_set_robust_list.

12 years agoSplit up stackguard-macros.h into sysdeps directories.
Joseph Myers [Tue, 15 May 2012 23:34:30 +0000 (23:34 +0000)]
Split up stackguard-macros.h into sysdeps directories.

12 years agoAdd x86_64 Implies-after files
H.J. Lu [Tue, 15 May 2012 21:37:59 +0000 (14:37 -0700)]
Add x86_64 Implies-after files

12 years agoAvoid plain "aligned" attributes in installed headers.
Joseph Myers [Tue, 15 May 2012 21:26:09 +0000 (21:26 +0000)]
Avoid plain "aligned" attributes in installed headers.

12 years agoUse R*_LP to load pointer and operate on stack
H.J. Lu [Tue, 15 May 2012 21:25:31 +0000 (14:25 -0700)]
Use R*_LP to load pointer and operate on stack

12 years agoUse R*_LP to call _dl_profile_fixup and frame size
H.J. Lu [Tue, 15 May 2012 21:24:00 +0000 (14:24 -0700)]
Use R*_LP to call _dl_profile_fixup and frame size

12 years agoUse LP_OP(cmp) and RCX_LP on dep_mutex pointer
H.J. Lu [Tue, 15 May 2012 20:39:25 +0000 (13:39 -0700)]
Use LP_OP(cmp) and RCX_LP on dep_mutex pointer

12 years agoAdd x32 init-first.c
H.J. Lu [Tue, 15 May 2012 19:51:18 +0000 (12:51 -0700)]
Add x32 init-first.c

12 years agoAdd sysdeps/x86_64/x32/sysdep.h
H.J. Lu [Tue, 15 May 2012 19:49:42 +0000 (12:49 -0700)]
Add sysdeps/x86_64/x32/sysdep.h

12 years agoUse LP_OP(op), LP_SIZE and ASM_ADDR in sem_wait.S
H.J. Lu [Tue, 15 May 2012 19:48:26 +0000 (12:48 -0700)]
Use LP_OP(op), LP_SIZE and ASM_ADDR in sem_wait.S

12 years agose LP_OP(op), LP_SIZE and ASM_ADDR in sem_timedwait.S
H.J. Lu [Tue, 15 May 2012 19:47:31 +0000 (12:47 -0700)]
se LP_OP(op), LP_SIZE and ASM_ADDR in sem_timedwait.S

12 years agoUse R*_LP on SP and PC in __longjmp.S and setjmp.S
H.J. Lu [Tue, 15 May 2012 19:46:04 +0000 (12:46 -0700)]
Use R*_LP on SP and PC in __longjmp.S and setjmp.S

12 years agoLog2 and log10 for wordsize-64.
Adhemerval Zanella [Mon, 14 May 2012 19:49:42 +0000 (16:49 -0300)]
Log2 and log10 for wordsize-64.

This patch also fixes indentation on default dbl-64 code.

12 years agoRemove duplicate #include <not-cancel.h> in Linux getsysstats.c
Chris Metcalf [Tue, 15 May 2012 19:02:58 +0000 (15:02 -0400)]
Remove duplicate #include <not-cancel.h> in Linux getsysstats.c

12 years agoFix formatting in last change.
Roland McGrath [Tue, 15 May 2012 18:45:42 +0000 (11:45 -0700)]
Fix formatting in last change.

12 years agoAvoid race in nscd
Andreas Jaeger [Tue, 15 May 2012 18:35:53 +0000 (20:35 +0200)]
Avoid race in nscd

2012-05-15  Jeff Law  <law@redhat.com>
            Andreas Jaeger  <aj@suse.de>

        [BZ #13594]
        * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
        out from...
        * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
        * nscd/nscd-client.h: Add __nscd_acquire_maplock.
        * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
        code changing __hst_map_handle.map.

12 years agoconfigure change to handle Implies-{before,after} files
Roland McGrath [Wed, 9 May 2012 22:45:53 +0000 (15:45 -0700)]
configure change to handle Implies-{before,after} files

12 years agoUse LP_OP(cmp) on NWAITERS
H.J. Lu [Tue, 15 May 2012 17:25:51 +0000 (10:25 -0700)]
Use LP_OP(cmp) on NWAITERS

12 years agoUse LP_SIZE and ASM_ADDR in pthread_once.S
H.J. Lu [Tue, 15 May 2012 17:24:19 +0000 (10:24 -0700)]
Use LP_SIZE and ASM_ADDR in pthread_once.S

12 years agoUse LP_OP(cmp), R*_LP, LP_SIZE and ASM_ADDR
H.J. Lu [Tue, 15 May 2012 17:23:22 +0000 (10:23 -0700)]
Use LP_OP(cmp), R*_LP, LP_SIZE and ASM_ADDR

12 years agoUse LP_OP(cmp), R*_LP, LP_SIZE and ASM_ADDR
H.J. Lu [Tue, 15 May 2012 17:21:32 +0000 (10:21 -0700)]
Use LP_OP(cmp), R*_LP, LP_SIZE and ASM_ADDR

12 years agoUse LP_OP(cmp) and RCX_LP on dep_mutex pointer
H.J. Lu [Tue, 15 May 2012 17:20:15 +0000 (10:20 -0700)]
Use LP_OP(cmp) and RCX_LP on dep_mutex pointer

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.