summaryrefslogtreecommitdiff
path: root/libiberty/physmem.c
Commit message (Collapse)AuthorAgeFilesLines
* PR bootstrap/10974ghazi2003-06-091-1/+1
| | | | | | | | | | | * physmem.c: Update comment. * configure.in: Modify test for _system_configuration for older AIX systems. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67649 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c: Formatting changes from upstream.ghazi2003-02-271-39/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63519 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-24 Danny Smith <dannysmith@users.source.forge.net>ghazi2003-02-271-0/+77
| | | | | | | | * physmem.c (physmem_total): Add _WIN32 support. (physmem_available): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63504 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test forro2003-02-241-2/+2
| | | | | | | | GSI_PHYSMEM. (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63373 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/systemcfg.h andghazi2003-02-221-9/+18
| | | | | | | | | _system_configuration. * physmem.c: Add support for AIX. Tweek formatting as per upstream coreutils beta. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63287 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/sysctl.h and sysctl.ghazi2003-02-221-0/+34
| | | | | | | | * physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63285 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo onro2003-02-211-0/+39
| | | | | | | | | | | | | | Tru64 UNIX. (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on Tru64 UNIX. * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h, machine/hal_sysinfo.h, sys/table.h. (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63241 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/sysmp.h and sysmp.ghazi2003-02-211-4/+57
| | | | | | | | | * physmem.c: Pull upstream copy, add support for irix6. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63237 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total, physmem_available): De-ANSI-fy.ghazi2003-02-211-2/+2
| | | | | | | | * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and pstat_getdynamic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63203 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi2003-02-211-0/+92
* libiberty.h (physmem_total, physmem_available): Prototype. libiberty: * Makefile.in (CFILES): Add physmem.c. (REQUIRED_OFILES): Add physmem.o. * configure.in: Check for sys/pstat.h. (checkfuncs): Add pstat_getstatic and pstat_getdynamic. * physmem.c: New file, copied from textutils. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63198 138bc75d-0d04-0410-961f-82ee72b054a4