H.J. Lu
1cdb2151fb
Missing CL.
2010-04-15 07:50:47 -07:00
H.J. Lu
a11ec63713
Add x86-32 FMA support
2010-04-14 22:27:59 -07:00
H.J. Lu
df87f54923
Check DATA_CACHE_SIZE_HALF
2010-04-14 22:18:27 -07:00
Andreas Schwab
18a26b301b
Don't crash in trace mode when dependencies are missing
2010-04-14 22:16:06 -07:00
H.J. Lu
dd37cd1a12
Optimie x86-64 SSE4 memcmp for unaligned data.
2010-04-14 17:53:44 -07:00
H.J. Lu
404a6e3201
x86-64 SSE4 optimized memcmp
...
This is 64bit SSE4 optimized memcmp. It improves memcmp by upto 3X
on Intel Core i7.
2010-04-14 00:12:53 -07:00
Ulrich Drepper
bbbdd77809
Update x86-64 cpu multiarch selection header.
2010-04-13 19:17:10 -07:00
Matt Fleming
3d1020f0cc
elf/elf.h: Add SH specific ELF header flags.
2010-04-13 12:10:31 -07:00
Andreas Schwab
0dabf204ef
Fix makecontext on s390/s390x
2010-04-13 10:23:22 -07:00
Andreas Schwab
ef634a94c7
Fix use of ucontext_t objects in tst-makecontext3
...
Objects of type ucontext_t cannot be copied, only getcontext can
properly initialize them. For example, on powerpc the structure
contains a pointer into itself, so makecontext modifies the original
object by side effect.
2010-04-13 07:13:00 -07:00
Ulrich Drepper
ea42a20cae
Fix crash on reloading of gai data in nscd.
2010-04-09 21:38:20 -07:00
Roland McGrath
17ad387727
Use a stamp file for libc-abis.h rule.
2010-04-09 15:31:45 -07:00
Roland McGrath
4ae73ca00a
Revert "Shorten build commands"
...
This reverts commit 59d9f1d698
.
2010-04-09 15:18:58 -07:00
Roland McGrath
3aa6513708
Fix tst-chmod not to write into srcdir.
2010-04-09 13:59:34 -07:00
Ulrich Drepper
fc97f36d7f
Add BZ to an older patch.
2010-04-09 07:56:29 -07:00
Ulrich Drepper
0a62a34919
Add BZ number.
2010-04-08 20:10:26 -07:00
Ulrich Drepper
d55d558b4e
Print reload count in nscd statistics.
2010-04-08 19:58:29 -07:00
Ulrich Drepper
aa6436d6ad
Fix reading loginuid file in getlogin{,_r}.
2010-04-08 19:04:33 -07:00
Ulrich Drepper
ad3d3e8f20
Fix possibly uninitilized variable handling.
...
If malloc errors are ignored (which say aren't by default and never
should be) malloc in the old, slow form might use an uninitialized
variable.
2010-04-08 17:12:42 -07:00
Daniel Jacobowitz
59d9f1d698
Shorten build commands
...
This patch scratches an itch. Each individual gcc command in the
glibc build is over 1K, which means it takes up a good chunk of my
terminal. Most of that is include paths. Any version of GCC new
enough to build glibc supports response files, which were added in
2005. So use a response file for the static list of include paths.
Now the build commands are a lot shorter, and easier to use when
developing glibc.
2010-04-08 16:48:17 -07:00
Ulrich Drepper
85997fc3eb
Merge remote branch 'origin/roland/hwcap_mask'
2010-04-08 16:06:54 -07:00
Ulrich Drepper
39be1d1f7b
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
...
Conflicts:
ChangeLog
2010-04-08 15:57:39 -07:00
Andreas Schwab
de240a05b3
Fix fallocate error return on i386.
2010-04-08 15:44:55 -07:00
Ulrich Drepper
88e236a627
Fix cproj implmentation.
2010-04-08 15:32:51 -07:00
Roland McGrath
df5efd61b0
Fix libc-abis rules to be correct for add-on ports.
2010-04-08 15:29:19 -07:00
Ulrich Drepper
e326768467
Add tests for recent getopt changes.
2010-04-07 22:59:40 -07:00
Eric Blake
66b93be793
getopt mishandles optstring of "+:"
2010-04-07 17:56:20 -07:00
Eric Blake
cf0b68196c
getopt mistakenly allows '-;' as short option
2010-04-07 17:28:36 -07:00
Eric Blake
aa7f642769
Fix -W with optional parameters in getopt.
...
According to the getopt documentation, if "W;" is part of optstring, then '-W
foo' should behave like '--foo'. But if "foo" uses an optional_argument, this
is not the case, since optarg is not NULL when using -W.
2010-04-07 17:16:27 -07:00
Ulrich Drepper
71170aa0a9
Implement new mode for NIS passwd.adjunct.byname table.
...
The passwd.adjunct.byname table will not be used to fill in password fields
in the passwd.byname replies. Instead it is used to synthesize the
shadow.byname table, should it be missing. This is a useful mode in some
installations involving Solaris.
2010-04-07 07:37:39 -07:00
H.J. Lu
76b667f12d
Fix non-add-on handling of libc-abis.
2010-04-07 06:38:35 -07:00
Joseph Myers
8824d4aa66
Fix libc-abis handling for add-ons.
2010-04-06 17:32:29 -07:00
Paul Pluzhnikov
2e7c805d5e
Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.
2010-04-05 20:17:37 -07:00
Joseph Myers
afd46a4c7d
elf/elf.h (ELFOSABI_ARM_AEABI): Define.
2010-04-05 20:14:43 -07:00
Roland McGrath
f571a994ce
Move unwind-resume code from NPTL to sysdeps/gnu.
2010-04-05 20:07:39 -07:00
Roland McGrath
7bfa311ff5
Obey LD_HWCAP_MASK in ld.so.cache lookups.
2010-04-05 19:47:27 -07:00
Roland McGrath
4dd019e3a1
elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
2010-04-05 19:44:16 -07:00
Ulrich Drepper
e5c42595d0
Update dutch translation.
2010-04-05 13:10:56 -07:00
Ulrich Drepper
4535680d03
Handle DNS timeouts in old-style lookkup code.
2010-04-05 12:21:20 -07:00
Ulrich Drepper
4bc2bcba67
Fix aux cache handling in ldconfig with chroot.
2010-04-05 11:26:43 -07:00
Ulrich Drepper
247fdc8ee6
Fix printing error messages in getopt.
2010-04-04 22:48:55 -07:00
Ulrich Drepper
2cd9670885
Declare iruserok and iruserok_af.
2010-04-04 22:01:52 -07:00
Ulrich Drepper
7ebaec64a0
Add test case for last argp bug.
2010-04-04 11:28:36 -07:00
Sergey Poznyakoff
8c6de69d00
Fix option aliasing in argp.
2010-04-04 10:04:55 -07:00
Ulrich Drepper
cb652f30b0
Handle POSIX-compliant errno value of unlink in remove.
2010-04-04 02:08:37 -07:00
Ulrich Drepper
952df0afdc
Fix definition and testing of S_ISSOCK.
2010-04-04 01:51:01 -07:00
Ulrich Drepper
9e37946dba
Fix retrieving of kernel header version.
2010-04-04 01:02:09 -07:00
Ulrich Drepper
22f4f44b67
Fix concurrent handling of __cpu_features.
2010-04-04 00:25:46 -07:00
Ulrich Drepper
1a81139728
Handle unnecessary padding in getdents64.
...
The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition. We have to
avoid copying those padding bytes in the readdir64_r function.
2010-04-03 23:51:40 -07:00
Ulrich Drepper
b8b14c4cc3
Fix changes to interface list during getifaddrs calls.
2010-04-03 20:36:59 -07:00
Ryan S. Arnold
3ed8e24122
Remove incorrect paring of /proc/stat etc.
2010-04-03 19:20:29 -07:00
Ulrich Drepper
ed08740859
Document problem with NATs in getaddrinfo.
2010-04-03 17:56:51 -07:00
Ulrich Drepper
647450cfb0
Missing memory barrier in DES initialization.
2010-04-03 13:45:02 -07:00
Ulrich Drepper
90a3055e8b
One more sanity check in free.
2010-04-03 09:47:01 -07:00
Ulrich Drepper
991eda1ec1
Fix set_max_fast in malloc.
2010-04-03 09:43:10 -07:00
David S. Miller
960af486d2
Fix build of mmap64.
2010-03-31 14:07:39 -07:00
Ulrich Drepper
6d28d423b2
Define MSG_WAITFORONE.
2010-03-29 22:31:44 -07:00
Thomas Schwinge
bc58236c65
Handle platforms without aux vector
2010-03-29 15:13:53 -07:00
Ulrich Drepper
8f4a5048ee
Optimize __getpagesize a bit.
2010-03-27 06:19:50 -07:00
Ulrich Drepper
b9ea2dd05e
Fix handling of __need_mbstate_t and __need_wint_t.
...
Like the real header, the libc-internal wrapper for wchar.h needs to
undefine the macros so that if the header was already included before
the macros don't stay defined and cause problems later.
2010-03-27 06:06:35 -07:00
Ulrich Drepper
a5f3b0f830
Fix one more issue with the glob patch.
2010-03-27 05:48:17 -07:00
Ulrich Drepper
62f8db6e49
Define miss_F_GETOWN_EX only if needed.
...
When doing i686-unknown-linux-gnu build configured with --enable-kernel=2.6.24,
there are several warnings like this:
../sysdeps/unix/sysv/linux/i386/fcntl.c:36:12: warning: ‘miss_F_GETOWN_EX’ defined but not used
2010-03-27 04:11:14 -07:00
Ulrich Drepper
8dc1d0baa0
Shorted ChangeLog.
2010-03-26 13:33:26 -07:00
Richard Henderson
d09580b1e6
Mark _dl_random attribute_relro in the header file.
...
It's already so marked in dl-sysdep.c. Failure to so mark
in the header file leads the compiler to believe that the
variable should be addressable via the .sdata section.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 09:51:57 -07:00
Richard Henderson
68cf34be99
Fix printf format warning for si_band.
...
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 09:48:44 -07:00
Richard Henderson
6e9331df8b
Finish locale_data -> __locale_data transition.
...
The transition that was begun here
f095bb7204
was not complete.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 09:21:34 -07:00
Richard Henderson
b1c1949e60
Don't take the address of a void object.
...
GCC 4.5 warns about "extern void _end; &end;".
Use char[] instead, as that also doesn't fall foul
of a target's .sdata optimizations.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 09:16:21 -07:00
Ulrich Drepper
7c9302908e
Don't abort immediately on successful lookup in getaddrinfo.
...
When not using gethostbyname4 methods we immediately aborted the loop
over the nss modules on the first successful lookup. While this is
almost always what is wanted the nsswitch.conf file allows to select
something different.
2010-03-26 05:40:27 -07:00
Andreas Schwab
c3dfadb87e
Fix spurious UNAVAIL status is getaddrinfo
2010-03-26 05:35:50 -07:00
Ulrich Drepper
2b0fba7530
Remove stale reference to website
2010-03-26 05:09:55 -07:00
Ulrich Drepper
70c90289ff
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
...
Conflicts:
ChangeLog
2010-03-25 19:45:20 -07:00
Ulrich Drepper
89a4419cc3
Add support for new clocks.
...
Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW,
CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
2010-03-25 04:01:33 -07:00
Andreas Schwab
34b514dff6
Fix typo in cuserid
2010-03-25 11:36:02 +01:00
Chris Demetriou
03615f7d83
ocale-archive differs between 32 and 64 bit platforms
2010-03-24 17:10:47 -07:00
Ulrich Drepper
c8727fa6e5
Fix Linux getlogin{_r,} implementation
...
The old implementation uses fd 0 to determine the login TTY. This
was needed because using /dev/tty it is not possible to deduce the
login TTY. For some time now there is the pseudo-file
/proc/self/loginuid which directly helps us to find the user. Prefer
using this file. It also works if stdin is closed, redirected, or
re-opened.
2010-03-24 17:02:57 -07:00
Jonathan Geisler
fd8ccb0427
calls to cuserid() can result in buffer overruns and/or overflows
2010-03-24 16:02:15 -07:00
Ulrich Drepper
085f930b8f
Allow variable shift values in mmap2.
2010-03-24 14:59:43 -07:00
H.J. Lu
7d9335ecd7
Don't define __strpbrk_sse42 in static library
2010-03-24 12:16:24 -07:00
H.J. Lu
8863605af9
Test case for last x86 memcmp problem
2010-03-24 12:14:03 -07:00
Ulrich Drepper
c27849fbbf
Add test for last glob bug.
2010-03-24 12:10:51 -07:00
Ulrich Drepper
8f2e399413
Fix glob with empty pattern
2010-03-24 11:58:05 -07:00
Ulrich Drepper
4ad43b62d6
Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKING
2010-03-24 10:14:22 -07:00
Ulrich Drepper
9ac9129d49
Unify wint_t handling in wchar.h and wctype.h.
...
Fix a few typos in the process.
2010-03-24 06:59:02 -07:00
Ulrich Drepper
04f2902d9f
Future safety in checking ELF header.
...
If we should use further fields in the e_ident array in the ELF header
of files we want zero to mean the default. Enforce zero for now so
that non-optional features indicated by nonzero values are not go
unnoticed when using an old dynamic linker.
2010-03-18 13:15:27 -07:00
H.J. Lu
b170ff0f8f
Fix sysdeps/i386/i686/multiarch/memcmp-ssse3.S
2010-03-18 11:40:46 -07:00
Andreas Schwab
94308fd0e0
Fix debug statements in resolver
2010-03-17 06:57:38 -07:00
Ulrich Drepper
12e6ee86c4
A few more archs have IFUNC support.
2010-03-17 02:43:12 -07:00
Ulrich Drepper
d8c47894ca
Extended ELF ABI version handling only for Linux.
...
If the OSABI is generic we should not allow the ABI version to be nonzero.
Move all the new functionality into Linux-specific files.
2010-03-16 23:34:59 -07:00
Ulrich Drepper
8ed9a2b18b
Also update Linux-specific VALID_ELF_ABIVERSION definition.
2010-03-16 14:39:45 -07:00
Ulrich Drepper
561470e061
Update copyright year.
2010-03-15 11:50:59 -07:00
Ulrich Drepper
92ad15a8f1
Implement handling of libc ABI in ELF header.
2010-03-15 11:44:58 -07:00
Ulrich Drepper
94db8db8e8
Define UMOUNT_NOFOLLOW.
2010-03-12 08:44:10 -08:00
Andreas Schwab
4c35fb65c9
Don't underestimate length of DST substitution
2010-03-12 07:57:19 -08:00
Roland McGrath
4bf7d39245
elf.h: Add missing R_X86_64_*64 relocs.
2010-03-11 00:44:28 -08:00
Luis Machado
fb084e5e80
power7-optimized 64-bit and 32-bit memcpy
2010-03-10 07:14:16 -08:00
David S. Miller
462a5227b0
sparc: Optimize strlen using techniques from powerpc implementation.
2010-03-09 06:42:53 -08:00
David S. Miller
2fe000dfd6
sparc32: Fix non-v9 build failure in memcpy.
2010-03-09 06:37:45 -08:00
David S. Miller
d6d1c4c87c
sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.
2010-03-09 03:48:24 -08:00
Ulrich Drepper
b886abfbac
Fix one left over from last change to statvfs.
2010-03-07 18:22:52 -08:00
Ulrich Drepper
6e0a06fa40
Handle ext4 and logfs in statvfs functions.
2010-03-06 15:40:50 -08:00