David S. Miller [Fri, 28 Sep 2012 20:15:51 +0000 (13:15 -0700)]
Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
David S. Miller [Fri, 28 Sep 2012 20:02:42 +0000 (13:02 -0700)]
Add Niagara-4 optimized memcpy and mempcpy.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
file.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add to
sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
and mempcpy when HWCAP_SPARC_CRYPTO is set.
Pino Toscano [Fri, 28 Sep 2012 19:33:52 +0000 (21:33 +0200)]
tst-mknodat: create a FIFO instead of a socket
A FIFO is the only special file which is guaranteed to be created with mknod/mknodat.
Jeff Law [Fri, 28 Sep 2012 18:48:42 +0000 (12:48 -0600)]
2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
[BZ #6530]
* stdio-common/vfprintf.c (process_string_arg): Revert
2000-07-22 change.
2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
* stdio-common/Makefile (tst-sprintf-ENV): Set environment
for testcase.
* stdio-common/tst-sprintf.c: Include <locale.h>
(main): Test sprintf's handling of incomplete multibyte
characters.
H.J. Lu [Fri, 28 Sep 2012 18:38:26 +0000 (11:38 -0700)]
Re-order the last ChangeLog entry
H.J. Lu [Fri, 28 Sep 2012 16:42:08 +0000 (09:42 -0700)]
Remove mips VERSYMIDX macro definition
H.J. Lu [Fri, 28 Sep 2012 16:41:16 +0000 (09:41 -0700)]
Remove arm ADDRIDX macro definition
H.J. Lu [Fri, 28 Sep 2012 18:30:57 +0000 (11:30 -0700)]
Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.h
H.J. Lu [Fri, 28 Sep 2012 18:25:56 +0000 (11:25 -0700)]
Improve ChangeLog entry for x86_64 strncmp-ssse3.S
Richard Henderson [Fri, 28 Sep 2012 17:51:01 +0000 (10:51 -0700)]
alpha: Fix all users of SYSCALL_ERROR_HANDLER
The fix begun in
64e65bc1 was incomplete. Fixed by adding
a new SYSCALL_ERROR_FALLTHRU macro.
Pino Toscano [Fri, 28 Sep 2012 16:35:43 +0000 (18:35 +0200)]
aio_fsync: fix the access mode check
Make use of O_ACCMODE and O_RDONLY instead of assuming details of the O_* flags.
Jeff Law [Fri, 28 Sep 2012 16:15:05 +0000 (10:15 -0600)]
[BZ #11438]
* sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918
* addresses
to global scope.
* posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
addresses are in the same scope as 192.0.2/24.
* posix/gai.conf: Document new scope table defaults.
H.J. Lu [Fri, 28 Sep 2012 14:58:02 +0000 (07:58 -0700)]
Fix a typo in ChangeLog
Siddhesh Poyarekar [Fri, 28 Sep 2012 13:07:23 +0000 (18:37 +0530)]
Don't flush write buffer for ftell
[BZ #5298]
Use write pointer state along with the file offset and/or the read
pointers to get the current file position.
Siddhesh Poyarekar [Fri, 28 Sep 2012 12:50:40 +0000 (18:20 +0530)]
Adjust wide data buffer pointers during fseek and ftell
[BZ #14543]
Set the internal buffer state correctly whenever the external buffer
state is modified by fseek by either computing the current
_IO_read_ptr/end for the internal buffer based on the new _IO_read_ptr
in the external buffer or converting the content read into the
external buffer, up to the extent of the requested fseek offset.
David S. Miller [Fri, 28 Sep 2012 05:27:32 +0000 (22:27 -0700)]
Update sparc ULPS for recent clog/clog10 activity.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
David S. Miller [Fri, 28 Sep 2012 04:33:54 +0000 (21:33 -0700)]
Fix sparc64 crashes with LD_BIND_NOW and --enable-bind-now.
[BZ #14376]
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
pass reloc->r_addend in as the 'high' argument to
sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
Pino Toscano [Thu, 27 Sep 2012 23:08:17 +0000 (01:08 +0200)]
Include <pthread.h> where needed.
Steve Ellcey [Thu, 27 Sep 2012 21:07:15 +0000 (14:07 -0700)]
Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let builds use
bits/huge_vall.h instead. There is no longer any need for the special
huge_vall.h file.
Steve Ellcey [Thu, 27 Sep 2012 21:06:11 +0000 (14:06 -0700)]
Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let builds
use bits/huge_vall.h instead. There is no longer any need for
the special huge_vall.h file.
H.J. Lu [Thu, 27 Sep 2012 14:43:03 +0000 (07:43 -0700)]
Don't define x86-64 __strncmp_ssse3 in libc.a
Marek Polacek [Wed, 26 Sep 2012 10:58:36 +0000 (12:58 +0200)]
Fix up definitions for older compilers.
Markus Trippelsdorf [Wed, 26 Sep 2012 10:46:51 +0000 (12:46 +0200)]
Update x86-64 ULPs
Joseph Myers [Wed, 26 Sep 2012 00:30:54 +0000 (00:30 +0000)]
Add __ppc_get_timebase_freq to powerpc-nofpu ABI baseline.
Roland McGrath [Tue, 25 Sep 2012 23:21:15 +0000 (16:21 -0700)]
Declare targets with .PHONY in Makefile.in.
Tulio Magno Quites Machado Filho [Tue, 25 Sep 2012 19:48:28 +0000 (14:48 -0500)]
Add __ppc_get_timebase_freq to ppc.h.
Alan Modra [Tue, 25 Sep 2012 21:30:06 +0000 (16:30 -0500)]
Fix bugs in powerpc pthread_once.
Ref gcc.gnu.org/bugzilla/show_bug.cgi?id=52839#c10
Release barriers are needed to ensure that any memory written by
init_routine is seen by other threads before *once_control changes.
In the case of clear_once_control we need to flush any partially
written state.
Joseph Myers [Tue, 25 Sep 2012 19:49:50 +0000 (19:49 +0000)]
Fix order of bug list in NEWS and remove duplicate entry.
Joseph Myers [Tue, 25 Sep 2012 19:43:49 +0000 (19:43 +0000)]
Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).
Joseph Myers [Tue, 25 Sep 2012 19:41:26 +0000 (19:41 +0000)]
Add bug 14621 to NEWS.
Joseph Myers [Tue, 25 Sep 2012 19:38:15 +0000 (19:38 +0000)]
Use size_t instead of int for internal variables in glob (bug 14621).
Liubov Dmitrieva [Tue, 25 Sep 2012 18:44:46 +0000 (20:44 +0200)]
Add optimized sincosf for SSE2 for x86 and x86-64
Liubov Dmitrieva [Tue, 25 Sep 2012 18:41:17 +0000 (20:41 +0200)]
Fix wrong ussage of sincos for subnormal arguments
Joseph Myers [Tue, 25 Sep 2012 12:37:37 +0000 (12:37 +0000)]
Remove various _G_*_t type names.
Siddhesh Poyarekar [Tue, 25 Sep 2012 08:40:29 +0000 (14:10 +0530)]
Shrink heap on linux when overcommit_memory == 2
Using madvise with MADV_DONTNEED to release memory back to the kernel
is not sufficient to change the commit charge accounted against the
process on Linux. It is OK however, when overcommit is enabled or is
heuristic. However, when overcommit is restricted to a percentage of
memory setting the contents of /proc/sys/vm/overcommit_memory as 2, it
makes a difference since memory requests will fail. Hence, we do what
we do with secure exec binaries, which is to call mmap on the region
to be dropped with MAP_FIXED. This internally unmaps the pages in
question and reduces the amount of memory accounted against the
process.
Siddhesh Poyarekar [Tue, 25 Sep 2012 03:58:43 +0000 (09:28 +0530)]
Fix minor typos in comments
Dmitry V. Levin [Mon, 24 Sep 2012 20:52:13 +0000 (20:52 +0000)]
Set "fail on error" mode directly in testsuite shell scripts
Dmitry V. Levin [Mon, 24 Sep 2012 20:58:00 +0000 (20:58 +0000)]
Add copyright notices to testsuite shell scripts
H.J. Lu [Tue, 25 Sep 2012 00:31:36 +0000 (17:31 -0700)]
Use static link by default for --disable-shared
Mike Frysinger [Mon, 24 Sep 2012 21:52:18 +0000 (17:52 -0400)]
ia64: define new get-rounding-mode.h header
The new strtod function wants rounding information from the C lib, so
move the guts of the ia64 version into a header file for it to use.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 24 Sep 2012 21:50:17 +0000 (17:50 -0400)]
ia64: override crtbeginT.o
The ia64 gcc port has never shipped a crtbeginT.o, so keep using the
old crtbegin.o object when static linking.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Chris Metcalf [Mon, 24 Sep 2012 20:03:33 +0000 (16:03 -0400)]
tile: fix two comments that said "tile" to properly say "tilepro"
H.J. Lu [Mon, 24 Sep 2012 18:25:57 +0000 (11:25 -0700)]
Replace crtendS.o with crtend.o for static link
H.J. Lu [Mon, 24 Sep 2012 17:05:14 +0000 (10:05 -0700)]
Sort BZ # in NEWS
H.J. Lu [Mon, 24 Sep 2012 16:11:12 +0000 (09:11 -0700)]
Add "()" when casting to uint64_t for 64-bit store
H.J. Lu [Mon, 24 Sep 2012 15:58:04 +0000 (08:58 -0700)]
Properly handle fencepost with MALLOC_ALIGN_MASK
Joseph Myers [Mon, 24 Sep 2012 15:38:21 +0000 (15:38 +0000)]
Make printf respect the rounding mode for hex output (bug 5044).
Joseph Myers [Fri, 21 Sep 2012 23:42:16 +0000 (23:42 +0000)]
Correct order of arguments of __arm_assisted_compare_and_exchange_val_32_acq.
Joseph Myers [Fri, 21 Sep 2012 10:02:03 +0000 (10:02 +0000)]
Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.
Joseph Myers [Thu, 20 Sep 2012 14:41:02 +0000 (14:41 +0000)]
Remove _G_NEED_STDARG_H.
Carlos O'Donell [Thu, 20 Sep 2012 14:39:27 +0000 (10:39 -0400)]
hppa: Use __prlimit64 as the internal name.
Fix a build failure by using __prlimit64 as the internal
function name for the versioned symbol prlimit64. Without
this patch the build system attempts to alias prlimit64
to itself and that is invalid.
Carlos O'Donell [Thu, 20 Sep 2012 07:18:47 +0000 (03:18 -0400)]
hppa: Add EHWPOISON and bump errlist-compat to 260
Add errno EHWPOISON and bump the errlist-compat table to 260,
providing 2 padding entries for future use before bumping is
again required.
Dmitry V. Levin [Wed, 22 Aug 2012 00:43:21 +0000 (00:43 +0000)]
rtld: limit self loading check to normal mode only
Commit glibc-2.14~10 disallowed rtld self loading to avoid a segfault
that used to happen when rtld was loading itself in normal mode.
Unfortunately, that commit disallowed all modes of self loading,
including those that used to work before. This change limits the check
for self loading to normal mode only, so that instruments like ldd could
handle rtld properly.
H.J. Lu [Wed, 19 Sep 2012 13:12:37 +0000 (06:12 -0700)]
Cast to uint64_t for 64-bit store
Joseph Myers [Tue, 18 Sep 2012 15:45:57 +0000 (15:45 +0000)]
Don't set TIMEOUTFACTOR in sysdeps/wordsize-64/Makefile.
Chris Metcalf [Mon, 17 Sep 2012 19:58:51 +0000 (15:58 -0400)]
crypt: bump up md5test-giant timeout from 180s to 480s
Chris Metcalf [Mon, 17 Sep 2012 18:57:49 +0000 (14:57 -0400)]
tile: update libm-test-ulps for new tests
Joseph Myers [Mon, 17 Sep 2012 11:43:06 +0000 (11:43 +0000)]
Remove _G_HAVE_IO_GETLINE_INFO.
H.J. Lu [Sat, 15 Sep 2012 20:08:45 +0000 (13:08 -0700)]
Remove $(have-cpp-asm-debuginfo) check
Jeff Law [Fri, 14 Sep 2012 20:31:29 +0000 (14:31 -0600)]
[BZ #14583]
* sysdeps/pthread/pthread.h: Fix prototype of __sigsetjmp.
Joseph Myers [Fri, 14 Sep 2012 20:18:49 +0000 (20:18 +0000)]
Make printf respect the rounding mode for decimal output (bug 5044).
Richard Henderson [Thu, 13 Sep 2012 19:54:03 +0000 (12:54 -0700)]
alpha: Streamline __setfpucw
The convert_bit macro allows the compiler to translate the bit
positions more efficiently. The assumption of only running at
program startup allows eliding the __ieee_get_fp_control call.
Richard Henderson [Thu, 13 Sep 2012 19:45:26 +0000 (12:45 -0700)]
alpha: Update localplt.data
Richard Henderson [Thu, 13 Sep 2012 19:43:42 +0000 (12:43 -0700)]
alpha: Update ulps
H.J. Lu [Thu, 13 Sep 2012 16:58:58 +0000 (09:58 -0700)]
Remove unused __rtld_lock_init_recursive macro
Joseph Myers [Thu, 13 Sep 2012 16:13:09 +0000 (16:13 +0000)]
Remove _G_HAVE_PRINTF_FP.
Richard Henderson [Thu, 13 Sep 2012 14:35:26 +0000 (07:35 -0700)]
alpha: Add get-rounding-mode.h
Richard Henderson [Thu, 30 Aug 2012 19:02:50 +0000 (12:02 -0700)]
alpha: Work around gcc 4.8 aliasing difference/bug
Joseph Myers [Wed, 12 Sep 2012 23:36:19 +0000 (23:36 +0000)]
Make strtod respect the rounding mode (bug 14518).
Allan McRae [Wed, 12 Sep 2012 03:58:53 +0000 (13:58 +1000)]
Update i386 ULPs for recently added math tests
Joseph Myers [Tue, 11 Sep 2012 20:32:13 +0000 (20:32 +0000)]
Remove unused typedefs and macros from _G_config.h.
H.J. Lu [Tue, 11 Sep 2012 13:27:51 +0000 (06:27 -0700)]
Update copyright years in csu/libc-tls.c
Joseph Myers [Mon, 10 Sep 2012 22:05:49 +0000 (22:05 +0000)]
Remove _G_USING_THUNKS.
Joseph Myers [Mon, 10 Sep 2012 21:22:42 +0000 (21:22 +0000)]
Remove libio C++ vtable definitions.
H.J. Lu [Mon, 10 Sep 2012 19:18:01 +0000 (12:18 -0700)]
Update ChangeLog
H.J. Lu [Mon, 10 Sep 2012 18:13:54 +0000 (11:13 -0700)]
Run tst-fopenloc if $(build-shared) is yes
H.J. Lu [Mon, 10 Sep 2012 12:20:22 +0000 (05:20 -0700)]
Update copyright years
H.J. Lu [Mon, 10 Sep 2012 12:18:44 +0000 (05:18 -0700)]
Fix a typo in ChangeLog
Liubov Dmitrieva [Mon, 10 Sep 2012 09:44:49 +0000 (11:44 +0200)]
Fix x86 SSE cosf, sinf issues
* sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
unwind info if defined PIC. Fix special cases description.
* sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
* sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
DP_HI_MASK entry.
* sysdeps/x86_64/fpu/s_cosf.S: Likewise.
H.J. Lu [Fri, 7 Sep 2012 21:41:14 +0000 (14:41 -0700)]
Add "shopt -s nullglob" to check-local-headers.sh
H.J. Lu [Fri, 7 Sep 2012 21:14:08 +0000 (14:14 -0700)]
Check if deriv->steps is NULL before freeing it
H.J. Lu [Fri, 7 Sep 2012 21:12:12 +0000 (14:12 -0700)]
Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++
H.J. Lu [Fri, 7 Sep 2012 21:11:47 +0000 (14:11 -0700)]
Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++
H.J. Lu [Fri, 7 Sep 2012 21:09:34 +0000 (14:09 -0700)]
Remove gnu/stubs.h dependency on soversions.mk
Joseph Myers [Fri, 7 Sep 2012 14:39:11 +0000 (14:39 +0000)]
Use gnu.org as example hostname in manual/examples/inetcli.c.
Siddhesh Poyarekar [Fri, 7 Sep 2012 09:09:52 +0000 (14:39 +0530)]
Cleanup code duplication in malloc on fallback to use another arena
Break the fallback code to try another arena into a separate function
for readability.
John Tobey [Fri, 7 Sep 2012 02:52:20 +0000 (12:52 +1000)]
Fix description of carg branch cut (bug 13542)
Joseph Myers [Fri, 7 Sep 2012 00:25:42 +0000 (00:25 +0000)]
Use gnu.org as example hostname in manual (bug 10014).
Joseph Myers [Fri, 7 Sep 2012 00:06:07 +0000 (00:06 +0000)]
Fix pointers between nodes in manual (bug 10038).
H.J. Lu [Thu, 6 Sep 2012 23:29:10 +0000 (16:29 -0700)]
Restore GL(dl_initial_dtv)
H.J. Lu [Thu, 6 Sep 2012 23:03:32 +0000 (16:03 -0700)]
Remove _dl_initial_dtv
* csu/libc-tls.c (static_dtv): Renamed to ...
(_dl_static_dtv): This. Make it global.
(_dl_initial_dtv): Removed.
(__libc_setup_tls): Updated.
* elf/dl-tls.c (DL_INITIAL_DTV): New macro.
(_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
DL_INITIAL_DTV.
Petr Machata [Thu, 6 Sep 2012 19:41:14 +0000 (12:41 -0700)]
Synchronize with linux/elf.h.
Add new ARM and s390 note constants e.g. NT_*.
H.J. Lu [Thu, 6 Sep 2012 19:20:16 +0000 (12:20 -0700)]
Mention BZ #14545 in NEWS
H.J. Lu [Wed, 5 Sep 2012 19:24:37 +0000 (12:24 -0700)]
Always check dtv before freeing dtv[-1]
H.J. Lu [Thu, 6 Sep 2012 12:44:57 +0000 (05:44 -0700)]
Add tst-cancel21-static.c
H.J. Lu [Wed, 5 Sep 2012 02:53:24 +0000 (19:53 -0700)]
Use crtbeginT.o to statically link programs
Chris Metcalf [Thu, 6 Sep 2012 15:43:56 +0000 (11:43 -0400)]
tile: fix type of prfpregset_t in <sys/procfs.h>
The previous dummy definition (as type int) was fine in general, since
tile doesn't have floating-point registers, but it confused gdb's
configure, leading to later compile errors. This change also makes
prfpregset_t parallel to prgregset_t, which seems like generally the
right thing regardless of the non-existence of the actual registers :-)
Chris Metcalf [Thu, 6 Sep 2012 15:32:55 +0000 (11:32 -0400)]
tile: Add BZ to Changelog and update NEWS
Joseph Myers [Thu, 6 Sep 2012 15:33:06 +0000 (15:33 +0000)]
Fix strtod test for values above maximum for IBM long double.
Chris Metcalf [Thu, 6 Sep 2012 15:25:04 +0000 (11:25 -0400)]
tile: BZ#14237: fix __tls_get_addr bug initializing new modules
We were missing a check for TLS_DTV_UNALLOCATED; if set, we need
to go to the slow path.