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
H.J. Lu [Mon, 14 May 2012 23:48:59 +0000 (16:48 -0700)]
Add __PTHREAD_RWLOCK_INT_FLAGS_SHARED
H.J. Lu [Mon, 14 May 2012 23:23:57 +0000 (16:23 -0700)]
Add sysdeps/x86_64/{64,x32}/shlib-versions
Roland McGrath [Fri, 11 May 2012 18:41:35 +0000 (11:41 -0700)]
Use _dl_fatal_printf instead of a private variant.
H.J. Lu [Mon, 14 May 2012 22:34:37 +0000 (15:34 -0700)]
Mention BZ #14103/#14104 in News and ChangeLog
Joseph Myers [Mon, 14 May 2012 22:22:52 +0000 (22:22 +0000)]
Improve consistency of --enable-kernel and default builds.
H.J. Lu [Mon, 14 May 2012 22:17:30 +0000 (15:17 -0700)]
Update elf_machine_load_address 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
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
H.J. Lu [Mon, 14 May 2012 20:21:46 +0000 (13:21 -0700)]
Add x32 dl-machine.h
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.
H.J. Lu [Mon, 14 May 2012 19:56:56 +0000 (12:56 -0700)]
Add x32 pthread types
Andreas Jaeger [Mon, 14 May 2012 14:27:05 +0000 (16:27 +0200)]
Remove unused variable in linux/getcwd.c
Andreas Jaeger [Mon, 14 May 2012 14:06:58 +0000 (16:06 +0200)]
Remove unused functions from i386/mathinline.h
Joseph Myers [Mon, 14 May 2012 14:11:02 +0000 (14:11 +0000)]
Remove pre-2.2 Linux kernel support.
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>.
H.J. Lu [Mon, 14 May 2012 12:04:11 +0000 (05:04 -0700)]
Use __builtin_clzll on int64 in __logb
H.J. Lu [Mon, 14 May 2012 12:02:08 +0000 (05:02 -0700)]
Free memory at exit in check_pf.c
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.
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>