Commit Graph

14467 Commits

Author SHA1 Message Date
H.J. Lu
31ed415328 Don't define x86-64 __strncmp_ssse3 in libc.a 2012-09-27 07:43:03 -07:00
Marek Polacek
b7bfe116e6 Fix up definitions for older compilers. 2012-09-26 12:58:36 +02:00
Markus Trippelsdorf
43c4edba7e Update x86-64 ULPs 2012-09-26 12:46:51 +02:00
Roland McGrath
6a1bf82f97 Declare targets with .PHONY in Makefile.in. 2012-09-25 16:21:15 -07:00
Tulio Magno Quites Machado Filho
8ad11b9a9c Add __ppc_get_timebase_freq to ppc.h. 2012-09-25 16:53:14 -05:00
Alan Modra
7e2fca8dd2 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.
2012-09-25 16:30:06 -05:00
Joseph Myers
d032e0d29b Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629). 2012-09-25 19:43:49 +00:00
Joseph Myers
b87c4b24d9 Use size_t instead of int for internal variables in glob (bug 14621). 2012-09-25 19:38:15 +00:00
Liubov Dmitrieva
22bf5c1793 Add optimized sincosf for SSE2 for x86 and x86-64 2012-09-25 20:47:20 +02:00
Liubov Dmitrieva
6d3bf19931 Fix wrong ussage of sincos for subnormal arguments 2012-09-25 20:41:17 +02:00
Joseph Myers
203e56032f Remove various _G_*_t type names. 2012-09-25 12:37:37 +00:00
Siddhesh Poyarekar
9fab36eb58 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.
2012-09-25 14:30:52 +05:30
Siddhesh Poyarekar
2b4f00d1a4 Fix minor typos in comments 2012-09-25 09:28:43 +05:30
Dmitry V. Levin
57c69bef13 Set "fail on error" mode directly in testsuite shell scripts 2012-09-25 02:48:31 +00:00
Dmitry V. Levin
9a9028b1fe Add copyright notices to testsuite shell scripts 2012-09-25 02:48:13 +00:00
H.J. Lu
94b32c3912 Use static link by default for --disable-shared 2012-09-24 17:31:36 -07:00
H.J. Lu
189e935bf8 Replace crtendS.o with crtend.o for static link 2012-09-24 11:25:57 -07:00
H.J. Lu
ced6f16ee9 Properly handle fencepost with MALLOC_ALIGN_MASK 2012-09-24 08:58:04 -07:00
Joseph Myers
a9f8e53a5b Make printf respect the rounding mode for hex output (bug 5044). 2012-09-24 15:38:21 +00:00
Joseph Myers
431531094f Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT. 2012-09-21 10:02:03 +00:00
Joseph Myers
8a26625d21 Remove _G_NEED_STDARG_H. 2012-09-20 14:41:02 +00:00
Dmitry V. Levin
f3fd569c36 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.
2012-09-19 21:28:13 +00:00
Joseph Myers
63bbedd4c2 Don't set TIMEOUTFACTOR in sysdeps/wordsize-64/Makefile. 2012-09-18 15:45:57 +00:00
Chris Metcalf
626f8b6abb crypt: bump up md5test-giant timeout from 180s to 480s 2012-09-17 15:58:51 -04:00
Joseph Myers
b7aaa4d6d2 Remove _G_HAVE_IO_GETLINE_INFO. 2012-09-17 11:43:06 +00:00
H.J. Lu
6551399088 Remove $(have-cpp-asm-debuginfo) check 2012-09-15 13:08:45 -07:00
Joseph Myers
784761bee3 Make printf respect the rounding mode for decimal output (bug 5044). 2012-09-14 20:18:49 +00:00
H.J. Lu
9503345f12 Remove unused __rtld_lock_init_recursive macro 2012-09-13 09:58:58 -07:00
Joseph Myers
ad35fc005b Remove _G_HAVE_PRINTF_FP. 2012-09-13 16:13:09 +00:00
Joseph Myers
6c9b0f6826 Make strtod respect the rounding mode (bug 14518). 2012-09-12 23:36:19 +00:00
Allan McRae
19fcedd5fc Update i386 ULPs for recently added math tests 2012-09-12 13:58:53 +10:00
Joseph Myers
8bbfd2f14a Remove unused typedefs and macros from _G_config.h. 2012-09-11 20:32:13 +00:00
H.J. Lu
b1dc5912f8 Update copyright years in csu/libc-tls.c 2012-09-11 06:27:51 -07:00
Joseph Myers
28361c5ee4 Remove _G_USING_THUNKS. 2012-09-10 22:05:49 +00:00
Joseph Myers
0e886ef96e Remove libio C++ vtable definitions. 2012-09-10 21:22:42 +00:00
H.J. Lu
33a9f7b6cc Update ChangeLog 2012-09-10 12:18:01 -07:00
H.J. Lu
bcba7aa24d Run tst-fopenloc if $(build-shared) is yes 2012-09-10 11:13:54 -07:00
H.J. Lu
06585ee8da Update copyright years 2012-09-10 05:20:22 -07:00
Liubov Dmitrieva
80ccd52c95 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.
2012-09-10 11:44:49 +02:00
H.J. Lu
3d9b46b350 Add "shopt -s nullglob" to check-local-headers.sh 2012-09-07 14:41:14 -07:00
H.J. Lu
de2139a9f2 Check if deriv->steps is NULL before freeing it 2012-09-07 14:14:08 -07:00
H.J. Lu
5ca78dd024 Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++ 2012-09-07 14:12:12 -07:00
H.J. Lu
691bc9c1e4 Remove gnu/stubs.h dependency on soversions.mk 2012-09-07 14:09:34 -07:00
Joseph Myers
65cafb1c3f Use www.gnu.org as example hostname in manual/examples/inetcli.c. 2012-09-07 14:39:11 +00:00
Siddhesh Poyarekar
c78ab09473 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.
2012-09-07 14:40:58 +05:30
John Tobey
01f49f59ce Fix description of carg branch cut (bug 13542) 2012-09-07 12:52:20 +10:00
Joseph Myers
1d3c857210 Use www.gnu.org as example hostname in manual (bug 10014). 2012-09-07 00:25:42 +00:00
Joseph Myers
4c23fed5d5 Fix pointers between nodes in manual (bug 10038). 2012-09-07 00:06:07 +00:00
H.J. Lu
04570aaa8a Restore GL(dl_initial_dtv) 2012-09-06 16:29:10 -07:00
H.J. Lu
b80af2f406 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.
2012-09-06 16:03:32 -07:00