Commit graph

16611 commits

Author SHA1 Message Date
Ulrich Drepper 7441470835 Finish IFUNC support for x86 and x86-64.
Add support for the IRELAIVE relocation and IFUNC in static executables.
2009-05-31 23:45:33 -07:00
Ulrich Drepper 963cb6fcb4 Simplify CPUID value handling.
SO far Intel and AMD use exactly the same bits meaning the same
things in CPUID index 1.  Simplify the code.  Should an architecture
come along which doesn't use the same semantics then it must use a
different index value than COMMON_CPUID_INDEX_1.
2009-05-31 17:52:05 -07:00
Ulrich Drepper fd469aac31 Add missing file from accept4 commit.
Hidden by previous .gitignore content.
2009-05-31 17:46:55 -07:00
Andreas Schwab c16a054d5e Move AC_CANONICAL_HOST before first use of $host and $build. 2009-05-31 16:54:28 -07:00
Roland McGrath cc3ae2461c Remove arch directory names from .gitignore. 2009-05-30 15:06:51 -07:00
Ulrich Drepper 7f3394bdf3 Fix errno for boundary conditions in 128-bit long double.
Similar to the changes which went already in for the other formats,
follow POSIX rules for errno.
2009-05-29 12:00:22 -07:00
Ulrich Drepper b8bb339f7d Implement longjmp checking for s390. 2009-05-29 11:58:04 -07:00
Ulrich Drepper 1de0c16183 Compact cache info data structure for x86/x86-64.
This saves about 1.5kB in the DSO.
2009-05-29 11:53:36 -07:00
Aurelien Jarno 8ee84bd01f [BZ #10200]
* db-symbols.awk: Use the last field for the symbol name instead
of the 8th one.
2009-05-27 16:41:00 -07:00
Ulrich Drepper 57be3fd79a Describe nss_dns parallel lookup workaround in 2.10 NEWS. 2009-05-22 09:07:00 -07:00
Andreas Schwab 38ae768d88 Fix errno for IBM long double.
After the last addition to the math test suite PPC routines haven't
been adjusted so far.
2009-05-22 08:35:15 -07:00
Andreas Schwab 0323b051be Add ___longjmp_chk support for powerpc{32,64}. 2009-05-22 08:28:20 -07:00
Jakub Jelinek 1e1dc4e82d Implement accept4 for more archs using socketcall.
So far accept4 was only supported on archs using socketcall for x86.
This patch adds support for the remaining archs.
2009-05-22 08:25:34 -07:00
Ulrich Drepper be6b2e5cf3 Add missing file from previous IA-64 longjmp commit. 2009-05-21 18:54:47 -07:00
Ulrich Drepper 10495c0b0a Handle -g option for IA-64 assembler. 2009-05-21 18:54:05 -07:00
Ulrich Drepper fa64b7f76b Fix IA-64 memchr read-ahead.
The latest stratcliff extension exposed a bug in the IA-64 memchr which
uses non-speculative loads to prefetch data.  Change the code to use
speculative loads with appropriate fixup.  Fixes BZ 10162.
2009-05-21 18:47:59 -07:00
H.J. Lu d2812fc6d2 Add ____longjmp_chk support for IA-64. 2009-05-21 18:43:45 -07:00
H.J. Lu e7535de78f Add missing .text directives.
The ____longjmp_chk functions on x86 and x86-64 were placed in .rodata.str1.1.
2009-05-21 18:38:11 -07:00
Ulrich Drepper 3533b1a6a6 Don't define __ASSUME_ACCEPT4 for IA-64. 2009-05-21 18:23:57 -07:00
Jakub Jelinek d14eda9310 Remove __NR_accept4 definition.
This definition was meant to be removed before the checkin.  It was
used in the development.
2009-05-21 18:16:59 -07:00
Jakub Jelinek a2292378d0 Correct socketcall argument for accept4.
The header had the old name (paccept).
2009-05-21 18:15:26 -07:00
Ulrich Drepper ab09b22159 Sun agreed to a change of the license for the RPC code to a BSD-like license. 2009-05-20 21:57:37 -07:00
Ulrich Drepper d4ab2f2a30 Danish translation update from translation team. 2009-05-20 07:12:32 -07:00
Kaz Kojima 04733592f8 Add ____longjmp_chk for SH.
Following the previous changes for x86 and x86-64.
2009-05-18 15:44:09 -07:00
Jakub Jelinek 5078fff6c4 Fix forced loop termination in nscd database lookup.
There are two issues with the forced loop exit in the nscd lookup:
1. the estimate of the entry size isn't pessimistic enough for all
   databases, resulting potentially is too early exits
2. the combination of 64-bit process and 32-bit nscd would lead to
   rejecting valid records in the database.
2009-05-18 10:19:50 -07:00
Ulrich Drepper e20c4ef0ef libc-cancellation.c cleanup.
The unrelated function __libc_cleanup_routine should not be in
this file.  Move it into its own file.
2009-05-16 15:04:27 -07:00
Ulrich Drepper cba0ca7925 Unify source for async cancel handling.
Unify all three places where we enable async cancellation for
syscalls.  Optimize a bit.
2009-05-16 14:55:59 -07:00
Ulrich Drepper 7afc8bfcbb Remove sunrpc/.gitignore.
We don't update the RPC sources from the original tarball anymore.
No need to ignore that directory.
2009-05-16 12:57:37 -07:00
Ulrich Drepper c457bc139e Fix typos and pretty printing in sys/wait.h. 2009-05-16 12:47:15 -07:00
Ulrich Drepper 8f0d3f499f Non-code changes to stdlib.h. 2009-05-16 12:17:55 -07:00
Ulrich Drepper a64039b084 Unify __WAIT_INT definition in stdlib.h and sys/wait.h.
This fixes BZ #10159.  The stdlib.h definition was out of date.
2009-05-16 11:39:39 -07:00
Ulrich Drepper fa546abe9d Move BLOCK_ALIGN* macros back.
The move to nscd-client.h was only needed for some interim version
of the patch.  The final version doesn't need it.  Undo the change.
2009-05-16 10:29:43 -07:00
Ulrich Drepper 95410b7ba2 Fix exit condition.
The patch to bound the search in the nscd caches used a wrong exit
condition.  Fixed now.
2009-05-16 10:10:32 -07:00
Ulrich Drepper a5b8b56df7 Rename nptl/init.c to nptl/nptl-init.c.
Needed to allow overwriting architectures init.c in csu and nptl
individually.  Fixes BZ #9924.
2009-05-16 08:57:49 -07:00
Jim Meyering edeabc047e remove subsumed .gitignore entries and files 2009-05-16 10:41:40 +02:00
Jim Meyering 8636153326 remove mpn-copy.mk from .gitignore files 2009-05-16 10:38:54 +02:00
Jim Meyering bb87237534 remove COPYING* from .gitignore files 2009-05-16 10:38:53 +02:00
Andreas Schwab ff6ff38db2 Remove redundant .gitignore files. 2009-05-16 10:18:34 +02:00
Ulrich Drepper 831a40494d Further robustify nscd database lookup.
We can compute an absolute maximum for the number of elements which
can fit into the currently mapped database.  Stop after that many
iterations.
2009-05-15 21:33:43 -07:00
Jakub Jelinek cfe1fc1013 Robustify libc-side nscd database reader.
The nscd database mapped in processes can change at any time.  We
have to be more vigilant when it comes to using that memory.  Test
the data entries are valid in their entire size, don't read data
again from memory once we verified it, and make sure the trailing
pointer is not going off the deep end.
2009-05-15 21:17:08 -07:00
Jakub Jelinek 3b1b533bc3 Avoid double definition of catomic_compare_and_exchange_val_acq. 2009-05-15 21:08:55 -07:00
Ulrich Drepper 6dd78596d5 ChangeLog entries incorrectly applied. 2009-05-15 21:03:49 -07:00
Jakub Jelinek 1f3615a1c9 Add missing export of fallocate64 on 32-bit platforms.
Due to a pasto the fallocate64 interface, introduced in glibc 2.10,
isn't exported for 32-bit Linux platforms.  It is too late for this
now so exported them for glibc 2.11.
2009-05-15 21:00:09 -07:00
Jakub Jelinek 9e471dad8e Don't try to cleanup libselinux and libaudit.
Because we are not shutting down the other threads first another
thread might work on a query before the process shuts down.  In this
case the now uninitialized libselinux and libaudit might be used.
Just don't free the resources.  It's not necessary anyway because
the process is about to terminate.
2009-05-15 20:48:08 -07:00
Ulrich Drepper 9437b427ce Fix change to prevent cancel signal in unsafe places.
The bits tested to decide when to delay the return when switching
off async cancel mode were wrong.  Fix that.  Also close a race
condition in pthread_cancel where the bit indicating the cancellation
is unconditionally set even if the cancel type might have changed.
2009-05-15 20:42:36 -07:00
Ulrich Drepper bbc5d74dd0 Add test for range error in expm1. 2009-05-15 19:53:09 -07:00
Ulrich Drepper bf3fde08c6 Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Conflicts:
	ChangeLog
2009-05-15 19:50:06 -07:00
Ulrich Drepper 9a1fbe861d Cleanup some .gitignore files. 2009-05-15 19:47:10 -07:00
Ulrich Drepper b50f8e42ba Check for valid stack frame in longjmp.
If longjmp restores the stack frame to an address which is beyond
the stack frame at the time of the longjmp call it would install
an uninitialized stack frame.  If compiled with _FORTIFY_SOURCE
defined, longjmp will now bail out in this situation.
2009-05-15 19:37:13 -07:00
Ulrich Drepper f1342e0be8 Ignore Emacs backup files. 2009-05-15 19:37:12 -07:00