Joseph Myers [Sat, 19 May 2012 10:03:24 +0000 (10:03 +0000)]
Remove sysdeps/powerpc/soft-fp.
Andreas Jaeger [Sat, 19 May 2012 09:35:20 +0000 (11:35 +0200)]
Delete unused csu/.gitignore
Andreas Jaeger [Fri, 18 May 2012 18:30:51 +0000 (20:30 +0200)]
Fix INSTALL description for modified files in source dir
H.J. Lu [Fri, 18 May 2012 18:05:56 +0000 (11:05 -0700)]
Use RAX_LP and "or" to operate on return value
Tulio Magno Quites Machado Filho [Fri, 18 May 2012 13:50:33 +0000 (08:50 -0500)]
[PowerPC] Remove -ftree-loop-linear from Makefiles
In the past the "-ftree-loop-linear" switch provided a measurable
improvement in performance for certain functions. At some point it
was assigned as the responsibility of Graphite in GCC. It has been
found that even with Graphite enabled these flags no longer perform
any appreciable improvement over the baseline.
Graphite now has some open bugs which need to be fixed in order for it
to provide measurable performance improvements but it lacks active
development. As a result some compiler distributors may disable
Graphite. If Graphite is disabled then building GLIBC will fail if
the "-ftree-loop-linear" switch is used.
This patch removes the use of "-ftree-loop-linear" as unnecessary.
H.J. Lu [Fri, 18 May 2012 14:37:55 +0000 (07:37 -0700)]
Add sysdeps/x86_64/x32/_itoa.h
H.J. Lu [Fri, 18 May 2012 14:12:47 +0000 (07:12 -0700)]
Check d_ino/d_off before using getdents syscall
H.J. Lu [Fri, 18 May 2012 13:03:04 +0000 (06:03 -0700)]
Check _ITOA_NEEDED and use _ITOA_WORD_TYPE
H.J. Lu [Fri, 18 May 2012 11:16:55 +0000 (04:16 -0700)]
Fold copyright years
H.J. Lu [Fri, 18 May 2012 11:10:55 +0000 (04:10 -0700)]
Add x32 support to x86_64/bits/sigcontext.h
H.J. Lu [Fri, 18 May 2012 11:07:51 +0000 (04:07 -0700)]
Use anonymous union in x86_64/sys/user.h
Andreas Schwab [Wed, 16 May 2012 20:40:23 +0000 (22:40 +0200)]
Avoid runtime GOT relocations in ld.so on powerpc
Andreas Schwab [Wed, 16 May 2012 20:05:58 +0000 (22:05 +0200)]
Fix undefined reference to _dl_prof_resolve in profiled libc
Andreas Jaeger [Fri, 18 May 2012 07:08:14 +0000 (09:08 +0200)]
Do not provide inlines for GCC build-in functions
H.J. Lu [Fri, 18 May 2012 00:27:13 +0000 (17:27 -0700)]
Use __syscall_ulong_t in pselect.c
H.J. Lu [Fri, 18 May 2012 00:20:52 +0000 (17:20 -0700)]
Add __fsword_t and use it in bits/statfs.h
David S. Miller [Thu, 17 May 2012 20:32:52 +0000 (13:32 -0700)]
Bump sha512c-test.c timeout for the sake of 32-bit sparc.
* crypt/sha512c-test.c (TIMEOUT): Increase to 32.
Andreas Jaeger [Thu, 17 May 2012 20:00:57 +0000 (22:00 +0200)]
Fix warning
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
H.J. Lu [Thu, 17 May 2012 19:44:52 +0000 (12:44 -0700)]
Cast to unsigned long
Andreas Jaeger [Thu, 17 May 2012 18:17:53 +0000 (20:17 +0200)]
Fix warnings on Linux/i686
Fixes:
../sysdeps/i386/dl-machine.h:336:30: warning: unused variable ‘refsym’ [-Wunused-variable]
rtld.c:1435:3: warning: implicit declaration of function ‘_dl_discover_osversion’ [-Wimplicit-function-declaration]
Chris Metcalf [Thu, 17 May 2012 16:59:08 +0000 (12:59 -0400)]
Bump up stdio bug22 timeout from 30 seconds to 60 seconds
The older Tilera platform (tilepro) needs just a hair over 30 seconds
to run this on one core.
H.J. Lu [Thu, 17 May 2012 16:55:25 +0000 (09:55 -0700)]
Add tst-mallocalign1
Carlos O'Donell [Thu, 17 May 2012 03:14:24 +0000 (20:14 -0700)]
BZ#14059: Fix AVX and FMA4 detection.
Fix AVX and FMA4 detection by following the guidelines
set out by Intel and AMD for detecting these features.
Chris Metcalf [Thu, 17 May 2012 12:49:19 +0000 (08:49 -0400)]
math: support platforms with limited FP rounding or exception support
For some tests, just claim that fetestexcept() always returns true,
so the rest of the test can be compiled.
For libm-test, provide known bogus values for unsupported rounding
modes, so fesetround() will return failure.
Elsewhere, just add some #ifdefs to avoid code that uses particular
FP exceptions if the exceptions aren't supported.
Andreas Jaeger [Thu, 17 May 2012 09:05:52 +0000 (11:05 +0200)]
Avoid compiler warnings in qsort/bsearch examples
H.J. Lu [Thu, 17 May 2012 03:02:44 +0000 (20:02 -0700)]
Fold copyright years
Paul Pluzhnikov [Wed, 16 May 2012 23:46:10 +0000 (16:46 -0700)]
For [BZ #208], accumulate malloc stats over all arenas.
Roland McGrath [Mon, 14 May 2012 23:08:25 +0000 (16:08 -0700)]
BZ#10375: Configure magic to use -fno-stack-protector 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.
Roland McGrath [Wed, 16 May 2012 22:32:06 +0000 (15:32 -0700)]
Remove redundant ChangeLog header lines.
H.J. Lu [Wed, 16 May 2012 21:39:45 +0000 (14:39 -0700)]
Use __syscall_slong_t in bits/mqueue.h
H.J. Lu [Wed, 16 May 2012 20:23:20 +0000 (13:23 -0700)]
Add x32 suppport to x86_64/bits/stat.h
H.J. Lu [Wed, 16 May 2012 20:16:18 +0000 (13:16 -0700)]
Add x86-64 bits/typesizes.h
H.J. Lu [Wed, 16 May 2012 20:02:28 +0000 (13:02 -0700)]
Add x86_64/bits/ipctypes.h
H.J. Lu [Wed, 16 May 2012 20:01:32 +0000 (13:01 -0700)]
Use __syscall_ulong_t in bits/ipc.h
H.J. Lu [Wed, 16 May 2012 19:52:45 +0000 (12:52 -0700)]
Add x32 support to sys/ucontext.h
H.J. Lu [Wed, 16 May 2012 19:17:31 +0000 (12:17 -0700)]
Add x32 support to <sys/user.h>
H.J. Lu [Wed, 16 May 2012 18:53:49 +0000 (11:53 -0700)]
Add x32 gmp-mparam.h
H.J. Lu [Wed, 16 May 2012 18:52:35 +0000 (11:52 -0700)]
Add x32 ffs
Joseph Myers [Wed, 16 May 2012 18:50:39 +0000 (18:50 +0000)]
Update Texinfo version requirement.
Joseph Myers [Wed, 16 May 2012 18:49:01 +0000 (18:49 +0000)]
Update __STDC_ISO_10646__.
H.J. Lu [Wed, 16 May 2012 18:48:54 +0000 (11:48 -0700)]
Add x32 support to x86_64/bits/shm.h
H.J. Lu [Wed, 16 May 2012 18:47:22 +0000 (11:47 -0700)]
Add x32 support to x86_64/bits/sem.h
H.J. Lu [Wed, 16 May 2012 18:45:19 +0000 (11:45 -0700)]
Add x32 support to x86_64/bits/msq.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
H.J. Lu [Wed, 16 May 2012 17:31:10 +0000 (10:31 -0700)]
Add x86-64 <bits/siginfo.h>
H.J. Lu [Wed, 16 May 2012 17:24:02 +0000 (10:24 -0700)]
Add dummy files for x32
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
H.J. Lu [Wed, 16 May 2012 17:20:45 +0000 (10:20 -0700)]
Check __x86_64__ in x86-64 sys/reg.h
H.J. Lu [Wed, 16 May 2012 17:20:06 +0000 (10:20 -0700)]
Add x32 support to sys/procfs.h
H.J. Lu [Wed, 16 May 2012 17:19:17 +0000 (10:19 -0700)]
Use ULL suffix on DR_CONTROL_RESERVED
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
H.J. Lu [Wed, 16 May 2012 17:01:44 +0000 (10:01 -0700)]
Use 64bit filesystem functions for x32
Andreas Schwab [Sat, 5 May 2012 07:56:47 +0000 (09:56 +0200)]
Track dependencies for .oS-only objects
Andreas Schwab [Sat, 12 May 2012 06:40:20 +0000 (08:40 +0200)]
Fix dependency tracking on cross-rpcgen-objs
H.J. Lu [Wed, 16 May 2012 01:05:26 +0000 (18:05 -0700)]
Remove __snseconds_t
H.J. Lu [Wed, 16 May 2012 00:54:06 +0000 (17:54 -0700)]
Add __SYSCALL_{S,U}LONG_TYPE to hurd typesizes.h
H.J. Lu [Wed, 16 May 2012 00:41:38 +0000 (17:41 -0700)]
Add __syscall_slong_t and __syscall_ulong_t
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
Joseph Myers [Tue, 15 May 2012 23:36:35 +0000 (23:36 +0000)]
Remove fallback definitions of __NR_set_robust_list.
Joseph Myers [Tue, 15 May 2012 23:34:30 +0000 (23:34 +0000)]
Split up stackguard-macros.h into sysdeps directories.
H.J. Lu [Tue, 15 May 2012 21:37:59 +0000 (14:37 -0700)]
Add x86_64 Implies-after files
Joseph Myers [Tue, 15 May 2012 21:26:09 +0000 (21:26 +0000)]
Avoid plain "aligned" attributes in installed headers.
H.J. Lu [Tue, 15 May 2012 21:25:31 +0000 (14:25 -0700)]
Use R*_LP to load pointer and operate on stack
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
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
H.J. Lu [Tue, 15 May 2012 19:51:18 +0000 (12:51 -0700)]
Add x32 init-first.c
H.J. Lu [Tue, 15 May 2012 19:49:42 +0000 (12:49 -0700)]
Add sysdeps/x86_64/x32/sysdep.h
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
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
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
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.
Chris Metcalf [Tue, 15 May 2012 19:02:58 +0000 (15:02 -0400)]
Remove duplicate #include <not-cancel.h> in Linux getsysstats.c
Roland McGrath [Tue, 15 May 2012 18:45:42 +0000 (11:45 -0700)]
Fix formatting in last change.
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.
Roland McGrath [Wed, 9 May 2012 22:45:53 +0000 (15:45 -0700)]
configure change to handle Implies-{before,after} files
H.J. Lu [Tue, 15 May 2012 17:25:51 +0000 (10:25 -0700)]
Use LP_OP(cmp) on NWAITERS
H.J. Lu [Tue, 15 May 2012 17:24:19 +0000 (10:24 -0700)]
Use LP_SIZE and ASM_ADDR in pthread_once.S
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
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
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
H.J. Lu [Tue, 15 May 2012 17:19:11 +0000 (10:19 -0700)]
Use LP_OP(mov) and RDI_LP on pointer
H.J. Lu [Tue, 15 May 2012 17:17:30 +0000 (10:17 -0700)]
Replace 8-byte data alignment with LP_SIZE alignment
H.J. Lu [Tue, 15 May 2012 17:15:35 +0000 (10:15 -0700)]
Load pointer to TID into R10_LP
H.J. Lu [Tue, 15 May 2012 17:14:34 +0000 (10:14 -0700)]
Add x32 dl-cache.h
H.J. Lu [Tue, 15 May 2012 17:13:55 +0000 (10:13 -0700)]
Add x32 getcpu and sched_getcpu
H.J. Lu [Tue, 15 May 2012 17:03:56 +0000 (10:03 -0700)]
Use LP_SIZE and load timeout pointer into RDX_LP
H.J. Lu [Tue, 15 May 2012 17:00:56 +0000 (10:00 -0700)]
Use RSP_LP to operate on stack in stackinfo.h
H.J. Lu [Tue, 15 May 2012 16:59:31 +0000 (09:59 -0700)]
Load pointers into RAX_LP in strcmp-sse42.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
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
H.J. Lu [Tue, 15 May 2012 16:54:05 +0000 (09:54 -0700)]
Load pointers into R*_LP in strcmp.S
H.J. Lu [Tue, 15 May 2012 16:52:35 +0000 (09:52 -0700)]
Load cache sizes into R11_LP/R8_LP
H.J. Lu [Tue, 15 May 2012 16:35:43 +0000 (09:35 -0700)]
Load cache size into R8_LP
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.
Joseph Myers [Tue, 15 May 2012 10:37:04 +0000 (10:37 +0000)]
Add fixed ports bugs to list in NEWS.
Joseph Myers [Tue, 15 May 2012 10:24:47 +0000 (10:24 +0000)]
Remove README.libm.
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.
H.J. Lu [Tue, 15 May 2012 03:58:24 +0000 (20:58 -0700)]
Add x32 support to tcbhead_t
H.J. Lu [Tue, 15 May 2012 00:50:41 +0000 (17:50 -0700)]
Update sysdeps/x86_64/start.S for x32