Ulrich Drepper
747785f2b3
Tiny strlen for x86-64 optimization.
...
I didn't remove an instruction from a previous version in the final
version.
2009-06-04 10:54:29 -07:00
H.J. Lu
2f083d7511
Test for ELF IFUNC functionality.
2009-06-03 16:21:40 -07:00
Ulrich Drepper
fbb04b35e7
Terminate correct buffer.
...
Little typo could cause additional characters to be printed.
2009-06-03 08:30:35 -07:00
Ulrich Drepper
8275067de1
Add missing __execvpe prototype.
...
Avoids warnings.
2009-06-02 07:11:51 -07:00
Ulrich Drepper
3d5243d416
Implement execvpe.
...
There is some existing practice in other OSes and it's trivial to
implement giving the existing code. Fixes BZ #10221 .
2009-06-02 07:03:02 -07:00
Ulrich Drepper
fd96f06208
Small optimization of STT_GNU_IFUNC handling.
...
The test to call the indirect function now includes a subtest to
checked whether the symbol is defined. When coming to that point
this is almost always the case. The test for STT_GNU_IFUNC on the
other hand rarely is true. Move it to the front means we don't have
to perform the second test unless really necessary.
2009-06-01 11:49:05 -07:00
André Goddard Rosa
21e66bc528
Fix mbrtowc example.
...
The remaining bytes were not copied correctly.
2009-06-01 11:43:26 -07:00
Ulrich Drepper
b7629ee33f
Better error message for invalid relocatio in static binary.
2009-06-01 11:39:24 -07:00
Ulrich Drepper
b8706f7072
Describe latest IFUNC changes.
2009-05-31 23:50:25 -07:00
Ulrich Drepper
8ea2372936
Fix up sched_cpucount in x86-64.
...
Now that static executables can handle IFUNC functions don't exclude
optimization for sched_cpucount for !SHARED.
2009-05-31 23:46:42 -07:00
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