Commit Graph

12964 Commits

Author SHA1 Message Date
Ulrich Drepper
d96de9634a Try shell in posix_spawn* only in compat mode 2011-09-05 20:24:50 -04:00
Ulrich Drepper
d48e586806 Fix glob.h header by removing gcc 1.x support 2011-09-05 17:31:23 -04:00
Ulrich Drepper
554881ef20 Use O_CLOEXEC when loading ld.so cache 2011-09-05 17:18:38 -04:00
Liubov Dmitrieva
693fb94884 Optimized strchr and strrchr with SSE2 on x86-32 2011-09-05 17:11:11 -04:00
Ulrich Drepper
49d42c37ba Add optimized x86-64 wcscmp 2011-09-05 14:08:23 -04:00
Ulrich Drepper
1b48c53782 Add x86-32 optimized wcscmp 2011-09-05 13:53:27 -04:00
Ulrich Drepper
109715ee22 Merge branch 'master' of ssh://sourceware.org/git/glibc 2011-09-05 13:14:33 -04:00
Ulrich Drepper
d88ae4184b Update Japanese translation 2011-09-05 13:14:04 -04:00
David S. Miller
15c95c5d1a Fixes and optimizations for 32-bit sparc fabs*(). 2011-09-05 10:06:15 -07:00
Ulrich Drepper
3b142ce572 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-09-05 12:46:12 -04:00
Ulrich Drepper
2f0ad8f3a4 Fix semid_ds for x86-64 2011-09-05 12:44:22 -04:00
David S. Miller
5f4318d102 Sanitize HWCAP_SPARC_* defines/usage, and add new entries. 2011-09-01 13:43:06 -07:00
David S. Miller
3ba575169a Fix sparc localplt testcase failures. 2011-08-31 17:30:41 -07:00
Andreas Schwab
2bc174332b Relocate objects in dependency order 2011-08-30 15:37:54 +02:00
Jiri Olsa
fbeb5f4db1 rtld, i386: Fix cfi directive in audit trampoline code
_dl_runtime_profile function has wrong cfi directive when
rewinding stack back for the pltexit path.

Only 8 bytes - 2 'pop edx' instructions from the pltentry-only
code should be rewinded back.

With attached patch, I'm able to rewind stack correctly
throught the rtld code from audit library callback.
2011-08-29 09:14:51 -04:00
David S. Miller
ad69cc2652 Rewritten v9/64-bit sparc strcmp. 2011-08-24 01:32:24 -07:00
Andreas Schwab
39dd69dfb9 Fix scope handling during dl_close 2011-08-24 09:32:13 +02:00
David S. Miller
22044b48ba Fix nptl/tst-cancel17 and nptl/tst-cancelx17 with recent gcc. 2011-08-23 23:24:01 -07:00
David S. Miller
2c0b250ae4 Fix jmpbuf unwind checks on sparc64. 2011-08-23 23:17:52 -07:00
Andreas Schwab
2cae499541 Fix spurious nop at start of __strspn_ia32 2011-08-23 15:53:51 +02:00
Aurelien Jarno
873a772e30 Fix duplicate definition of Elf64_FuncDesc 2011-08-23 15:05:32 +02:00
David S. Miller
25ad0df13b Bug fixes for ____longjmp_chk on sparc. 2011-08-22 16:53:57 -07:00
Ulrich Drepper
304c6e0b2c Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-08-22 16:10:16 -04:00
Andreas Schwab
e888bcbe4f Correct cycle detection during dependency sorting 2011-08-22 16:08:16 -04:00
Andreas Schwab
70538b7fe6 Fix missing declaration 2011-08-22 12:17:05 +02:00
Andreas Schwab
f55ffe58e9 Revert "Don't crash when dependencies are missing"
This reverts commit f2092faf2b.
2011-08-22 10:58:42 +02:00
Andreas Schwab
87162f462e Fix testsuite link failure 2011-08-22 10:55:32 +02:00
Ulrich Drepper
91b392a4ba Use ifuncs for time and gettimeofday on x86-64 2011-08-21 13:52:28 -04:00
Ulrich Drepper
775a77e7e4 More optimizations of nss_files 2011-08-20 15:55:44 -04:00
Ulrich Drepper
89f447edba Minor optimizatin in alias lookup in files NSS module 2011-08-20 15:25:16 -04:00
Ulrich Drepper
001f0a6c7c Print message that there is no scope instead of being silent 2011-08-20 15:16:42 -04:00
Ulrich Drepper
49c74ba90e Further improve printing os ELF symbol lookup scope information 2011-08-20 12:59:45 -04:00
Ulrich Drepper
5c43483f0c Add test for BZ 13114 2011-08-20 09:22:16 -04:00
Andreas Jaeger
a101b025af Fix fopen (non-existing-file, "re") errno 2011-08-20 09:12:49 -04:00
Ulrich Drepper
fd708658c3 Fix CL entry 2011-08-20 09:01:33 -04:00
Ulrich Drepper
0276a718c0 Fix minor CFI problem in regular x86-64 trampoline 2011-08-20 08:58:44 -04:00
Ulrich Drepper
c88f17668b Fix CFI info in x86-64 trampolines for non-AVX code 2011-08-20 08:56:30 -04:00
Andreas Schwab
94d7165ffa Adjust libm test ulps for powerpc 2011-08-20 08:39:39 -04:00
Andreas Schwab
51ccffa074 Use correct scandir64 implementation on ppc64 2011-08-20 08:33:42 -04:00
David S. Miller
c27714f111 Fix tst-writev on non-4K page size 2011-08-17 21:51:21 -04:00
Ulrich Drepper
44f0a71e58 Add rules to build libresolv with SSP flags 2011-08-17 21:36:23 -04:00
Andreas Schwab
8de79a248c Avoid executable stack in makedb 2011-08-17 10:32:59 -04:00
Ulrich Drepper
c5305d88c7 Fix some problem of 32-bit pldd on 64-bit platforms 2011-08-17 10:31:15 -04:00
Ulrich Drepper
2772459841 Prevent possible race conditions by attaching pldd to all threads 2011-08-17 09:41:23 -04:00
Ulrich Drepper
174baab3f9 Improve printing of lookup scopes
The scope of a new object should be printed earlier and when the scope
of an already loaded object is extended only the changes should be
printed.
2011-08-16 16:11:03 -04:00
Ulrich Drepper
794bf65aac Merge branch 'master' of ssh://sourceware.org/git/glibc 2011-08-16 11:20:14 -04:00
Ulrich Drepper
076fe0152b Fix printing of scope number 2011-08-16 11:17:15 -04:00
Roland McGrath
85ae058936 More warning patrol, in dead code (sigh). 2011-08-14 19:26:36 -07:00
Ulrich Drepper
f3ed22607e Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-08-14 22:21:54 -04:00
Ulrich Drepper
a60df2c3db Add missing initialization in service cache in nscd 2011-08-14 22:20:09 -04:00
Roland McGrath
69f6309711 More warning patrol. 2011-08-14 16:42:06 -07:00
Roland McGrath
675456ef83 Clean up locale/Makefile variables for -D switches. 2011-08-14 16:28:51 -07:00
Roland McGrath
5e4287d16f Warning patrol. 2011-08-14 15:59:11 -07:00
David S. Miller
9c96ff2385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2011-08-14 04:09:28 -07:00
Ulrich Drepper
73d7af4f4c Implement LD_DEBUG=scopes 2011-08-13 22:24:08 -04:00
Ulrich Drepper
1dc277048c Fix caller information of NSS modules 2011-08-13 12:47:47 -04:00
Ulrich Drepper
f9ddf089f1 Fix compile problem
l10nflist compiles for localedef now.  Optimize a bit.
2011-08-13 12:21:10 -04:00
Ulrich Drepper
9ac533d31b Better debug information from ld.so
Differentiate between loading as a dependency and loading on request.
2011-08-12 13:20:11 -04:00
Ulrich Drepper
8e999d2962 Minor optimization of popcount in l10nflist 2011-08-11 14:07:04 -04:00
Ulrich Drepper
89edf2e911 Locale-independent parsing in libintl 2011-08-11 14:04:08 -04:00
Ulrich Drepper
2df1f7be58 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-08-11 13:02:45 -04:00
Andreas Schwab
14d9678512 Clean up PLT use for scandirat 2011-08-11 11:41:09 -04:00
David S. Miller
6761ac045d * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
enum.
	* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2011-08-10 23:09:24 -07:00
Ulrich Drepper
c55fbd1ea7 Implement scandirat function 2011-08-09 09:57:55 -04:00
Ulrich Drepper
879165f25a Avoid multiple definitions of identical scandir cancellation handler 2011-08-08 13:49:37 -04:00
Ulrich Drepper
16292eddd7 Provide better output in string tests
If IMPL is called with a macro for the first parameter the macro does not
get expanded before the string is stored in the impl_t data structure.
2011-08-04 17:47:24 -04:00
Ulrich Drepper
cb7e923b71 Cleanup wcscmp test addition 2011-08-04 17:43:30 -04:00
Liubov Dmitrieva
cff8293390 New comprehensive test for wcscmp 2011-08-04 16:04:15 -04:00
Andreas Schwab
9be9bfcc9d Properly tokenize nameserver line for servers with IPv6 address 2011-08-04 15:50:48 -04:00
Andreas Schwab
2e96f1c73b Fix encoding name for IDN in getaddrinfo 2011-08-04 15:42:10 -04:00
Jakub Jelinek
85188888f6 Fix up __kernel_rem_pio2 for FLT_EVAL_METHOD != 0 architectures 2011-08-04 15:40:16 -04:00
Liubov Dmitrieva
5fa16e9b01 Improve x86-32 strcat functions with SSE2/SSSE3 2011-08-04 15:33:38 -04:00
Andreas Schwab
8c1a459f9a Fix inline strncat/strncmp on x86 2011-08-04 14:59:25 -04:00
Ulrich Drepper
798be72d12 Define SEEK_DATA and SEEK_HOLE 2011-07-23 21:45:57 -04:00
Ulrich Drepper
8accd4dccc Define AF_NFC and PF_NFC 2011-07-23 20:06:48 -04:00
Ulrich Drepper
cbff0d9689 Update ptrace constants 2011-07-23 19:10:18 -04:00
Ulrich Drepper
9191c04a7e Adjust test for correct installation 2011-07-23 15:28:31 -04:00
Ulrich Drepper
bba33c289b One more typo in AVX test 2011-07-23 15:18:13 -04:00
Ulrich Drepper
2ee5518515 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-07-23 00:04:15 -04:00
Ulrich Drepper
1aae088a8a One more change to XSAVE patch 2011-07-22 23:33:22 -04:00
Ulrich Drepper
8e2045f555 Optimize __init_des_r 2011-07-22 23:25:40 -04:00
Ulrich Drepper
90f139ddd0 Add read barrier protecting DES initialization 2011-07-22 23:19:30 -04:00
Andreas Schwab
1d002f2539 Fix AVX check 2011-07-22 14:33:47 -04:00
Ulrich Drepper
21137f89c5 Fix overflow bug is optimized strncat for x86-64 2011-07-21 12:32:36 -04:00
Ulrich Drepper
a65c0b7a32 Add more tests for strcat and strncat. 2011-07-21 06:56:25 -04:00
Ulrich Drepper
90bb2039e9 Check for overflows in expressions
Some passed in values might cause overflows in expressions.
2011-07-20 22:53:58 -04:00
Ulrich Drepper
5644ef5461 Fix check for AVX enablement
The AVX bit is set if the CPU supports AVX.  But this doesn't mean the
kernel does.  Add checks according to Intel's documentation.
2011-07-20 21:21:03 -04:00
Ulrich Drepper
6986b98a18 Force :a_x86_64_ymm to be 16-byte aligned 2011-07-20 14:20:00 -04:00
Andreas Schwab
bfc9dc9bcf Fix missing include 2011-07-20 14:12:57 -04:00
Ulrich Drepper
702e64bbd5 Updated translations. 2011-07-20 12:38:14 -04:00
Marek Polacek
295e904fe6 Add const attr to gnu_dev_{major,minor,makedev} 2011-07-20 12:35:29 -04:00
Marek Polacek
3ff9459622 dcigettext.c: Add missing bracket 2011-07-20 12:21:52 -04:00
Andreas Schwab
28b59fca7a Use size_t for strlen results 2011-07-20 11:40:37 -04:00
Andreas Krebbel
19df733e64 S/390: Don't use r11 in INTERNAL_VSYSCALL_NCS macro 2011-07-19 20:29:27 -04:00
Marek Polacek
c8835729b8 _dl_sort_fini: Remove unused argument 2011-07-19 20:27:43 -04:00
Marek Polacek
8991e135f7 elf/cache.c: Remove unnecessary condition 2011-07-19 20:17:51 -04:00
Marek Polacek
b902330ca8 Avoid warning in nscd config file parsing code 2011-07-19 20:13:31 -04:00
Liubov Dmitrieva
99710781cc Improve 64 bit strcat functions with SSE2/SSSE3 2011-07-19 17:11:54 -04:00
Ulrich Drepper
7dc6bd90c5 Use union to avoid casts in code to store results of hashsum computations 2011-07-19 16:53:43 -04:00
Andreas Schwab
e0e7228480 Fix alloca accounting in strxfm 2011-07-19 15:03:57 -04:00
Ulrich Drepper
feb1eb0be7 Avoid possible crashes in anormal nscd exits 2011-07-19 13:59:57 -04:00
Ulrich Drepper
298711ffe4 Fix typos in pretty much unused code in sched.h header. 2011-07-18 20:19:14 -04:00
Ulrich Drepper
f9d683894d Updated Swedish and Dutch translations. 2011-07-18 20:13:01 -04:00
Roland McGrath
db290cf592 Never use -mpreferred-stack-boundary=2 on i386, now disallowed by GCC. 2011-07-16 03:10:06 -07:00
Roland McGrath
fd5e21c75d Default to --with-default-link=yes if configure check finds good -shared layout. 2011-07-14 20:50:18 -07:00
Roland McGrath
5c55070081 Use linker --print-output-format option if available. 2011-07-14 20:50:17 -07:00
Roland McGrath
a6928d5102 Fix remaining explicit uses of shlib.lds to use $(shlib-lds). 2011-07-14 20:49:27 -07:00
Roland McGrath
661607b3dd Quash a warning in strstr-c.c built for static. 2011-07-14 20:47:54 -07:00
Roland McGrath
9fa2c03227 Adjust relro test to work around GNU ld limitations. 2011-07-14 19:09:27 -07:00
Roland McGrath
defe906180 Fix a braino in new relro configure test. 2011-07-11 18:38:13 -07:00
Ulrich Drepper
319b9ad4bc Generalize framework to register monitoring of files in nscd
nscd can clear caches when certain files change.  The list of files
was hardcoded so far and worked for nss_files and nss_dns and those
modules which need no monitoring.  nss_db, for instance, has its
own set of files to monitor.  Now the NSS modules themselves can
request that certain files are monitored.
2011-07-11 14:50:24 -04:00
Roland McGrath
23bee3e867 Comment typo fix. 2011-07-10 14:58:51 -07:00
Ulrich Drepper
46a5b7f025 Transltion updates 2011-07-09 17:58:11 -04:00
Roland McGrath
113ddea447 Use an empirical check for .ctors/.dtors -> .init_array/.fini_array magic. 2011-07-09 14:41:39 -07:00
Roland McGrath
574920b446 Rewrite -z relro configure check to be empirical. 2011-07-09 13:55:24 -07:00
Roland McGrath
d30cf5bb00 Find readelf with AC_CHECK_TOOL for use in configure tests. 2011-07-09 04:06:34 -07:00
Ulrich Drepper
8538fdb3ec (memalign_check): No need to use checked_request2size. 2011-07-08 13:20:41 -04:00
Andreas Jaeger
04d08991c4 Add test case strtod underflow 2011-07-08 13:16:26 -04:00
Ulrich Drepper
4e5f31c847 Handle ext4 in {,f}pathconf
ext4 has a higher LINK_MAX limit than ext2/3.  Unfortunately it is
not easy to distinguish the filesystems from userlevel.
2011-07-07 10:53:16 -04:00
Andreas Dilger
de283087c7 Handle Lustre filesystem 2011-07-07 00:20:32 -04:00
Andreas Jaeger
c75fa153a9 Fix warnings in resolver code 2011-07-06 22:29:45 -04:00
Ulrich Drepper
1a544854c2 nis/nss_nisplus: Kill warnings 2011-07-06 22:22:48 -04:00
Ulrich Drepper
6f0eec6710 Add string/test-strncat.c 2011-07-06 21:44:29 -04:00
Ulrich Drepper
aae30307ae iconvdata/johab.c: Don't inline unlikely called function 2011-07-06 21:42:59 -04:00
Ulrich Drepper
c0cfb5eb3d Fix for installation in sysdeps/s390/s390-64/Makefile 2011-07-06 21:38:49 -04:00
Ulrich Drepper
01636b2140 Handle W; without long options in getopt 2011-07-06 21:27:14 -04:00
Ulrich Drepper
9895c8bc62 Change error code for underflows in strtod 2011-07-06 20:57:55 -04:00
Ulrich Drepper
960e5535b0 Add the extra check also in innetgr 2011-07-06 11:38:42 -04:00
Ulrich Drepper
5d4cf04250 Fix handling of chained netgroups 2011-07-06 10:52:31 -04:00
Roland McGrath
751eb97ef2 Default install_root value from DESTDIR. 2011-07-05 09:57:47 -07:00
Ulrich Drepper
f15f1e45ba Avoid warning. 2011-07-05 06:56:12 -04:00
Roland McGrath
5e9b6af4a9 Fail if format.lds comes out empty. 2011-07-02 16:59:14 -07:00
Roland McGrath
84f9ea0f73 Generate testrun.sh to use relative directory names. 2011-07-02 16:03:04 -07:00
Roland McGrath
ea5ee9f73d Rewrite local headers check to be more robust and informative. 2011-07-02 15:52:51 -07:00
Roland McGrath
1b74661a6b Explicitly remove .gnu.glibc-stub sections with objcopy when not using
linker script.
2011-07-02 15:21:27 -07:00
Roland McGrath
f781ef4015 Add --with-default-link configure option. 2011-07-02 15:19:52 -07:00
Roland McGrath
2d4fa81e11 Consolidate shlib.lds references in new variables. 2011-07-02 15:13:05 -07:00
Roland McGrath
31fffa6b07 Make asserts accept DT_FLAGS/DT_FLAGS_1 with zero flags. 2011-07-02 15:12:19 -07:00
Roland McGrath
4e34ac6a1e Use -defsym=_begin=0 instead of linker script munging. 2011-07-02 15:11:43 -07:00
Ulrich Drepper
fcfc776bc6 Optimize long-word additions in SHA implementation 2011-07-02 12:30:03 -04:00
Ulrich Drepper
99231d9abe nscd cleanups
Cleanup and optimize last patch.  Add timeout fixes also to the
services cache.
2011-07-01 23:02:09 -04:00
Thorsten Kukuk
445b4a53ea Handle nscd negtimeout==0 2011-07-01 22:53:01 -04:00
Andreas Schwab
6d4d8e8eef nss_compat: query NIS domain only when needed 2011-07-01 18:37:28 -04:00
Andreas Schwab
89f654c57b Make sure RES_USE_INET6 is always restored 2011-06-30 06:33:32 -04:00
Ulrich Drepper
2c0e54ff32 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-06-29 23:36:11 -04:00
Ulrich Drepper
cf3b23ffcd Avoid write to invalid file descriptor in nscd
When readding entries to the group and services cache and the lookup
is unsuccesful, we tried to write the notfound record.  Just don't
do it in this case.
2011-06-29 23:33:38 -04:00
Aurelien Jarno
751626f948 Fix build with multiarch disabled. 2011-06-29 05:00:49 -07:00
Ulrich Drepper
5c0b8d9013 Fix quoting in some installed shell scripts 2011-06-28 18:14:01 -04:00
Ulrich Drepper
9113ea1f3f Remove the --experimental-malloc option
It's well tested, make it the default.
2011-06-28 16:53:01 -04:00
Andreas Schwab
a417218158 Fix crash in GB18030 encoder 2011-06-28 03:15:30 -04:00