Commit Graph

17322 Commits

Author SHA1 Message Date
Ulrich Drepper
ab61c641c2 Fix typos from last patch. 2010-03-29 18:43:06 -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
0a164fe03e Whitespace fixes. 2010-03-27 06:19:03 -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
463ed2f0be Fix comments and indentation. 2010-03-27 04:48:18 -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
07f9ca32a9 Fix one case of last checkin.
If the v4 lookup failed but v6 succeeded we treat this as a success.
2010-03-26 05:52:39 -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
3e259dbb32 Remove unwanted malloc changes, again. 2010-03-26 04:00:10 -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
Priit Laes
54bf215c6f Change first_weekday and first_workday in et_EE locale 2010-03-24 15:50:02 -07:00
Ulrich Drepper
085f930b8f Allow variable shift values in mmap2. 2010-03-24 14:59:43 -07:00
Luis Machado
7749bf5fe6 Enable common version of pthread_cond_timedwait to use clock_gettime in VDSO 2010-03-24 14:46:03 -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
Paul Pluzhnikov
234333153e Fix missing dependency of localedata tests on gconv-modules 2010-03-17 09:01:34 -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
bf219bc6fc Missing files for libc ABI handling. 2010-03-16 04:47:33 -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
Ulrich Drepper
b8907dfd8b Fix whitespace issues. 2010-03-10 07:28:04 -08:00
Luis Machado
fb084e5e80 power7-optimized 64-bit and 32-bit memcpy 2010-03-10 07:14:16 -08:00
Ulrich Drepper
1d78f2996d Fix a few more problem with the recent setxid changes. 2010-03-09 20:21:12 -08:00
David S. Miller
462a5227b0 sparc: Optimize strlen using techniques from powerpc implementation. 2010-03-09 06:42:53 -08:00