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>
Andreas Schwab [Sat, 12 May 2012 15:40:53 +0000 (17:40 +0200)]
Fix warning in powerpc bcopy
Thomas Schwinge [Sat, 12 May 2012 02:53:04 +0000 (10:53 +0800)]
Avoid dup3 PLT usage.
Fixes fallout from
5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.
H.J. Lu [Fri, 11 May 2012 23:31:34 +0000 (16:31 -0700)]
Add x32 support to STACK_CHK_GUARD
H.J. Lu [Fri, 11 May 2012 21:58:18 +0000 (14:58 -0700)]
Update comments for CALL_THREAD_FCT
H.J. Lu [Fri, 11 May 2012 21:35:56 +0000 (14:35 -0700)]
Add x32 support to TLS_LE/TLS_IE/TLS_GD
H.J. Lu [Fri, 11 May 2012 21:33:12 +0000 (14:33 -0700)]
Add sysdeps/x86_64/x32/tls.h
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.
H.J. Lu [Fri, 11 May 2012 18:50:11 +0000 (11:50 -0700)]
Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes
H.J. Lu [Fri, 11 May 2012 18:34:48 +0000 (11:34 -0700)]
Fix a typo in ChangeLo.
Andreas Schwab [Mon, 6 Feb 2012 12:30:45 +0000 (13:30 +0100)]
Complete GB18030 charmap
H.J. Lu [Fri, 11 May 2012 17:14:57 +0000 (10:14 -0700)]
Use uint64_t on 64-bit integer
H.J. Lu [Fri, 11 May 2012 17:13:54 +0000 (10:13 -0700)]
Replace movq/%q0 with mov/%0 in THREAD_SELF
H.J. Lu [Fri, 11 May 2012 17:12:42 +0000 (10:12 -0700)]
Check __x86_64__ for __cleanup_fct_attribute
H.J. Lu [Fri, 11 May 2012 17:10:37 +0000 (10:10 -0700)]
Check __PTHREAD_MUTEX_HAVE_PREV for mutex initializers
H.J. Lu [Fri, 11 May 2012 17:08:57 +0000 (10:08 -0700)]
Check __PTHREAD_MUTEX_HAVE_PREV for mutex prev
Thomas Schwinge [Fri, 11 May 2012 09:36:03 +0000 (17:36 +0800)]
[BZ #13673] Replace FSF snail mail address with URL.
Joseph Myers [Fri, 11 May 2012 09:24:15 +0000 (09:24 +0000)]
14012 fixed by cross-rpcgen changes.
Thomas Schwinge [Fri, 11 May 2012 06:20:11 +0000 (14:20 +0800)]
Hurd bugs fixed: #766, #3748, #3906.
H.J. Lu [Fri, 11 May 2012 02:24:54 +0000 (19:24 -0700)]
Don't handle R_X86_64_RELATIVE64 in ld.so
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
Samuel Thibault [Thu, 10 May 2012 22:55:50 +0000 (15:55 -0700)]
Hurd: Define some posix types
Samuel Thibault [Thu, 10 May 2012 22:55:06 +0000 (15:55 -0700)]
Hurd: Fix paths in paths.h
Samuel Thibault [Thu, 10 May 2012 22:54:27 +0000 (15:54 -0700)]
Hurd: fix mode type for openat
Samuel Thibault [Thu, 10 May 2012 22:52:43 +0000 (15:52 -0700)]
Hurd: Fix port deallocation on mknod error.
Samuel Thibault [Thu, 10 May 2012 22:49:30 +0000 (15:49 -0700)]
Hurd: Fix __dup3 _hurd_dtable_lock usage.
Thomas Schwinge [Thu, 10 May 2012 22:46:14 +0000 (15:46 -0700)]
Hurd: Support --prefix=/usr special-casing for all GNU systems.
Thomas Schwinge [Thu, 10 May 2012 22:40:09 +0000 (15:40 -0700)]
Hurd: struct timespec members in struct stat
Thomas Schwinge [Thu, 10 May 2012 22:37:23 +0000 (15:37 -0700)]
Hurd: avoid PLT call to strtoul
Pino Toscano [Thu, 10 May 2012 22:35:47 +0000 (15:35 -0700)]
Hurd: hurdsock: reject negative domains
Samuel Thibault [Thu, 10 May 2012 22:34:53 +0000 (15:34 -0700)]
Hurd: Fix setres[ug]id handling of -1
Pino Toscano [Thu, 10 May 2012 22:32:53 +0000 (15:32 -0700)]
Hurd: _hurd_select: check for invalid parameter values
Samuel Thibault [Thu, 10 May 2012 22:31:37 +0000 (15:31 -0700)]
Hurd: Fix sbrk beyond 128MB
Pino Toscano [Thu, 10 May 2012 22:30:38 +0000 (15:30 -0700)]
Hurd: recvfrom(): take into account null address ports
Samuel Thibault [Thu, 10 May 2012 22:29:55 +0000 (15:29 -0700)]
Hurd: readlinkat
Samuel Thibault [Thu, 10 May 2012 22:28:33 +0000 (15:28 -0700)]
Hurd: Update posix_opt.h
Samuel Thibault [Thu, 10 May 2012 22:27:04 +0000 (15:27 -0700)]
Hurd: Fix POSIX 2008 visibility
Thomas Schwinge [Thu, 10 May 2012 22:26:10 +0000 (15:26 -0700)]
Hurd: Build pldd also if use-ldconfig != yes || build-shared != yes
Thomas Schwinge [Thu, 10 May 2012 22:23:51 +0000 (15:23 -0700)]
Hurd: opendirat
Samuel Thibault [Thu, 10 May 2012 22:21:18 +0000 (15:21 -0700)]
Hurd: empty file names fail with ENOENT
Thomas Schwinge [Thu, 10 May 2012 22:19:24 +0000 (15:19 -0700)]
Hurd: hidden_nolink macro for NO_HIDDEN case.
Thomas Schwinge [Thu, 10 May 2012 22:17:40 +0000 (15:17 -0700)]
Hurd: mmap deficiencies
Samuel Thibault [Thu, 10 May 2012 22:17:03 +0000 (15:17 -0700)]
Hurd: Fix mlock in all cases except non-readable pages.
Samuel Thibault [Thu, 10 May 2012 22:16:07 +0000 (15:16 -0700)]
Hurd: Fix mkdir / error value
Thomas Schwinge [Thu, 10 May 2012 22:13:54 +0000 (15:13 -0700)]
Hurd: Add missing includes
Pino Toscano [Thu, 10 May 2012 21:53:21 +0000 (14:53 -0700)]
Hurd: mach: compliance fixes for nanosleep
Thomas Schwinge [Thu, 10 May 2012 21:52:03 +0000 (14:52 -0700)]
Hurd: Include RPC user stubs in linkobj/libc.so
Samuel Thibault [Thu, 10 May 2012 21:51:22 +0000 (14:51 -0700)]
Hurd: Fix value of __libc_stack_end
Thomas Schwinge [Thu, 10 May 2012 21:50:14 +0000 (14:50 -0700)]
Hurd: libc_once_get
Thomas Schwinge [Thu, 10 May 2012 21:39:53 +0000 (14:39 -0700)]
Hurd: #include <kernel-features.h>
Roland McGrath [Thu, 10 May 2012 21:38:43 +0000 (14:38 -0700)]
Add a missing #include.
Samuel Thibault [Thu, 10 May 2012 20:33:47 +0000 (13:33 -0700)]
Hurd: setitimer.c: Fix unlock in error patch
Samuel Thibault [Thu, 10 May 2012 20:26:40 +0000 (13:26 -0700)]
Hurd: ioctl() incorrectly decodes argument
Thomas Schwinge [Thu, 10 May 2012 20:20:47 +0000 (13:20 -0700)]
Hurd: Avoid init-first.c miscompilation.
Thomas Schwinge [Thu, 10 May 2012 20:15:40 +0000 (13:15 -0700)]
Hurd: dup3
Samuel Thibault [Thu, 10 May 2012 20:10:21 +0000 (13:10 -0700)]
Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.
Samuel Thibault [Thu, 10 May 2012 20:00:01 +0000 (13:00 -0700)]
Hurd: Missing critical region locks.
Samuel Thibault [Thu, 10 May 2012 19:59:00 +0000 (12:59 -0700)]
Hurd: Fix signal-catching functions.
Thomas Schwinge [Thu, 10 May 2012 19:56:56 +0000 (12:56 -0700)]
Hurd: bits/socket.h
Thomas Schwinge [Thu, 10 May 2012 19:53:02 +0000 (12:53 -0700)]
Hurd: accept4
Thomas Schwinge [Thu, 10 May 2012 19:47:31 +0000 (12:47 -0700)]
Hurd: ____longjmp_chk
Samuel Thibault [Thu, 10 May 2012 19:47:00 +0000 (12:47 -0700)]
Hurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6
Thomas Schwinge [Thu, 10 May 2012 19:43:01 +0000 (12:43 -0700)]
Hurd: O_CLOEXEC in rtld
Samuel Thibault [Thu, 10 May 2012 19:37:15 +0000 (12:37 -0700)]
Hurd: Add more ipv6 macros.
Adhemerval Zanella [Thu, 10 May 2012 20:11:55 +0000 (15:11 -0500)]
Fix for logb/logbf/logbl (bugs 13954/13955/13956)
POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number
it should be treated as if it were normalized. This means the
implementation should calculate the log2 of the mantissa and add it to the
subnormal exponent (-126 for float and -1022 for double and IBM long
double). This patch takes care of that.
Andreas Jaeger [Thu, 10 May 2012 18:16:53 +0000 (20:16 +0200)]
Make sunrpc code usable again
New configure option --enable-obsolete-rpc makes the deprecated RPC
headers and functions available at compile time as they were before
version 2.14. This option will be removed at some time in the future
after the TI-RPC library becomes fully sufficient for the needs of
existing applications.
Roland McGrath [Thu, 10 May 2012 17:20:51 +0000 (10:20 -0700)]
Typo fix in x86_64/dl-machine.h
Joseph Myers [Thu, 10 May 2012 17:11:08 +0000 (17:11 +0000)]
Define __STDC_NO_THREADS__.
Maxim Kuvyrkov [Thu, 10 May 2012 17:07:45 +0000 (17:07 +0000)]
Build rpcgen-generated files when cross compiling.
H.J. Lu [Thu, 10 May 2012 17:05:40 +0000 (10:05 -0700)]
Sign extend R_X86_64_DTPOFF64/R_X86_64_TPOFF64
Joseph Myers [Thu, 10 May 2012 14:51:08 +0000 (14:51 +0000)]
Move remaining syscalls from sysdeps/unix/sysv/syscalls.list to sysdeps/unix/sysv/linux/syscalls.list.
Paul Eggert [Thu, 10 May 2012 12:38:09 +0000 (12:38 +0000)]
[PATCH] [BZ #3440] Make LC_ALL etc. useful in #if expressions.
Andreas Schwab [Thu, 3 May 2012 22:19:54 +0000 (00:19 +0200)]
Add dependency tracking for rpc-compat-routines
H.J. Lu [Wed, 9 May 2012 22:36:41 +0000 (15:36 -0700)]
Update stdlib/longlong.h from GCC
Andreas Jaeger [Wed, 9 May 2012 19:34:47 +0000 (21:34 +0200)]
Cleanup nscd.c
2012-05-09 Andreas Jaeger <aj@suse.de>
* nscd/nscd.c (run_modes): Make named enum, reorder so that
default is first entry.
(run_mode): Set type.
(main): Remove informal message about syslog.
(options): Fix typo.
Andreas Jaeger [Wed, 9 May 2012 18:17:21 +0000 (20:17 +0200)]
Add volatiles for x86-64 bits/mathinline.h
[BZ #14053]
GCC 4.7 might remove consecutive calls to e.g. lrintf since
the assembler instructions are the same and GCC does not know
that the result is different depending on the rounding mode. For
SSE instructions, the control register is not available so there
is no way to inform GCC about this. Therefore the asms are marked
as volatile.
Andreas Jaeger [Wed, 9 May 2012 15:41:25 +0000 (17:41 +0200)]
Cleanup last patch for nscd/nscd.c
* nscd/nscd.c (run_mode): Use enum.
(main): Cleanup coding style issue.
Andreas Jaeger [Wed, 9 May 2012 14:54:38 +0000 (16:54 +0200)]
Add --foreground option for nscd
For a better integration of nscd with systemd, we should run nscd not as
daemon but in the foreground. A new --foreground option should be added.
2012-05-09 Alexandre Oliva <aoliva@redhat.com>
Andreas Jaeger <aj@suse.de>
* nscd/nscd.c (go_background): Replaced with...
(run_mode): ... this.
(RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
(options): Add -F --foreground.
(main): Implement it.
(parse_opt): Parse it.