Commit Graph

13123 Commits

Author SHA1 Message Date
Ulrich Drepper
77425c63e7 Add branch predictions to complex math code 2011-10-22 13:17:30 -04:00
Andreas Schwab
ee2aafe08e Fix compilation due to __nan defines 2011-10-22 14:03:26 +02:00
Ulrich Drepper
bc62c2fb15 Optimization to some complex math functions
Also, change last reference to __sqrt into __sqrt to easily.
2011-10-22 00:32:39 -04:00
Ulrich Drepper
c196fed8f0 Fix compilation problems in x86-64 init-arch 2011-10-21 20:47:20 -04:00
Ulrich Drepper
8ec250a484 Add some __builtin_expect to generic __ieee754_log 2011-10-21 12:28:42 -04:00
Ulrich Drepper
ed72b6545f Check for FMA4 support and generate appropriate fma functions 2011-10-20 22:43:15 -04:00
Ulrich Drepper
8d4f46c613 Move fma routines to right place 2011-10-20 21:55:41 -04:00
Ulrich Drepper
abe496adf0 CL is for code changes 2011-10-20 21:33:37 -04:00
Carlos O'Donell
627145fd6a Document copyright year range notation in README.
The FSF now allows year range notation for copyright years.

See `6.5 Copyright Notices' from:
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html

We comply with the FSF requirements for the use of range
notation by documenting the usage in our README.
2011-10-20 18:00:20 -04:00
Andreas Schwab
d45c60c2fe Preserve link time dependencies over relocation dependencies 2011-10-20 12:03:14 +02:00
Ulrich Drepper
855d156018 Optimize x86-64 rawmemchr and add test 2011-10-19 22:22:29 -04:00
Ulrich Drepper
d9a4d2ab27 Add optimized str{,n}casecmp for AVX on x86-64 2011-10-19 12:42:38 -04:00
Andreas Schwab
8f3b1ffefa Fix PLT use for feraiseexcept on x86_64 2011-10-19 13:03:31 +02:00
Ulrich Drepper
d9a8d0abcc Use new internal libc_fe* interfaces in more functions 2011-10-18 15:11:31 -04:00
Ulrich Drepper
4855e3ddf5 Provide combined internal feholdexcept/fesetround interface 2011-10-18 09:59:04 -04:00
Ulrich Drepper
581d30e386 Add optimized nearbyint{,f} for x86-64 2011-10-18 09:13:23 -04:00
Ulrich Drepper
d38f1dba00 Start optimizing the use of the fenv interfaces in libm itself 2011-10-18 09:00:46 -04:00
Andreas Schwab
83c7615c2d Fix last change 2011-10-18 14:11:29 +02:00
Andreas Schwab
caa6c9d845 Fix linkage conflict with feraiseexcept 2011-10-18 11:46:51 +02:00
Ulrich Drepper
99ce7b04ed Small optimization of generic exp2 2011-10-17 23:16:34 -04:00
Ulrich Drepper
1004d1821e Add optimized 64-bit frexp 2011-10-17 22:30:44 -04:00
Ulrich Drepper
228a984d54 Relax asm requirements for recently added x86-64 math interfaces 2011-10-17 20:30:52 -04:00
Ulrich Drepper
c8553a6a6f Makr x86-64 math_private.h more robust 2011-10-17 16:00:39 -04:00
Ulrich Drepper
ed22dcf691 Provide internal optimizations on x86-64 with SSE4.1
Provide macros so that the internal users can, if possible, directly use
the new instructions.

Also fix up the mathinline.h header when compiling with SSE4.1 enabled.
2011-10-17 11:23:40 -04:00
Ulrich Drepper
b171c13768 Fix last x86-64 mathinline change
Use correct function names.
2011-10-17 10:37:00 -04:00
Ulrich Drepper
97c066e65a Fix nesting of #ifdefs in netgroupcache.c 2011-10-17 10:30:03 -04:00
Andreas Schwab
49a43d80ec Fix syntax error in __THROW macro 2011-10-17 11:49:44 +02:00
Andreas Schwab
629f62ef0f Correctly handle missing initgroups database 2011-10-17 09:53:10 +02:00
Ulrich Drepper
aa78043a4a Use leaf function attribute in __THROW 2011-10-16 21:29:11 -04:00
Ulrich Drepper
ad0f5cad15 Use rounds{s,d} for x86 rint, ceil, floor 2011-10-16 20:58:17 -04:00
Ulrich Drepper
e453f6cd0c Fix potential problem with skipping relocations
We never seem to have hit this problem but way relative relocations
were skipped was wrong.  There are relative relocations only in the
DT_REL/DT_RELA section.  The elf_dynamic_do_##reloc function skipped
the entries in all calls, though.
2011-10-16 09:34:51 -04:00
Ulrich Drepper
79b195b55a No need for boundary case handling in x86-32 __ieee_log 2011-10-15 22:21:53 -04:00
Ulrich Drepper
d4a285692a Optimized floor for 64-bit architectures 2011-10-15 21:44:45 -04:00
Ulrich Drepper
b61099b50a Add cosh optimized for 64-bit architectures 2011-10-15 20:47:01 -04:00
Ulrich Drepper
bcf01e6d80 Optimize exp
Add __exp*_finite optimizations and rewrite some wrappers.
2011-10-15 20:22:59 -04:00
Ulrich Drepper
ba1a0d5938 No need for boundary case handling in x86-32 __ieee_logf 2011-10-15 18:09:12 -04:00
Ulrich Drepper
e9b25bd930 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-10-15 16:28:27 -04:00
Ulrich Drepper
fd5bdc0924 Optimize access to isXYZ and toXYZ tables
The functions to get the pointers can now depend on the TLS variable
be initialized.
2011-10-15 16:27:08 -04:00
Andreas Schwab
b468825a05 Fix lost wmemcmp symbol 2011-10-15 20:44:10 +02:00
Andreas Schwab
7872cfb09f Fix searching for C++ system headers for cross compilers 2011-10-15 20:44:10 +02:00
Liubov Dmitrieva
be13f7bff6 Optimized memcmp and wmemcmp for x86-64 and x86-32 2011-10-15 11:10:08 -04:00
Andreas Jaeger
556a200797 Add parameter annotation to modf 2011-10-15 10:08:07 -04:00
Ulrich Drepper
ab6737ffd0 Avoid warning in iofwide 2011-10-15 09:52:26 -04:00
Ulrich Drepper
538faaa7f2 Fix definition of __isctype_f 2011-10-15 01:06:47 -04:00
Ulrich Drepper
cdf2901f5e Remove leftover debug message from pldd 2011-10-14 23:51:20 -04:00
Ulrich Drepper
38ad40ceca Optimize x86-32 log 2011-10-14 23:41:47 -04:00
Ulrich Drepper
396a21b1d0 Support optimized isXXX functions in C++ code 2011-10-14 18:46:12 -04:00
Andreas Schwab
349290c00a Adjust s390 libm ULPs 2011-10-14 11:41:06 +02:00
Andreas Schwab
6b1f68c91f Fix lost feraiseexcept symbol 2011-10-14 11:21:23 +02:00
Roland McGrath
f2282d42b4 BZ#13291: Manual typo fix for strverscmp. 2011-10-13 09:49:28 -07:00
Andreas Schwab
714fad23c6 Fix PLT use in feupdateenv on x86_64 2011-10-13 15:26:45 +02:00
Andreas Schwab
81dcc7fb74 Check for zero size in memrchr for x86_64 2011-10-13 13:34:41 +02:00
Andreas Schwab
5298ffa828 Add memrchr tests 2011-10-13 13:34:41 +02:00
Liubov Dmitrieva
951fbcec70 Optimized memchr, memrchr, rawmemchr for x86-32 2011-10-12 11:42:04 -04:00
Ulrich Drepper
0ac5ae2335 Optimize libm
libm is now somewhat integrated with gcc's -ffinite-math-only option
and lots of the wrapper functions have been optimized.
2011-10-12 11:27:51 -04:00
Andreas Schwab
a843a204a3 Fix PLT use in getnetgrent_r 2011-10-10 21:39:59 +02:00
Andreas Schwab
12cc2fcdb4 Implement __isinf_nsl for IBM long double 2011-10-10 21:39:59 +02:00
Ulrich Drepper
d9db0846f2 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-10-09 13:17:46 -04:00
Ulrich Drepper
c853acd567 Update Japanese translation 2011-10-09 13:16:29 -04:00
Roland McGrath
110946e473 Clean up locarchive mmap reservation code. 2011-10-08 15:28:52 -07:00
Roland McGrath
5060422095 Conditionalize unnecessary #include. 2011-10-08 15:28:21 -07:00
Roland McGrath
c658d255e9 Fix some nit warnings. 2011-10-08 15:25:08 -07:00
Ulrich Drepper
7edb55ce06 Optimize use of isnan, isinf, finite 2011-10-08 10:18:26 -04:00
Ulrich Drepper
187da0aedc isinf returns the sign of the number, use it in printf* 2011-10-08 08:22:44 -04:00
Ulrich Drepper
9277c06437 Use private math_private.h in files in math/ 2011-10-08 05:16:04 -04:00
Ulrich Drepper
cbf645a649 Note bug number in CL 2011-10-08 04:30:28 -04:00
Ulrich Drepper
6a621eb73a Update Japanese translation 2011-10-08 03:26:42 -04:00
Andreas Jaeger
f9efbf3af2 Fix netname2host 2011-10-08 03:24:17 -04:00
Andreas Jaeger
bf5824458c Fix remainder (NaN, 0) 2011-10-07 15:14:06 -04:00
Andreas Krebbel
48693bea9e S/390: Fix longlong.h inline asms for zarch 2011-10-07 12:09:59 -04:00
Liubov Dmitrieva
42622229a9 delete 4 lines with unused "define" macros in test-memcmp 2011-10-07 11:52:49 -04:00
Liubov Dmitrieva
093ecf9299 Improve 64 bit memchr, memrchr, rawmemchr with SSE2 2011-10-07 11:49:10 -04:00
Marek Polacek
fde56e5cc5 elf/dl-load.c: Avoid warning 2011-10-07 11:00:13 -04:00
Ulrich Drepper
5a06e64333 Update Catalan translation 2011-10-07 10:44:13 -04:00
Ulrich Drepper
684ae51599 Implement caching of nscd 2011-10-07 10:06:31 -04:00
Ulrich Drepper
21fd49a9ef Don't unnecesarily use inotify in nscd 2011-10-07 01:20:53 -04:00
Ulrich Drepper
32b63198d6 Avoid warning when reload of group entry fails 2011-10-06 03:44:19 -04:00
Ulrich Drepper
054c0457fd Stop crash in OOM handling in NSS 2011-10-06 03:18:20 -04:00
Jiri Olsa
64031225b2 More fallout from OOM in NSS 2011-10-06 03:14:21 -04:00
Jiri Olsa
0490345c9f Handle OOM in NSS 2011-10-06 03:04:10 -04:00
Andreas Schwab
3a62d00d40 Don't call ifunc functions in trace mode 2011-10-05 14:35:40 +02:00
Ulrich Drepper
6857791843 Optimize libnss_files initialization 2011-09-28 10:01:13 -04:00
Andreas Schwab
68822d7426 Adjust powerpc libm ULPs 2011-09-28 10:12:56 +02:00
Roland McGrath
2056100b80 Fix some grammar in the manual. 2011-09-27 09:32:38 -07:00
Andreas Schwab
32c76b63be Correctly reparse group line after enlarging the buffer 2011-09-27 09:55:28 +02:00
Andreas Schwab
bf972c9dfc Fix parse error in bits/mathinline.h with --std=c99 2011-09-26 14:01:30 +02:00
Joseph Myers
e057a1b593 Link libresolv.so with ld.so for __stack_chk_guard. 2011-09-21 13:27:50 -07:00
Roland McGrath
ecb1482ffd Clean up disabling of script_execute 2011-09-19 12:50:25 -07:00
Roland McGrath
bc7e1c3667 Get rid of tls.make include file. 2011-09-19 12:48:15 -07:00
Mike Frysinger
1c3b002bbb Use CPPFLAGS from configure. 2011-09-19 12:41:04 -07:00
Ulrich Drepper
88738eb6e9 finite for 64-bit platforms 2011-09-15 23:01:56 -04:00
Ulrich Drepper
2840865d5a Define IP_MULTICAST_ALL 2011-09-15 18:09:53 -04:00
Roland McGrath
b402e91af4 Use HIDDEN_JUMPTARGET rather than spelling out its effects, for ____longjmp_chk implementations. 2011-09-15 12:26:08 -07:00
Ulrich Drepper
4d8e1f1195 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-09-15 13:12:25 -04:00
Ulrich Drepper
4c1a1f71c0 Add fmax and fmin inlines for x86-64 2011-09-15 13:11:08 -04:00
Andreas Schwab
edc121be8b Fix PLT uses in libm on powerpc 2011-09-15 15:35:38 +02:00
Ulrich Drepper
ee4d03150a Use correct section to allow merging 2011-09-14 13:43:24 -04:00
Ulrich Drepper
cd20565401 Optimized lrint and llrint for x86-64 2011-09-14 12:58:43 -04:00
Andreas Schwab
48b67d71ec Also relocate in dependency order when doing symbol dependency testing 2011-09-14 13:29:24 +02:00
Andreas Schwab
1ae12c758f Fix undefined symbol in powerpc64 dl-machine.h 2011-09-13 20:01:15 +02:00
Andreas Schwab
e529793b50 Avoid macro clash between <sys/select.h> and <linux/posix_types.h> 2011-09-13 15:16:38 +02:00
Andreas Schwab
52d4fef8be Fix pattern on $(ldd-rewrite-script) substitution 2011-09-13 10:29:43 +02:00
Andreas Schwab
995a80dfbc Only use USE___THREAD when defined 2011-09-13 10:21:47 +02:00
Ulrich Drepper
8682f8b0e4 Optimize logb code for 64-bit machines 2011-09-12 16:21:24 -04:00
Ulrich Drepper
037e9fe21c Revert "Remove last use of USE___THREAD"
This reverts commit de82006d43.

Conflicts:

	ChangeLog
2011-09-12 16:20:40 -04:00
Andreas Schwab
a7c8e6a147 Fix invalid conversion in __cmsg_nxthdr 2011-09-12 15:48:12 +02:00
Andreas Schwab
de82006d43 Remove last use of USE___THREAD 2011-09-12 13:37:57 +02:00
Ulrich Drepper
bb016596a6 Cleanup CL 2011-09-11 15:04:13 -04:00
Ulrich Drepper
773523e08d Merge branch 'master' of ssh://sourceware.org/git/glibc 2011-09-11 15:02:32 -04:00
Ulrich Drepper
83cd142045 Remove --wth-tls option, TLS support is required 2011-09-11 15:02:01 -04:00
Andreas Schwab
0f31fe7791 Prepend $(..) to $(ldd-rewrite-script) if non-absolute 2011-09-11 20:34:57 +02:00
Ulrich Drepper
633f745dca Avoid cast in non-gcc obstack_free 2011-09-11 13:04:17 -04:00
Ulrich Drepper
f318beb800 Fix use of AC_INIT 2011-09-11 12:14:48 -04:00
Ulrich Drepper
32b4c8393f Provide static initializer for _dl_pagesize in statically linked code 2011-09-11 11:25:51 -04:00
Ulrich Drepper
8e58439c92 Remove MALLOC_FAILURE_ACTION use in malloc 2011-09-10 22:12:38 -04:00
Ulrich Drepper
02d46fc4b9 Simplify malloc initialization
Singificantly reduce the code needed at malloc initialization.  In
the process getpagesize is simplified by always initializing
GLRO(dl_pagesize).
2011-09-10 21:47:36 -04:00
Ulrich Drepper
22a8918713 Simplify malloc code
Remove all kinds of unused configuration options and dead code.
2011-09-10 18:10:17 -04:00
Ulrich Drepper
d063d16433 Remove support for !USE___THREAD 2011-09-10 16:50:28 -04:00
Ulrich Drepper
3ce1f29594 Cleanup of configuration options
Make several tool features mandatory and simplify the code.
2011-09-10 14:34:15 -04:00
Petr Baudis
1248c1c415 Fix jn precision 2011-09-09 22:16:10 -04:00
Ulrich Drepper
f19009c155 Use (void*) instead of 0 for return value pointer in __cmsg_nexthdr 2011-09-09 21:46:08 -04:00
Ulrich Drepper
3f8cc204fd Fix boundary conditions in scanf
Allocate large buffers with realloc.  When returning error make sure
the stream is unlocked.
2011-09-09 21:26:05 -04:00
Ulrich Drepper
e4899e7b9a Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-09-09 18:21:39 -04:00
Ulrich Drepper
f22e10748f Don't lock string streams in stream cleanup code 2011-09-09 16:15:25 -04:00
Roland McGrath
0a2349f929 Define ELFOSABI_GNU. 2011-09-09 10:11:49 -07:00
Denis Zaitceff
f3cdd46748 string/strncat.c: fix compilation for some architectures 2011-09-09 12:45:03 -04:00
Ulrich Drepper
633e9e0fc2 Fix sotruss help messages 2011-09-09 12:31:43 -04:00
Ulrich Drepper
74718d13e4 Fill in real information in __dl_iterate_phdr 2011-09-09 09:43:43 -04:00
Andreas Jaeger
f992478091 Fix warning in elf/sprof.c 2011-09-08 23:41:41 -04:00
Paul Pluzhnikov
7f5517aa52 Fix lround() loses precision 2011-09-08 23:37:32 -04:00
Ulrich Drepper
92963737c4 Remove support for automatic cvs check-ins
CVS use for glibc is long gone.
2011-09-08 23:19:04 -04:00
John Stanley
b0727fd83f Add missing definition of LOCPATH for bug-regex32 run 2011-09-08 22:57:23 -04:00
Ulrich Drepper
a0f33f996f Add range checking for FD_SET, FD_CLR, and FD_ISSET 2011-09-08 19:48:47 -04:00
Ulrich Drepper
762011fe9f Move wide char tests to wcsmbs directory 2011-09-08 18:01:07 -04:00
Roland McGrath
0442afb40e BZ#13153: Update manual last-edit info. 2011-09-08 09:50:19 -07:00
Samuel Thibault
a12b2239dd sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. 2011-09-08 09:46:06 -07:00
Roland McGrath
7f513ec8b3 Hurd: fix use of uninitialized value in fork port copying. 2011-09-08 09:37:42 -07:00
Andreas Schwab
610f9ab43e Fix crash during error handling 2011-09-08 12:03:11 +02:00
Ulrich Drepper
b49865be8e Use O_CLOEXEC when loading objects in ld.so 2011-09-08 00:00:01 -04:00
Ulrich Drepper
fdc86bc9a8 Pass back error code from dlerror_run 2011-09-07 23:50:40 -04:00
Ulrich Drepper
c966526aa4 Fix memory leak in case of failed dlopen 2011-09-07 22:58:47 -04:00
Liubov Dmitrieva
48882a1abe Fix up x86-32 section names for Atom code 2011-09-07 22:28:44 -04:00
Ulrich Drepper
3d4837df4a Check for finite/infinity parms in IBM Long Double 128 fmal( )
This patch addresses some IBM Long Double 128 fmal () test-ldouble.out
and test-ildoubl.out failures.  If the ‘x’ and ‘y’ parameters are
finite values and ‘z’ is infinity, the result of fmal () should be ‘z’
not NaN.

Conflicts:

	ChangeLog
2011-09-07 22:17:33 -04:00
Adhemerval Zanella
77a2a8b4a1 Trigonometric optimizations for POWER 2011-09-07 22:10:26 -04:00
Alan Modra
24f579d86e Fix profiling on powerpc32 secure-plt shared libs and PIEs 2011-09-07 22:02:42 -04:00
Will Schmidt
2270037782 power7 strncmp optimization 2011-09-07 21:56:57 -04:00
Will Schmidt
5025581e1c power7 memcpy VSX optimizations 2011-09-07 21:54:41 -04:00
Ulrich Drepper
a450513e1d Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-09-07 21:52:39 -04:00
H.J. Lu
08a300c956 Simplify AVX check 2011-09-07 21:38:23 -04:00
Andreas Schwab
59178ef977 Revert "Fix semid_ds for x86-64"
This reverts commit 2f0ad8f3a4.
2011-09-07 14:29:53 +02:00