Commit Graph

13236 Commits

Author SHA1 Message Date
Ulrich Drepper
8a426e1289 Fix comment in mcheck.h 2011-12-03 07:14:40 -05:00
Ulrich Drepper
3a96549619 Remove aliasing problems in NIS code 2011-12-02 21:13:10 -05:00
Ulrich Drepper
9bea34736f Avoid warning in aicache.c 2011-12-02 21:05:19 -05:00
Ulrich Drepper
f101631bfd SH atomic asms fix for gcc 4.7 2011-12-02 08:19:50 -05:00
Ulrich Drepper
a98275aa61 Implement SH backtrace using IA64 version 2011-12-02 07:35:33 -05:00
Ulrich Drepper
ade60c8942 Fix CL 2011-12-02 07:34:19 -05:00
Andreas Schwab
d4cc29a254 Mark fortified __FD_ELT as extension 2011-12-02 11:36:55 +01:00
Andreas Schwab
6257af2d05 Truncate time values in Linux futimes when falling back to utime 2011-12-01 14:24:08 +01:00
Andreas Schwab
b5f44c1ad9 Adjust libm test ulps for s390 2011-11-30 14:14:42 +01:00
Andreas Schwab
f3a6cc0a56 Fix access after end of search string in regex matcher 2011-11-30 11:03:20 +01:00
Andreas Schwab
c5a0802a68 Handle EAGAIN from FUTEX_WAIT_REQUEUE_PI 2011-11-30 11:03:19 +01:00
Ulrich Drepper
9d65ea3a9b Remove handling of VCs other then git 2011-11-17 12:33:33 -05:00
Andreas Schwab
5583a0862c Fix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg-refs 2011-11-16 11:48:10 +01:00
Ulrich Drepper
d62a8200e1 Use O_CLOEXEC in a few more places 2011-11-15 14:00:58 -05:00
Andreas Schwab
446514f97e Fix clock_gettime for assumed kernel >= 2.6.12 2011-11-15 15:17:15 +01:00
Andreas Schwab
09f93bd3d6 Fix reference counting in network interface information cache 2011-11-15 10:58:00 +01:00
Ulrich Drepper
312be3f9f5 Clean up internal fopen uses
No need to ever not use c and e.
2011-11-15 04:24:42 -05:00
Ulrich Drepper
82af0fa8de Use O_CLOEXEC in tzfile handling 2011-11-14 18:46:46 -05:00
Ulrich Drepper
8e3f3f8fda Merge branch 'x32-strcase'
Conflicts:
	ChangeLog
2011-11-14 18:39:05 -05:00
Ulrich Drepper
6abf346582 Add SSE4.2 support for strcasecmp and strncasecmp on x86-32 2011-11-14 18:24:35 -05:00
Andreas Schwab
a5fb313cb7 Don't call reused_arena when _int_new_arena failed 2011-11-14 11:53:46 +01:00
Ulrich Drepper
76e3966e9e SSSE3 optimized strcasecmp and strncasecmp for x86-32 2011-11-13 09:50:13 -05:00
Ulrich Drepper
7edb22eff5 Fix wanings in clock_gettime 2011-11-12 02:54:34 -05:00
Ulrich Drepper
9694fc4479 Avoid unused warning in getaddrinfo_a 2011-11-12 02:30:01 -05:00
Ulrich Drepper
8ad89ef88d Avoid warnings about unused variable in 96-bit j0l and j1l 2011-11-12 02:20:29 -05:00
Ulrich Drepper
0c822ef988 Avoid warnings about unused variables in 96-bit hypotl 2011-11-12 02:15:07 -05:00
Ulrich Drepper
874e05643b Avoid redefinition of DWARF constants 2011-11-12 02:06:05 -05:00
Ulrich Drepper
3a2edc79ed Fix warning in __dl_iterate_phdr 2011-11-12 01:49:14 -05:00
Ulrich Drepper
f3c2577fdc Fix case value used in RPC cod 2011-11-12 01:41:05 -05:00
Ulrich Drepper
294ce12680 Avoid warning from shifting 2011-11-12 01:31:29 -05:00
Ulrich Drepper
5e2b63c658 Fix warnings in regex 2011-11-12 01:23:45 -05:00
Ulrich Drepper
e7f4b08ee9 Fix warnings in fallback C code of x86-32 wide memory functions 2011-11-12 00:50:26 -05:00
Ulrich Drepper
ab26144ebb Fix warning in nis_table 2011-11-12 00:18:19 -05:00
Adhemerval Zanella
8a6d525522 PowerPC: Arithmetic function optimizations for POWER 2011-11-11 13:33:38 -05:00
Ulrich Drepper
1d8f7ddc04 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-11-11 13:29:12 -05:00
Marek Polacek
aaddc98c25 Remove unused variables 2011-11-11 13:27:59 -05:00
Roland McGrath
95b7042bac Fix __readlink declaration. 2011-11-11 10:04:54 -08:00
Ulrich Drepper
5776983978 makecontext doens't need __THROWNL 2011-11-11 12:57:31 -05:00
Andreas Schwab
98591e5820 Fix db makefile rule for group.db 2011-11-11 14:44:21 +01:00
Andreas Schwab
edc5984d4d Mark setjmp and ucontext functions as non-leaf 2011-11-11 11:11:07 +01:00
Andreas Schwab
77cdc054e0 Check malloc arana limit atomically 2011-11-10 11:00:59 +01:00
Ulrich Drepper
5f078c3286 Use strcasecmp_l instead of strcasecmp 2011-11-08 09:26:08 -05:00
Ulrich Drepper
fe72eebd67 Remove unnecessary code from x86-32 SSSE3 strncmp 2011-11-08 07:50:20 -05:00
Andreas Schwab
7583a88d1c Fix locking in _IO_flush_all_lockp 2011-11-07 15:20:59 +01:00
Andreas Schwab
ae1bc2fa1c Fix buffer allocation in files initgroups handler 2011-11-07 11:49:51 +01:00
Andreas Schwab
998832a466 Always provide declarations of long double math functions when !_LIBC 2011-11-04 15:16:11 +01:00
Andreas Schwab
10fb0bfab1 Fix off-by-one when reading link name in sprof 2011-11-04 10:25:00 +01:00
Andreas Schwab
a9ae54a136 Don't start AVC thread until credentials are installed 2011-11-03 14:41:38 +01:00
Andreas Schwab
3d7ba52b68 Don't fail in makedb if SELinux is disabled 2011-11-03 14:41:10 +01:00
Samuel Thibault
bc8db248ba Fix _IOT_sgttyb definition. 2011-11-02 09:27:34 -07:00
Ulrich Drepper
d35dce5213 Merge branch 'master' of ssh://sourceware.org/git/glibc 2011-11-01 22:24:49 -04:00
Ulrich Drepper
34372fc6d3 Fix test of non-ASCII locales in x86-64 strcasecmp et.al. 2011-11-01 16:46:23 -04:00
Andreas Schwab
647776f663 Account for alloca size rounding in extend_alloca 2011-11-01 18:29:34 +01:00
Andreas Schwab
d91a8b93aa Ignore libaudit.h when checking for system header use 2011-11-01 18:29:08 +01:00
Andreas Schwab
45b96dd684 Properly set extra-objs in nscd makefile 2011-11-01 18:28:38 +01:00
Ulrich Drepper
fadb59f8d3 Fix tst-rfc3484 build failures 2011-11-01 10:55:29 -04:00
Ulrich Drepper
78239589cd New Linux syscalls process_vm_readv and process_vm_writev 2011-11-01 09:59:32 -04:00
Ulrich Drepper
432d41ceec Use kernel headers for netlink definitions 2011-11-01 08:43:33 -04:00
Paul Pluzhnikov
02f9c6cfe2 Use extend_alloca in _dl_map_object_deps. 2011-10-31 16:27:54 -07:00
Ulrich Drepper
f4ec483382 Unify getent output for initgroups database
Requests for other fail if iteration is not supported and no parameters
are given.  Do this for initgroups as well.
2011-10-31 16:48:45 -04:00
Ulrich Drepper
0ffc4f3eba Fix typo in CL 2011-10-31 09:18:21 -04:00
Ulrich Drepper
3a2c02424d Cache network interface information
Whenever getaddrinfo needed network interface information it used the
netlink interface to read the information every single time.  The
problem is that this information can change at any time.

The patch implements monitoring of the network interfaces through
nscd.  If no change is detected the previously read information can
be reused (which is the norm).  This timestamp information is also
made available to other processes using the shared memory segment
between nscd and those processes.
2011-10-31 01:51:16 -04:00
Ulrich Drepper
636064eb4c Fix potential double close in __check_fd if OOM 2011-10-30 14:22:57 -04:00
Ulrich Drepper
6ef76f3b51 Avoid assertion in processes with VM in bad shape 2011-10-29 16:39:03 -04:00
Ulrich Drepper
9beb233493 Mark a few more functions with __THROWNL. 2011-10-29 15:56:44 -04:00
Ulrich Drepper
cb95113e30 Fix accuracy problem in generic sin 2011-10-29 14:08:56 -04:00
Ulrich Drepper
c9aafacee4 Correctly NUL-terminate link name in sprof 2011-10-29 12:51:53 -04:00
Ulrich Drepper
d272e7f19d Cleanups in ldconfig's chroot handling 2011-10-29 12:43:18 -04:00
Ulrich Drepper
1bc3307181 Avoid warning in dl-lookup.c 2011-10-29 12:40:55 -04:00
Thomas Jarosch
1760874da6 Fix readlink call in ldconfig's chroot handling 2011-10-29 12:24:38 -04:00
Ulrich Drepper
51d91b1895 Add strchrnul performance test 2011-10-29 11:54:15 -04:00
Ulrich Drepper
b611fb810f Update Spanish translation 2011-10-29 11:41:55 -04:00
Ulrich Drepper
a1b560ff58 Update Italian translation 2011-10-29 11:40:55 -04:00
Ulrich Drepper
52e4b9eb62 More cleanups of x86-64 strstr 2011-10-28 19:01:48 -04:00
Ulrich Drepper
fd52bc6dc4 Clean up x86-64 strcasestr
Actually describe in the C code what is going on.
2011-10-28 18:18:04 -04:00
Ulrich Drepper
a5b81e1fb7 Remove code without too much effects
Some of the AVX-specific code is not giving enough speed-up to
justify the extra code.
2011-10-28 16:55:01 -04:00
Andreas Schwab
0c92d8a87a Fix some warning nits 2011-10-28 12:02:08 +02:00
Andreas Schwab
b43433460b Move wide char related routines to wcsmbs subdir 2011-10-28 12:01:29 +02:00
Andreas Schwab
3871f58f06 Don't mark memory synchronisation functions as leaf 2011-10-27 17:20:14 +02:00
Roland McGrath
21b64b1536 BZ#13349: Missing BZ tag for last change. 2011-10-26 16:53:40 -07:00
Roland McGrath
94d44d9f4d Remove mention of open_obstack_stream, which has never existed in libio. 2011-10-26 16:53:02 -07:00
Andreas Schwab
804791474d Fix uses of math_force_eval 2011-10-26 11:44:08 +02:00
Andreas Schwab
f6ce9294b0 Make math_force_eval accept non-addressable arguments 2011-10-26 11:44:08 +02:00
Ulrich Drepper
e0016b11d6 Add AVX optimized versions for some x86-64 math functions 2011-10-25 21:34:55 -04:00
Ulrich Drepper
ffb124cc51 Typo in CL 2011-10-25 15:11:32 -04:00
Ulrich Drepper
618280a192 Optimize x86-64 SSE4.2+ strcmp a bit more 2011-10-25 14:50:31 -04:00
Ulrich Drepper
32d2a6ec31 Merge branch 'master' of ssh://sourceware.org/git/glibc 2011-10-25 11:09:55 -04:00
Ulrich Drepper
d7826aa149 Use math_force_eval in more places 2011-10-25 10:52:45 -04:00
Andreas Schwab
1f1e194720 Use correct signedness in default implementations of wcscmp and wmemcmp 2011-10-25 15:26:29 +02:00
Andreas Schwab
37822576b8 Fix strchr test 2011-10-25 15:25:37 +02:00
Ulrich Drepper
31ea014d8b Use VEX encoding in inline math functions on x86-64 when possible 2011-10-25 08:17:57 -04:00
Andreas Schwab
16437fece4 Small optimization of dependency sorting 2011-10-25 13:33:12 +02:00
Ulrich Drepper
31d3cc00b0 Cleanup FMA4 patch
Move the FMA4 code into its own section.  Avoid some of the duplication
of data resulting from the double use of source files.
2011-10-25 00:56:33 -04:00
Ulrich Drepper
202c9deb15 Better DLA_FMS
It's better to use __builtin_fma if it works.  Use it for gcc 4.6 and
higher.  Move the x86-64 dla.h to the correct place.
2011-10-24 22:11:21 -04:00
Ulrich Drepper
a0cf1edd4c Use inline asm for DLA_FMS because of broken old compilers 2011-10-24 21:17:10 -04:00
Ulrich Drepper
af968f62f2 Optimize accurate 64-bit routines for FMA4 on x86-64 2011-10-24 20:19:17 -04:00
Ulrich Drepper
58985aa92f Finish renamed DLA_FMA -> DLA_FMS 2011-10-24 14:21:18 -04:00
Andreas Schwab
a201fbcf9c Fix lost wcslen symbol 2011-10-24 12:03:33 +02:00
Ulrich Drepper
bb3129bd25 Optimized remquo for 64-bit platforms 2011-10-23 21:31:21 -04:00
Ulrich Drepper
0275fff8a1 Optimize f_mod
Branch prediction for the 32-bit implementation and a new optimized
64-bit implementation.
2011-10-23 20:55:26 -04:00
Ulrich Drepper
2fa2ae85ca Fix strnlen change 2011-10-23 16:30:40 -04:00
Liubov Dmitrieva
fc2ee42abe Add optimized wcslen and strnlen for x86-32 2011-10-23 15:17:23 -04:00
Liubov Dmitrieva
ce7dd29f28 Optimized strnlen and wcscmp for x86-64 2011-10-23 14:56:04 -04:00
Michael Zolotukhin
979c70a3b1 Improve x86-32 SSSE3 memcpy 2011-10-23 14:28:26 -04:00
Liubov Dmitrieva
2d09f82f8a Add wcschr test cases 2011-10-23 14:14:26 -04:00
Liubov Dmitrieva
619fcccaa3 Add wcslen test cases 2011-10-23 14:11:50 -04:00
Ulrich Drepper
09f699eaef Update Italian translation 2011-10-23 14:08:08 -04:00
Liubov Dmitrieva
95584d3b33 Fix signedness in wcscmp comparison 2011-10-23 13:34:15 -04:00
Ulrich Drepper
c8b3296bbe Clean up last dla.h change 2011-10-23 12:50:28 -04:00
Andreas Schwab
246ad57ad6 Add missing _finite aliases 2011-10-23 15:32:05 +02:00
Ulrich Drepper
0d355eb7c7 Update ULPs for x86-64 2011-10-22 20:06:23 -04:00
Ulrich Drepper
a1a8716924 Start using fma in the libm implementation 2011-10-22 19:02:20 -04:00
Ulrich Drepper
dbc36f153e Merge branch 'master' of ssh://sourceware.org/git/glibc 2011-10-22 13:18:08 -04:00
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