Commit Graph

12544 Commits

Author SHA1 Message Date
H.J. Lu 4a531bb0b3 Remove `.ctors' and `.dtors' output sections 2010-12-24 20:14:37 -05:00
Ulrich Drepper 07eb4b716e Always allow overwriting printf modifiers etc. 2010-12-24 19:28:32 -05:00
Ulrich Drepper 14b697f75a Fix ChangeLogs. 2010-12-19 22:52:57 -05:00
Ryan S. Arnold 30950a5fd2 Make PowerPC64 default to nonexecutable stack 2010-12-19 22:49:01 -05:00
Ulrich Drepper db753e2cfb More accurate computatin of reclen in readdir_r.
Alignment issue can increase the reclen limit.
Make sure Linux 64-bit readdir_r also accounts for 64-bit alignment
in getdents.
2010-12-19 16:00:59 -05:00
Ulrich Drepper 283007197c Undo accidental checkin. 2010-12-14 13:09:28 -05:00
Andreas Schwab dbb0472f05 Declare wcpcpy and wcpncpy only under _GNU_SOURCE 2010-12-10 09:16:12 -05:00
Andreas Schwab 4f1972374a Fix use of restrict in wchar.h 2010-12-10 09:15:01 -05:00
Ulrich Drepper fb88ac72c2 Fix race in qsort_r initialization. 2010-12-09 12:12:58 -05:00
Jakub Jelinek 42acbb92c8 Fix -D_FORTIFY_SOURCE memmove and bcop 2010-12-09 10:38:18 -05:00
Ulrich Drepper a5b913e299 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2010-12-03 09:50:35 -05:00
Ulrich Drepper c038d98d63 Update Italian translation. 2010-12-03 09:49:21 -05:00
H.J. Lu 3a4a2499ec Remove dead code from x86-32 SSSE3 strncmp. 2010-12-01 22:18:31 -05:00
Ulrich Drepper 1e24cf6e6e Relax libm tests for x86-32. 2010-11-30 14:57:57 -05:00
Andreas Schwab a769081960 Don't ignore zero TTL in DNS answers 2010-11-25 20:50:16 -05:00
Jakub Jelinek 3bf8d1b10c ldbl-128 fmal compile fix 2010-11-22 15:38:35 -05:00
Petr Baudis 6db52fbb27 Allow aux_cache_file open()ing to fail silently even in the chroot mode.
The aux_cache fix of bug 11149 introduced a new bug - normally,
ldconfig -r never cares if the auxiliary cache is not available and
that is not a fatal problem, however this is not the case in case
of ldconfig -r when executed as non-root. In that case, ldconfig -r
fails hard unless var/cache/ldconfig/ exists within the chroot. This
patch fixes that.

Conflicts:

	ChangeLog
2010-11-22 12:47:57 -05:00
Ulrich Drepper eaca75697f Optimize last initgroups patch a bit. 2010-11-22 11:15:08 -05:00
Ulrich Drepper 3056dcdb78 Fix multiple nss_compat initgroups() bugs
Compat initgroups() is completely broken; the code will always set
skip_initgroups_dyn to true, so initgroups() will never be actually
called, but due to the nature of the code, setgrent() won't be called
either - thus, subsequent invocations of initgroups() will not return
the NIS group list anymore.

This is a simple patch that makes sure skip_initgroups_dyn is set only
in case initgroups is not available; it also attempts to handle the
unavailability of other NSS interfaces better.

Conflicts:

	ChangeLog
2010-11-22 11:11:24 -05:00
Ulrich Drepper cf7c9078a5 Define MAP_HUGETLB. 2010-11-19 09:35:39 -05:00
Ulrich Drepper a1fb5e3ebe Define SWAP_FLAG_DISCARD. 2010-11-16 12:17:04 -05:00
Andreas Schwab 3540d66b66 Fix memory leak in fnmatch 2010-11-12 03:51:28 -05:00
H.J. Lu 13b695749a Support Intel processor model 6 and model 0x2. 2010-11-12 03:48:52 -05:00
Luis Machado da93d21475 Fix comparison in sqrtl for IBM long double 128. 2010-11-10 16:15:05 -05:00
H.J. Lu 8ca52c6e3b Fix one exit path in x86-64 SSE4.2 str{,n}casecmp. 2010-11-10 03:05:37 -05:00
Ulrich Drepper 69da074d7a Fix warnings in __bswap_16. 2010-11-10 02:38:35 -05:00
H.J. Lu ff02d5280b Use IFUNC on x86-64 memset 2010-11-08 03:41:34 -05:00
Luis Machado 344d0b545d power7-optimized mempcpy 2010-11-05 08:01:13 -04:00
Ulrich Drepper c0dde15b5d 32bit memset-sse2.S fails with uneven cache size
32bit memset-sse2.S assumes cache size is multiple of 128 bytes.  If
it isn't true, memset-sse2.S will fail.  For example, a processor can
have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half
of it is 1258291, which isn't helpful for vector instructions.  This
patch rounds cache sizes to multiple of 256 bytes and adds "raw" cache
sizes.
2010-11-05 07:57:46 -04:00
Miklos Szeredi 0e516e0e14 Verify in ttyname() that the symlink is valid. 2010-11-03 00:25:45 -04:00
Erich Ritz 0e012e8734 Fix typo in comment. 2010-11-01 14:50:24 -04:00
Ulrich Drepper de0ff7bcf6 Update Danish translations. 2010-11-01 14:27:55 -04:00
Ulrich Drepper fa41c84d73 Fix assertion in ld.so, introduced by delayed adding to global list. 2010-10-26 13:01:46 -04:00
Andreas Krebbel f09677388a Fix concurrency problem between dl_open and dl_iterate_phdr 2010-10-26 00:23:14 -04:00
Richard Li dbf3a06904 Fix x86-64 strchr propagation of search byte into all bytes of SSE register 2010-10-25 14:13:17 -04:00
Ulrich Drepper fdc0f374bc Fix perturbing in malloc on free. 2010-10-24 22:37:00 -04:00
Michael B. Brutman d0b9e94faf powerpc: PPCA2/A2 optimized memcpy function 2010-10-24 21:47:33 -04:00
Andreas Schwab 8e9f92e9d5 Require suid bit on audit objects in privileged programs 2010-10-24 21:43:15 -04:00
Andreas Schwab bc96fbda27 Work around shortest-stem feature in make 3.82+ 2010-10-24 21:42:39 -04:00
Andreas Schwab 22cd1c9bcf Don't expand DST twice in dl_open 2010-10-24 20:40:14 -04:00
Ulrich Drepper 18edac4857 Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64. 2010-10-19 12:56:42 -04:00
Michael Meissner d20501241e Add C99 FP_FAST_FMA{,F,L} macros to math.h 2010-10-19 12:49:05 -04:00
Ulrich Drepper 6ce0bb748d Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2010-10-19 12:47:13 -04:00
Jakub Jelinek 7c08a05c5f IEEE quad fmal fixes 2010-10-18 07:29:50 -04:00
Jakub Jelinek 475facd1f5 Missing CL. 2010-10-15 15:27:16 -04:00
Jakub Jelinek f3f7372de1 Fix some more dbl-64/s_fma.c issue 2010-10-15 15:25:14 -04:00
Andreas Schwab 14d43591fa Expect PLT call to _Unwind_Find_FDE on s390*-linux 2010-10-15 07:29:38 -04:00
Jakub Jelinek 5e908464b9 Implement accurate fma. 2010-10-13 22:27:03 -04:00
Ulrich Drepper b833d51fbb One more regex memory leak fixed. 2010-10-12 09:00:33 -04:00
Ulrich Drepper e9b9cbf5e9 More regex memory leak fixes and tests. 2010-10-11 22:46:44 -04:00
Ulrich Drepper ef06edbee6 Test case for last regex problem. 2010-10-11 12:34:53 -04:00
Ulrich Drepper a129c80d54 Fix memory leak for some invalid regular expressions. 2010-10-11 11:46:22 -04:00
Ulrich Drepper b76b818e6f psiginfo relied too much on sys_siglist. 2010-10-11 10:58:31 -04:00
Ulrich Drepper 1751705d1c Linux getifaddrs might return entries with ->ifa_addr being NULL. 2010-10-11 09:38:00 -04:00
Jakub Jelinek 9ff8d36f27 Correct implementation of fmaf. 2010-10-11 09:27:05 -04:00
Ulrich Drepper c579b20299 Fix BZ reference in last checkin. 2010-10-11 09:19:36 -04:00
Ulrich Drepper af3259695d Unify psiginfo output. 2010-10-11 09:10:41 -04:00
Ulrich Drepper 67a67b950b Add test case for strstr problem. 2010-10-06 13:48:51 -04:00
Eric Blake 5fb308bca2 Fix strstr and memmem algorithm. 2010-10-06 13:48:07 -04:00
Ulrich Drepper 3b11189345 Handle large requests. 2010-10-03 22:27:21 -04:00
Ulrich Drepper 45db99c7d0 Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp 2010-10-03 22:10:30 -04:00
Nobuhiro Iwamatsu cf7a1eb81d sh: Add "extern "C"" to __set_fpscr function 2010-10-01 19:40:36 -04:00
Andreas Jaeger 6484ba5ef0 Handle cgroup and btrfs filesystems 2010-10-01 10:49:47 -04:00
Luis Machado 91c4255919 powerpc: Use generic memset for RTLD for ppc32/64 2010-09-29 12:21:14 -04:00
Andreas Krebbel 87a97932bd S/390: Fix highgprs check in startup code 2010-09-29 11:31:42 -04:00
Ulrich Drepper 724da3d7f4 Revert "powerpc: PPCA2 optimized memcpy function"
This reverts commit 44f91d3884.

Conflicts:

	ChangeLog
2010-09-27 23:02:55 -04:00
Andreas Schwab c21cc9bcb3 Properly convert f_fsid in statvfs 2010-09-27 22:34:21 -04:00
Petr Baudis 315970f6ca Add two forgotten licence exceptions
The two files in debug/ are included in libc_nonshared.a and the
functions may be included in linked executables. Use the same text
as in other files going to libc_nonshared.a.
2010-09-25 03:09:53 +02:00
Michael B. Brutman 44f91d3884 powerpc: PPCA2 optimized memcpy function 2010-09-21 14:06:46 -07:00
Joseph Myers 1ac7a2c7b4 getdents64 fallback d_type support 2010-09-21 14:02:08 -07:00
Andreas Schwab 56801c50d4 Move freeres function from ld.so to libc.so. 2010-09-21 13:52:12 -07:00
Ulrich Drepper dda51327ba Undo feature selection for ftruncate. 2010-09-21 11:01:10 -07:00
Ulrich Drepper a545ecd99b Better CL. 2010-09-20 23:09:06 -07:00
Ulrich Drepper 8ffcee4a04 Fix limit detection in x86-64 SSE2 strncasecmp. 2010-09-20 14:02:23 -07:00
Andreas Schwab e24f0a8b9e Add support for fanotify_mark on sparc32 and s390 2010-09-20 06:58:15 -07:00
Andreas Schwab 7291c56f9d Fix register conflict in s390 ____longjmp_chk 2010-09-15 07:38:19 -07:00
Andreas Schwab bc5fb0374c Don't try to free rpath strings allocated during startup 2010-09-15 07:20:57 -07:00
Ulrich Drepper e66e7419a6 Actually make it possible to user the default name server. 2010-09-14 00:01:42 -07:00
Chung-Lin Tang c044aa7535 Fix _FORITY_SOURCE version of longjmp for Linux/x86-64. 2010-09-08 15:49:50 -07:00
Andreas Schwab 32cf406993 Don't mix pattern rules with normal rules 2010-09-06 15:39:32 +02:00
Andreas Schwab 817328eea7 Remove undefined operations 2010-09-05 13:55:08 +02:00
Ulrich Drepper 29fddf61b2 Remove invalid iconv aliases. 2010-09-04 12:48:31 -07:00
Ulrich Drepper 0959ffc97b Update x86-64 mpn routines from GMP 5.0.1. 2010-09-02 23:36:25 -07:00
Samuel Thibault ece2984070 Fix generic bits/sched.h for #define __need_schedparam uses. 2010-09-01 18:11:31 -07:00
Mike Frysinger fdc0c10d9b Update sparc epoll.h from epoll_create2 to epoll_create1 2010-09-01 12:45:02 -07:00
Mike Frysinger e53a31fe57 Fix typo in x86-64 epoll.h. 2010-09-01 12:42:48 -07:00
Andreas Schwab a726d7960e Fix array overflow in floating point parser 2010-09-01 12:38:44 -07:00
Ulrich Drepper f2933da978 More copyright changes. 2010-09-01 05:10:04 -07:00
Ulrich Drepper 2f3e3dc75f Remove duplicate version of pmap_getport from NIS code. 2010-09-01 04:12:55 -07:00
Andreas Schwab f3dcc2f9a5 Support fanotify_mark syscall on powerpc32 2010-08-31 09:46:57 +02:00
Roland McGrath 6d34eb5b45 Add missing i686/multiarch/Makefile bit for shared x86_64 code. 2010-08-27 17:11:38 -07:00
Ulrich Drepper c96d23fcaa Fixup x86 after x86-64 varshift change. 2010-08-27 12:10:11 -07:00
Ulrich Drepper 9ea3de11f1 Move slow Atom code to separate section. 2010-08-26 22:17:03 -07:00
H.J. Lu 623aac7f84 Unroll x86-64 strlen 2010-08-26 22:09:34 -07:00
Roland McGrath 8b2b771538 Clean up warnings in new x86_64/multiarch code. 2010-08-25 12:13:08 -07:00
H.J. Lu e73015f2d6 Unroll 32bit SSE strlen and handle slow bsf 2010-08-25 10:07:37 -07:00
Ulrich Drepper df24a73ecd Missing server address again leads to localhost being used 2010-08-25 07:43:53 -07:00
Roland McGrath 090555538d Rejigger header generation for default uname implementation. 2010-08-24 11:56:52 -07:00
Roland McGrath f2ac4868b7 Avoid nested comment. 2010-08-24 11:56:51 -07:00
Richard Henderson 73f27d5e72 Clean up SSE variable shifts 2010-08-24 11:35:01 -07:00
Mike Frysinger 84b9230c40 Remove multiarch dirs when gnu indirect is not supported 2010-08-23 07:51:49 -07:00
Petr Baudis 9bbd0ddc99 Update the LICENSES file. 2010-08-23 05:53:52 -07:00
Ulrich Drepper a7ab6ec83e Once again change RPC copyright notices.
According to email from Wim Coekaerts.
2010-08-19 10:38:55 -07:00
Ulrich Drepper 9da4bb316f Fix two typos in x86-64 SSE4.2 strncasecmp implementation. 2010-08-19 09:20:44 -07:00
Andreas Schwab bdaa77bc20 Fix ifunc thunk for strspn on x86 in static libc 2010-08-19 07:42:16 -07:00
Luis Machado fe2f79db99 powerpc: Various P7-optimized string functions 2010-08-19 07:38:41 -07:00
Anton Blanchard b9b42ee01c Replace divide and multiply with mask in sYSTRIm 2010-08-16 23:06:55 -07:00
Ulrich Drepper 004c737f7b Merge branch 'master' of ssh://sourceware.org/git/glibc 2010-08-16 07:07:05 -07:00
Ulrich Drepper 1c06ba3100 Simplify fanotify_init definition. 2010-08-16 07:06:38 -07:00
Ulrich Drepper 1feccb6caf Fix fourth parameter of SSE4.2 strcmp for x86-64. 2010-08-15 20:46:09 -07:00
H.J. Lu f8392f4004 Add -fno-asynchronous-unwind-tables to initfini.s for i386 2010-08-15 20:09:23 -07:00
Andreas Schwab 3162f12e58 Remove third argument from fanotify_init function 2010-08-15 20:07:32 -07:00
Ulrich Drepper 28c90b2cf5 Use correct register for fourth parameter of x86-64 strncasecmp_l. 2010-08-15 17:42:12 -07:00
Ulrich Drepper e9f82e0d1d Add optimized strncasecmp versions for x86-64. 2010-08-14 22:04:01 -07:00
Ulrich Drepper ca6bb004eb Fix x86-64 build without multiarch. 2010-08-14 14:56:32 -07:00
Andreas Schwab 052fa7b33e Fix compilation 2010-08-14 13:19:25 +02:00
Ulrich Drepper 962dba7828 Define EXTPROC for Linux. 2010-08-12 20:39:44 -07:00
Alan Modra bebff237c5 PowerPC64 ABI fixes 2010-08-12 09:19:19 -07:00
Andreas Schwab 026373745e Properly quote output of locale 2010-08-12 09:05:50 -07:00
Ulrich Drepper 3cdaa6adb1 f_flags in Linux statfs implementation.
The 2.6.36 kernel provides an additional field in the statfs results.
Use this value in the statvfs emulation to avoid filling in f_flag
the hard way.
2010-08-11 14:07:28 -07:00
Ulrich Drepper 754f7da38b Define IN_EXCL_UNLINK 2010-08-11 12:46:03 -07:00
Ulrich Drepper 10b3bedcb0 Add support for Linux fanotify_init and fanotify_mask syscalls. 2010-08-11 12:41:48 -07:00
Ulrich Drepper c08fb0d7bb Add support for prlimit and prlimit64 on Linux. 2010-08-11 11:18:52 -07:00
Ulrich Drepper 15bac72bac Fix IPTOS_CLASS definition. 2010-08-11 07:44:03 -07:00
Ulrich Drepper c3e2f19bb9 Add self-contained test for NSS.
While at it fix interaction between __nss_configure_lookup and nscd.
Otherwise the test fails if nscd is runnung.
2010-08-11 07:25:02 -07:00
Ulrich Drepper f15ce4d8dc Avoid too much stack use in fnmatch. 2010-08-09 21:09:37 -07:00
Andi Kleen d22e4cc939 x86: Add support for frame pointer less mcount 2010-08-07 21:24:05 -07:00
Ulrich Drepper 805bc17d68 CL 2010-08-06 19:19:06 -07:00
Samuel Thibault fd3ebedafc Hurd: fix ttyname{,_r} errno result for non-ttys 2010-08-03 09:54:22 -07:00
Samuel Thibault 5a42321d43 Hurd: fix timeout rounding in select 2010-08-02 16:46:12 -07:00
Ulrich Drepper 73507d3ae0 Add support for SSSE3 and SSE4.2 versions of strcasecmp on x86-64. 2010-07-31 21:41:09 -07:00
Ulrich Drepper 66f6765a47 Pretty printing x86-64 SSE4.3 strcmp. 2010-07-30 12:54:37 -07:00
Ulrich Drepper 42e08a5438 Implement optimized strcaecmp for x86-64. 2010-07-30 00:14:04 -07:00
Ulrich Drepper fe36dd025e Fix tolower operation in strcasestr. 2010-07-30 00:09:07 -07:00
Ulrich Drepper 76e6d6bca7 Cleanup. 2010-07-29 12:55:43 -07:00
Roland McGrath 48cbc0d6d0 BZ 11856: fix manual nit 2010-07-29 10:49:42 -07:00
Ulrich Drepper 02b7acedbb Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2010-07-27 21:15:07 -07:00
Ulrich Drepper 880113d91e Avoid compiling unneeded file in ld.so. 2010-07-27 21:12:59 -07:00
Andreas Schwab deb9cabbf4 Document M_PERTURB 2010-07-27 13:24:49 +02:00
Roland McGrath 1c7570ff36 BZ #11840: Fix config.cache usage for -fgnu89-inline check. 2010-07-26 12:45:17 -07:00
Ulrich Drepper 24fb0f88ed Add optimized x86-64 implementation of strnlen.
While at it, beef up the test suite for strnlen and add performance
tests for it, too.
2010-07-26 08:37:08 -07:00
Ulrich Drepper 8e96b93aa7 Speed up x86-64 strcasestr a bit moew.
Using the new SSE4.2 instructions is cool but not really the fastest.
Some older SSE instructions can do the trick faster.
2010-07-24 08:34:44 -07:00
Ulrich Drepper dbc676d4ff Add performance tests for strstr and strcasestr. 2010-07-23 22:27:53 -07:00
Andreas Schwab f6a31e0eb6 Add strcasestr-nonascii to i386 build 2010-07-21 07:26:18 -07:00
Emilio Pozuelo Monfort 23d101d8ee Hurd: fix sendmsg memory leak in error paths 2010-07-20 19:19:34 -07:00
Roland McGrath 5dbc3b6cc0 Fix vDSO synthetic hwcap handling so they are not masked out from ld.so.cache matching. 2010-07-20 19:09:50 -07:00
Ulrich Drepper cc9f2e47a0 Speed up SSE4.2 strcasestr by avoiding indirect function call. 2010-07-16 15:37:38 -07:00
Luis Machado 77c1b06986 POWER6/7 optimizations for copysign 2010-07-15 08:24:40 -07:00
Ulrich Drepper 440566c3f4 Avoid namespace pollution. 2010-07-09 19:25:23 -07:00
Andreas Schwab 5be9d05d31 Don't pass NULL occation to dl_signal_cerror 2010-07-06 08:09:54 -07:00