summaryrefslogtreecommitdiff
path: root/libc/sysdeps/unix
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes between r2277 and r3468 from /fsf/glibc-2_6-branch.joseph2007-09-129-330/+177
| | | | git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_6@3469 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * sysdeps/unix/sysv/linux/powerpc/libc-start.cnathan2007-06-132-2/+27
| | | | | | | | | | (__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
* Merge changes between r2162 and r2243 from /fsf/trunk.joseph2007-05-1622-16/+448
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2244 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Add the OPTION_EGLIBC_INET option group.jimb2007-05-142-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion):joseph2007-05-011-1/+1
| | | | | | | 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
* Merge changes between r2007 and 2107 from /fsf/trunk.joseph2007-04-286-3/+92
| | | | git-svn-id: svn://svn.eglibc.org/trunk@2108 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* libc:joseph2007-04-163-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge changes between r1748 and r1968 from /fsf/trunk.joseph2007-04-136-24/+21
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1969 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r1382 and r1748 from /fsf/trunk.joseph2007-03-1823-170/+233
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1749 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * Makefile: Amend make install-headers to install everythingjimb2007-02-161-1/+1
| | | | | | | | | | | | | | | | 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-161-0/+4
| | | | | | | Convert spaces to tabs in Changelog. git-svn-id: svn://svn.eglibc.org/trunk@1479 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r1192 and r1382 from /fsf/trunk.joseph2007-02-055-26/+48
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1383 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r858 and r1147 /fsf/trunk.joseph2007-01-097-17/+123
| | | | git-svn-id: svn://svn.eglibc.org/trunk@1148 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* libc:joseph2006-12-073-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * misc/tst-efgcvt.c (ecvt_tests): Disable subnormal test for E500 double. * sysdeps/powerpc/bits/fenv.h: Include E500 definitions. Based on SPE add-on by Aldy Hernandez. * sysdeps/powerpc/fpu/bits/fenvinline.h: Change _SOFT_FLOAT to __NO_FPRS__. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * sysdeps/powerpc/fpu/fpu_control.h: Include soft-float and E500 definitions. Based on SPE add-on by Aldy Hernandez. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: If __CONTEXT_EXTRA defined, include <getcontext-extra.S>. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: If __CONTEXT_EXTRA defined, include <setcontext-extra.S>. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: If __CONTEXT_EXTRA defined, include <getcontext-extra.S> and <setcontext-extra.S>. ports: Add PowerPC E500 port, based on SPE add-on by Aldy Hernandez. * sysdeps/powerpc/preconfigure: New. * sysdeps/powerpc/powerpc32/e500: New. * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: New. git-svn-id: svn://svn.eglibc.org/trunk@877 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r677 and r858 from /fsf/trunk.joseph2006-12-057-60/+103
| | | | git-svn-id: svn://svn.eglibc.org/trunk@859 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r615 and r677 from /fsf/trunk.joseph2006-11-132-0/+2
| | | | git-svn-id: svn://svn.eglibc.org/trunk@678 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r426 and r615 from /fsf/trunk.joseph2006-11-074-19/+60
| | | | git-svn-id: svn://svn.eglibc.org/trunk@616 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r345 and r426 from /fsf/trunk.joseph2006-10-184-2/+24
| | | | git-svn-id: svn://svn.eglibc.org/trunk@427 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r291 and r312 from /fsf/trunk.joseph2006-10-041-0/+8
| | | | git-svn-id: svn://svn.eglibc.org/trunk@313 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Merge changes between r76 and r285 from /fsf/trunk.joseph2006-09-2926-579/+202
| | | | git-svn-id: svn://svn.eglibc.org/trunk@286 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.richard2006-09-071-0/+1
| | | | git-svn-id: svn://svn.eglibc.org/trunk@169 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Import glibc-mainline for 2006-08-22gcc2006-08-221-1/+3
| | | | git-svn-id: svn://svn.eglibc.org/fsf/trunk@38 7b3dc134-2b1b-0410-93df-9e9f96275f8d
* Import glibc-mainline for 2006-08-16gcc2006-08-171306-0/+92338
git-svn-id: svn://svn.eglibc.org/fsf/trunk@4 7b3dc134-2b1b-0410-93df-9e9f96275f8d