summaryrefslogtreecommitdiff
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
* ports:joseph2008-04-112-0/+5
| | | | | | | | | | | | | | 2008-04-11 Paul Brook <paul@codesourcery.com> * sysdeps/arm/eabi/Versions: Add __gnu_mcount_nc. libc: 2008-04-11 Paul Brook <paul@codesourcery.com> * Versions.def: Add GLIBC_2.8 for backported symbols. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@5883 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* PR nptl/3270dan2008-02-243-24/+127
| | | | | | | | | | | | | | nptl/ * allocatestack.c (setxid_mark_thread, setxid_unmark_thread): New. (setxid_signal_thread): Return a successful signal indicator. Just skip threads without SETXID_BITMASK. (__nptl_setxid): Use separate marking and unmarking loops. Repeat signalling if necessary. * init.c (sighandler_setxid): Use atomic operations for cancelhandling. Wake __nptl_setxid last. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@5287 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Backport:joseph2008-02-172-1/+7
| | | | | | | | 2008-01-12 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@5210 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* [BZ #3406]joseph2008-02-113-1/+8
| | | | | | | | * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. * math/libm-test.inc (exp_test): Test 88.72269439697265625. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@5134 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Backport:joseph2007-10-285-13/+90
| | | | | | | | | | | | | | | | | | | | 2007-10-28 Ulrich Drepper <drepper@redhat.com> [BZ #5220] * sysdeps/unix/sysv/linux/kernel-posix-timers.h: Declare __active_timer_sigev_thread and __active_timer_sigev_thread_lock. (struct timer): Add next element. * sysdeps/unix/sysv/linux/timer_create.c: For SIGEV_THREAD timers, enqueue timer structure into __active_timer_sigev_thread list. * sysdeps/unix/sysv/linux/timer_delete.c: For SIGEV_THREAD timers, remove timer struct from __active_timer_sigev_thread. * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread): Before using timer structure make sure it is still on the __active_timer_sigev_thread list. Keep lock until done. Define __active_timer_sigev_thread and __active_timer_sigev_thread_lock. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@3999 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r2277 and r3468 from /fsf/glibc-2_6-branch.joseph2007-09-1288-720/+2789
| | | | git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@3469 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Backport:dan2007-07-1015-86/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-16 Roland McGrath <roland@redhat.com> * nptl_db/td_thr_get_info.c: Fake the results for TH->th_unique == 0. * nptl_db/td_thr_validate.c: Likewise. * nptl_db/td_thr_setgregs.c: Likewise. * nptl_db/td_thr_setfpregs.c: Likewise. * nptl_db/td_thr_getgregs.c: Likewise. * nptl_db/td_thr_getfpregs.c: Likewise. * nptl_db/td_thr_tlsbase.c: Likewise. * nptl_db/structs.def: Add DB_VARIABLE (__nptl_initial_report_events). * nptl_db/db_info.c: Add necessary declaration. * nptl_db/td_thr_event_enable.c: Set __nptl_initial_report_events too. * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Make FAKE_EMPTY bool. Use th_unique=0 in fake descriptor before initialization. * nptl_db/td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): New function, broken out of ... (td_ta_map_lwp2thr): ... here, call it. But don't before __stack_user is initialized, then fake a handle with th_unique=0. * nptl_db/thread_dbP.h: Declare it. * nptl/init.c (__nptl_initial_report_events): New variable. (__pthread_initialize_minimal_internal): Initialize pd->report_events to that. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@2783 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * intl/plural.c: Regenerate.joseph2007-06-132-709/+1164
| | | | git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@2506 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * sysdeps/unix/sysv/linux/powerpc/libc-start.cnathan2007-06-133-2/+36
| | | | | | | | | | (__libc_start_main): Detect 8xx parts and clear __cache_line_size if detected. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV): Likewise. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@2502 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * Makefile (TAGS): Avoid backslashes in single-quoted strings.jimb2007-05-262-3/+8
| | | | git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@2301 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r2243 and r2277 from /fsf/glibc-2_6-branch.joseph2007-05-241-1/+0
| | | | git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@2279 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r2162 and r2243 from /fsf/trunk.joseph2007-05-1681-336/+1491
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2244 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Add the OPTION_EGLIBC_INET option group.jimb2007-05-1424-87/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * option-groups.def (OPTION_EGLIBC_INET): New entry. * option-groups.defaults (OPTION_EGLIBC_INET): Initialize. * option-groups.mak: Add initializer for aux-y. * Makerules (aux): Add in contents of aux-y. * extra-lib.mk (all-$(lib)-routines): Include $($(lib)-routines-y) in the list. (cpp-srcs-left): Refer $(all-$(lib)-routines) instead of spelling its value out. * nscd/Makefile: include option-groups.mak. (routines, aux, others, install-sbin, extra-objs): Place everything here in the option group. * pwd/Makefile: include option-groups.mak. (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c): Define USE_NSCD only if OPTION_EGLIBC_INET is enabled. * misc/Makefile: include option-groups.mak. * sysdeps/unix/sysv/linux/gethostid.c [!OPTION_EGLIBC_INET]: Don't try to look up our IP address; just return a dummy value. * sysdeps/unix/sysv/linux/Makefile: #define OPTION_EGLIBC_INET appropriately when compiling gethostid.c. * inet/Makefile: include option-groups.mak. (routines, aux): Place all routines in the option group. * nss/Makefile: include option-groups.mak. (databases): Put proto, service, hosts, network, rpc, ethers, netgrp, key, and aliases database in option group. Move assignment to 'databases' above assignment to 'routines', since we generate some of the latter from the former. (routines): Put digits_dots in option group. (tests): Put test-netdb in option group. (xtests): Put bug-erange in option group. (CFLAGS-nsswitch.c, CFLAGS-getnssent_r.c, CFLAGS-getent.c): #define OPTION_EGLIBC_INET as appropriate. * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r): Don't try to initialize resolver state unless the option group is enabled. * nss/nssswitch.c (__nss_disable_nscd): Define this only if the option group is enabled. * nss/getent.c (print_aliases, aliases_keys, ethers_keys, print_hosts, hosts_keys, ahosts_keys_int, ahosts_keys, ahostsv4_keys, ahostsv6_keys, netgroup_keys, print_networks, networks_keys, print_protocols, protocols_keys, print_rpc, rpc_keys, print_services, services_keys): Define only #if OPTION_EGLIBC_INET. (DN): New macro. (databases): Make entries for ahosts, ahostsv4, ahostsv6, aliases, ethers, hosts, netgroup, networks, protocols, rpc, and services present only if option group is enabled. * hesiod/Makefile (extra-libs, extra-libs-others): Place all libraries in option group. * grp/Makefile: include option-groups.mak. (CFLAGS-getgruid_r.c, CFLAGS-getgrnam_r.c, CFLAGS-initgroups.c): Define USE_NSCD only if OPTION_EGLIBC_INET is enabled. * nptl/Makefile: include option-groups.mak. (libpthread-routines): Move 'herrno' and 'res' into the option group. (CFLAGS-pthread_create.c): Define OPTION_EGLIBC_INET as appropriate. * nptl/pthread_create.c (start_thread): Initialize and free __resp only when OPTION_EGLIBC_INET is #defined. * posix/Makefile: include option-groups.mak. (routines): Put getaddrinfo and gai_strerror in the option group. (tests, xtests): Move tst-getaddrinfo, bug-ga1, tst-getaddrinfo2, tst-rfc3484, tst-rfc3484-2, tst-getaddrinfo3, and bug-ga2 into the option group. (CFLAGS-getaddrinfo.c): #define USE_NSCD only if the option group is enabled. * resolv/Makefile: include option-groups.mak. (routines, tests, xtests, extra-libs, extra-libs-others): Move everything into the option group. (tests): Only add ga_test as a dependency if the option group is enabled. * sunrpc/Makefile: include option-groups.mak. (install-others, routines, others, install-bin, install-sbin) (extra-objs, tests, xtests, extra-libs, extra-libs-others): Move everything into the option group. * nis/Makefile: include option-groups.mak. (services, extra-libs, extra-libs-others): Move everything into the option group. * option-groups.mak (extra-libs-y, extra-libs-others-y): Add missing initializers. * nss/getnssent_r.c (__nss_getent_r): Pass h_errnop through to the getent function, not &h_errno. git-svn-id: svn://svn.eglibc.org/trunk@2230 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r2107 and r2162 from /fsf/trunk.joseph2007-05-0419-95/+552
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2163 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion):joseph2007-05-012-1/+6
| | | | | | | Don't parse more than three parts of the version number. git-svn-id: svn://svn.eglibc.org/trunk@2135 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error injoseph2007-04-302-2/+11
| | | | | | | | condition for truncating to 0. Set sticky bit for such truncation. git-svn-id: svn://svn.eglibc.org/trunk@2125 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r2007 and 2107 from /fsf/trunk.joseph2007-04-2843-3091/+28716
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2108 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * EGLIBC.cross-building: doc fix.jimb2007-04-202-0/+9
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2037 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * scripts/run-with-env.sh: Also handlejoseph2007-04-197-19/+51
| | | | | | | | | | | | | | | | | | | | | EGLIBC_TEST_LD_LIBRARY_PATH. * dlfcn/Makefile (tststatic-ENV, tststatic2-ENV): Use EGLIBC_TEST_LD_LIBRARY_PATH. (tststatic-WRAPPER, tststatic2-WRAPPER): Define. * elf/Makefile (tst-tls9-static-ENV): Use EGLIBC_TEST_LD_LIBRARY_PATH. (tst-tls9-static-WRAPPER): Define. ($(objpfx)tst-pathopt.out): Pass run-with-env.sh to tst-pathopt.sh. * elf/tst-pathopt.sh: Take run_with_env argument. Use EGLIBC_TEST_LD_LIBRARY_PATH. * io/Makefile ($(objpfx)ftwtest.out): Pass run-with-env.sh to ftwtest-sh. * io/ftwtest-sh: Take run_with_env argument. Use EGLIBC_TEST_LD_LIBRARY_PATH. git-svn-id: svn://svn.eglibc.org/trunk@2027 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * scripts/cross-test-ssh.sh: Use printf in place of echo.joseph2007-04-182-5/+9
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2017 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r1968 and r2007 from /fsf/trunk.joseph2007-04-1740-376/+1275
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2008 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* libc:joseph2007-04-166-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/powerpc/fpu/bits/fenvinline.h: Test _SOFT_FLOAT together with __NO_FPRS__. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use __GETCONTEXT_EXTRA instead of __CONTEXT_EXTRA. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Use __SETCONTEXT_EXTRA instead of __CONTEXT_EXTRA. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Use __GETCONTEXT_EXTRA and __SETCONTEXT_EXTRA instead of __CONTEXT_EXTRA. ports: * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu/getcontext-extra.S: Put contents in a gas macro. * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu/setcontext-extra.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu/getcontext.S: Update. * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu/setcontext.S: Update. * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu/swapcontext.S: Update. git-svn-id: svn://svn.eglibc.org/trunk@1998 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * EGLIBC.option-groups: Doc fixes.jimb2007-04-142-18/+42
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1973 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * scripts/run-with-env.sh: New script.jimb2007-04-146-27/+39
| | | | | | | | | | | | * elf/Makefile: Use run-with-env.sh instead of run-with-preload.sh. * nptl/Makefile: Same. (tst-audit1.out, tst-audit2.out): Use run-with-env.sh, and set EGLIBC_TEST_LD_AUDIT instead of LD_AUDIT. * scripts/run-with-preload.sh: Delete. git-svn-id: svn://svn.eglibc.org/trunk@1972 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r1748 and r1968 from /fsf/trunk.joseph2007-04-1361-455/+1216
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1969 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * option-groups.mak: Use '../' if $(..) is unset.jimb2007-04-122-1/+6
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1952 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Add the OPTION_EGLIBC_LIBM option group.jimb2007-03-315-10/+43
| | | | | | | | | | | | * option-groups.def (OPTION_EGLIBC_LIBM): New entry. * option-groups.defaults (OPTION_EGLIBC_LIBM): Set default value. * math/Makefile: include ../option-groups.mak. Add libm to OPTION_EGLIBC_LIBM option group. * Makerules (extra-libs, extra-libs-others): Let option groups control these values, too. git-svn-id: svn://svn.eglibc.org/trunk@1862 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Run tests that set LD_PRELOAD properly, even whenjimb2007-03-236-11/+53
| | | | | | | | | | | | | | | | | | cross-test-wrapper is set. * scripts/run-with-preload.sh: New script. * Makeconfig (run-program-prefix, built-program-cmd): If $*-WRAPPER is set, include it in the command. * nptl/Makefile: Pass path to run-with-preload.sh script to tst-tls6.sh. * nptl/tst-tls6.sh: Pass LD_PRELOAD to test programs in a cross-test-wrapper-friendly way. * elf/Makefile (preloadtest-ENV, vismain-ENV): Set EGLIBC_TEST_LD_PRELOAD, not LD_PRELOAD. (preloadtest-WRAPPER, vismain-WRAPPER): Set to run-with-preload.sh. git-svn-id: svn://svn.eglibc.org/trunk@1783 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r1382 and r1748 from /fsf/trunk.joseph2007-03-18221-18886/+17354
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1749 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* 2007-03-12 Nathan Froyd <froydnj@codesourcery.com>joseph2007-03-132-1/+6
| | | | | | | | * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count' as being properly aligned. git-svn-id: svn://svn.eglibc.org/trunk@1699 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * EGLIBC.cross-testing: Note inter-machine user issues.jimb2007-03-052-0/+12
| | | | | | | * scripts/cross-test-ssh.sh: Doc fix. git-svn-id: svn://svn.eglibc.org/trunk@1639 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * scripts/cross-test-ssh.sh: Make executable.jimb2007-03-052-0/+4
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1638 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * configure.in: Also pass -isystem option for GCC's include-fixedjoseph2007-02-283-2/+8
| | | | | | | | directory. * configure: Regenerate. git-svn-id: svn://svn.eglibc.org/trunk@1584 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * Makefile (install-headers): Preserve old behavior: depend onjimb2007-02-202-1/+14
| | | | | | | | $(inst_includedir)/gnu/stubs.h only if install-bootstrap-headers is set; otherwise, place gnu/stubs.h on the 'install-others' list. git-svn-id: svn://svn.eglibc.org/trunk@1525 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * nptl/sysdeps/pthread/configure: Regenerate.jimb2007-02-202-131/+7
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1523 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * EGLIBC.cross-building, EGLIBC.cross-testing,jimb2007-02-196-0/+730
| | | | | | | | | EGLIBC.option-groups: New files. * README, INSTALL: Identify ourselves as EGLIBC, and refer to the above files. git-svn-id: svn://svn.eglibc.org/trunk@1512 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Make configuration script more friendly to cross-compilation.jimb2007-02-164-37/+58
| | | | | | | | | | | * configure.in: Require at least binutils 2.17 and GCC 4.1. * configure: Regenerated. * nptl/sysdeps/pthread/configure.in: Disable link tests for forced unwinding and C cleanup handling; always #define HAVE_FORCED_UNWIND and set libc_cv_c_cleanup. git-svn-id: svn://svn.eglibc.org/trunk@1487 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Commit log message.jimb2007-02-161-0/+14
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1486 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * Makefile: Amend make install-headers to install everythingjimb2007-02-165-4/+29
| | | | | | | | | | | | | | | | necessary for building a cross-compiler. Install gnu/stubs.h as part of 'install-headers', not 'install-others'. If install-bootstrap-headers is 'yes', install a dummy copy of gnu/stubs.h, instead of computing the real thing. * include/stubs-bootstrap.h: New file. * sysdeps/unix/sysv/linux/Makefile: Install bits/syscall.h as part of 'install-headers' not 'install-others'. * stdio-common/Makefile: Similarly for bits/stdio_lim.h. * sunrpc/Makefile: Don't install generated headers if install-bootstrap-headers is 'yes'. git-svn-id: svn://svn.eglibc.org/trunk@1484 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Re-define __i686 incase it is pre-defined by GCC.kraj2007-02-163-9/+23
| | | | | | | Convert spaces to tabs in Changelog. git-svn-id: svn://svn.eglibc.org/trunk@1479 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Add support for cross-testing.jimb2007-02-0642-151/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove Make conditionals that disable running tests or generating test input files when cross-compiling. * Rules: Disable conditionals. * stdlib/Makefile: Same. * libio/Makefile: Same. * intl/Makefile: Same. * iconvdata/Makefile: Same. * localedata/Makefile: Same. * catgets/Makefile: Same. * misc/Makefile: Same. * posix/Makefile: Same. * string/Makefile: Same. * stdio-common/Makefile: Same. * resolv/Makefile: Same. * iconv/Makefile: Same. * grp/Makefile: Same. * elf/Makefile: Same. * malloc/Makefile: Same. * io/Makefile: Same. Where tests run binaries, have them use cross-test-wrapper, if set. * Makeconfig (run-program-prefix): Split this into two pieces: (run-via-rtld-prefix): Prefix to run something via the dynamic linker. (run-program-prefix): Prefix to run something via the cross-testing wrapper and the dynamic linker. (built-program-command): Run the rule's second dependency, using the cross-test-wrapper and dynamic linker. (local-built-program-cmd): Like built-program-command, but don't use cross-test-wrapper. * intl/Makefile: Pass cross-test-wrapper to scripts. * intl/tst-codeset.sh, intl/tst-gettext.sh, intl/tst-gettext2.sh: * intl/tst-gettext3.sh, intl/tst-translit.sh: Expect and use wrapper. * iconvdata/Makefile: Pass cross-test-wrapper to scripts. * iconvdata/run-iconv-test.sh, iconvdata/tst-table.sh: * iconvdata/tst-tables.sh: Expect and use wrapper. * posix/Makefile: Pass cross-test-wrapper to scripts. Pass local-built-program-command to tests which run subprograms. * posix/tst-getconf.sh, posix/globtest.sh: * posix/workexp-tst.sh: Expect and use wrapper. * grp/Makefile: Pass cross-test-wrapper to scripts. * grp/tst-fgetgrent.sh: Expect and use wrapper. * elf/Makefile: Pass cross-test-wrapper to scripts. Use cross-test-wrapper to run binaries. Pass local-built-program-command to tests which run subprograms. * elf/tst-pathopt.sh: Expect and use wrapper. * malloc/Makefile: Pass cross-test-wrapper to scripts. * malloc/tst-mtrace.sh: Expect and use wrapper. * io/Makefile: Pass cross-test-wrapper to scripts. * io/ftwtest-sh: Expect and use wrapper. * nptl/Makefile: Pass cross-test-wrapper to scripts. Pass local-built-program-command to tests which run subprograms. * nptl/tst-tls6.sh: Expect and use wrapper. * rt/makefile (tst-mqueue7-ARGS): Pass local-built-program-command. Make sure cross-testing wrappers don't steal input from test script loops. * iconvdata/run-iconv-test.sh: Use non-stdin file descriptor for while loop input. * iconvdata/tst-tables.sh: Redirect loop body input from /dev/null. * localedata/tst-rpmatch.sh, localedata/tst-fmon.sh: Same. * localedata/tst-numeric.sh: Same. * posix/tst-getconf.sh: Same. * localedata/tst-wctype.sh: Take the command to run as an argument, as passed by the Makefile, not run_program_prefix. * io/Makefile ($(objpfx)/ftwtest.out): If cross-testing, use build tree for temporary directory. * localedata/Makefile ($(addprefix $(objpfx),$(CTYPE_FILES))): Use cross-localedef program, if specified. * scripts/cross-test-ssh.sh: New file: sample cross-test wrapper. git-svn-id: svn://svn.eglibc.org/trunk@1386 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r1192 and r1382 from /fsf/trunk.joseph2007-02-0571-603/+1431
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1383 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Use the host nm in NPTL tests.jimb2007-02-026-5/+23
| | | | | | | | | | | | * aclocal.m4 (LIBC_PROG_BINUTILS): Find path to 'nm', too. * configure: Regenerated. * config.make.in: Accept 'nm' path from configure script. * nptl/Makefile (tst-cancel-wrappers.out): Pass 'nm' path to test script. * nptl/tst-cancel-wrappers.sh: Use the 'nm' given in arguments. git-svn-id: svn://svn.eglibc.org/trunk@1358 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * option-groups.mak: Initialize xtests-y.jimb2007-01-252-0/+2
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1289 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * Makerules: Allow option groups to control xtests as well.jimb2007-01-252-0/+5
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1288 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Add Emacs magic for inserting ChangeLog entries in the right file.jimb2007-01-241-0/+4
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1275 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r1147 and r1192 from /fsf/trunk.joseph2007-01-1542-344/+1337
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1193 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* ChangeLog.eglibc:jimb2007-01-095-8/+49
| | | | | | | | | | | | | | | 2006-12-26 Jim Blandy <jimb@codesourcery.com> * option-groups.def, option-groups.defaults (OPTION_EGLIBC_LOCALES): New option group. * localedata/Makefile: Trim locale lists if OPTION_EGLIBC_LOCALES is not enabled. * option-groups.mak: Allow includer to override the option group config file name. git-svn-id: svn://svn.eglibc.org/trunk@1152 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge from branches/eglibc-2_5/libc:jimb2007-01-096-6/+101
| | | | | | | | | | | | | | | | 2006-12-08 Jim Blandy <jimb@codesourcery.com> Add rudimentary option group support. * option-groups.mak, option-groups.def, option-groups.defaults: New files. * Makerules: Add contents of enabled option groups to the values of the variables 'routines', 'others', 'install-bin', 'install-sbin', 'extra-objs', 'tests', and 'test-srcs'. * catgets/Makefile: Add the catgets directory's routines and programs to the OPTION_EGLIBC_CATGETS option group. git-svn-id: svn://svn.eglibc.org/trunk@1150 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r858 and r1147 /fsf/trunk.joseph2007-01-0975-244/+1424
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1148 7b3dc134-2b1b-0410-93df-9e9f96275f8d