1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00
Commit graph

29 commits

Author SHA1 Message Date
Ludovic Courtès
452e13f311 Fix compilation of `gcc_os_dep.c' on Tru64.
* libguile/gc_os_dep.c [OSF1](_end): Specify the type.
  (scm_get_stack_base): Suitably cast RESULT.  Reported by Didier
  Godefroy <ldg@ulysium.net>.
2009-05-20 23:52:59 +02:00
Ludovic Courtès
dbb605f575 Include <config.h> in all C files; use #ifdef HAVE_CONFIG_H' rather than #if'. 2008-09-13 15:35:27 +02:00
Neil Jerram
c0a658c4db Improved MIPS/Linux gc_os_dep.c definitions
From Thiemo Seufer <ths@networkno.de>:

	* gc_os_dep.c (CPP_WORDSZ, ALIGN_DOUBLE, DATAEND,
	DYNAMIC_LOADING): Added #defines.
	(_fdata, _end): Added declarations.
	(DATASTART): Use _fdata instead of __data_start.
	(STACKBOTTOM): Changed from 0x80000000 to 0x7fff8000.
2008-07-12 19:33:21 +01:00
Ludovic Courtès
9a6fac59b1 Fix NetBSD/alpha support. 2008-02-16 19:45:41 +00:00
Kevin Ryde
2b829bbb3d merge from 1.8 branch 2006-04-17 00:05:42 +00:00
Kevin Ryde
083ff9955e (NetBSD): Test __m68k__ and __arm__ as well as m68k and
arm32.  Reported by Greg Troxel.
2004-11-29 21:13:57 +00:00
Rob Browning
537abaae4d update ifdefery for macosx.
(scm_get_stack_base): separate result initialization from
declaration to slience warnings with macosx and hp-ux using gcc
3.3.  Thanks to Andreas Vögele.
2004-06-16 04:09:52 +00:00
Marius Vollmer
fbff94c9c3 (scm_get_stack_base): Provide a definition that return NULL when the
machine type is unknown.  Previously, gc_os_dep.c would refuse to
compile.
2003-11-13 18:19:02 +00:00
Rob Browning
683a2f9a4c * gc_os_dep.c: Added patch for UnixWare and OpenUNIX support.
Thanks to Boyd Gerber.
Added check for __arm__ in addition to arm for LINUX and copied
__s390__ defines from upstream libgc. Thanks to James Treacy for
reporting the problems.
2003-04-16 20:15:37 +00:00
Rob Browning
311daf8be1 * gc_os_dep.c: add check for __arm__ in addition to arm for
LINUX.  Thanks to James Treacy for tracking this one down.
2003-04-16 19:59:17 +00:00
Rob Browning
f55a171dc4 * gc_os_dep.c (mach_type_known): added patch for UnixWare and
OpenUNIX support.  Thanks to Boyd Gerber.
2003-04-16 19:39:35 +00:00
Rob Browning
9534300a30 * gc_os_dep.c: add NetBSD powerpc config info. Thanks to Thomas
Klausner.
2003-04-13 17:46:39 +00:00
Rob Browning
91b17416c6 * gc_os_dep.c: fix various preprocessor usages of new public
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
(STACK_GROWS_DOWN): define to 0 or 1 rather than 1 or undef.
2003-03-27 20:08:15 +00:00
Rob Browning
2485c27901 * gc_os_dep.c: #include <config.h> if HAVE_CONFIG_H. Replace
usage of STACK_GROWS_UP with SCM_STACK_GROWS_UP.
2003-03-25 23:55:43 +00:00
Marius Vollmer
598b6787bc Added defines for sparc-unknown-netbsdelf1.5 from Adrian Bunk.
Thanks!
2003-03-19 21:59:14 +00:00
Marius Vollmer
8cbb63c795 When we have __libc_stack_end, use that directly instead the old
tricks.
2002-08-24 00:57:14 +00:00
Rob Browning
9c52b21814 * gc_os_dep.c: HURD fixes. 2002-07-08 23:41:00 +00:00
Thien-Thi Nguyen
37354cb7b9 For I386/OPENBSD, allow for __i386__' in addition to i386'. 2002-05-14 09:24:18 +00:00
Thien-Thi Nguyen
9ec1e7705c (GC_noop1): Move before `GC_find_limit' where it is used; nfc.
Thanks to Bill Schottstaedt.
2001-08-25 18:20:56 +00:00
Marius Vollmer
d315ea8ccc (GC_noop1): Moved into the same #if/#endif context where it is needed. 2001-07-26 16:58:30 +00:00
Martin Grabmüller
58ade1022c * alist.c, arbiters.c, async.h, backtrace.h, boolean.c, chars.c,
chars.h, continuations.h, debug-malloc.h, dynl.c, feature.c,
	feature.h, filesys.h, fluids.h, fports.h, gc_os_dep.c,
	gdb_interface.h, gh_eval.c, gh_funcs.c, gh_io.c, gh_list.c,
	gh_predicates.c, gsubr.c, gsubr.h, guardians.h,
	guile-func-name-check.in, guile-snarf-docs-texi.in,
	guile-snarf-docs.in, guile-snarf.awk.in, guile-snarf.in,
	hashtab.h, iselect.h, keywords.h, lang.c, list.h, load.h,
	objprop.c, objprop.h, options.c, options.h, random.h,
	regex-posix.h, root.c, root.h, script.c, snarf.h, stackchk.c,
	strerror.c, strop.h, strports.h, threads.h, values.c, values.h,
	version.c, version.h: Updated copyright notice.
2001-07-19 21:08:49 +00:00
Rob Browning
f28108ee14 * gc_os_dep.c (GC_noop1): ifdef out (unused) to quiet warning. 2001-07-19 17:43:34 +00:00
Keisuke Nishida
783e777478 Remove #include <stdio.h>. Add #include <string.h>. 2001-03-09 23:33:41 +00:00
Marius Vollmer
5159b33653 Corrected indentation of new #if stuff. 2001-02-15 15:38:26 +00:00
Marius Vollmer
bc286d9f8e * gc_os_dep.c: Do not include <linux/version.h>. It makes no
sense to compile for a specific kernel version.  Do not include
<asm/signal.h> while defining __KERNEL__.  This hack should no
longer be needed and caused problems.
2001-02-13 18:37:19 +00:00
Marius Vollmer
70f9533342 * gc_os_dep.c (scm_get_stack_base) [MSWIN32]: Added detection of
page size on the w32 architecture.  Updated from Boehms gc5.2.
Thanks to Lars J. Aas!
2000-12-11 18:09:07 +00:00
Marius Vollmer
a3487916d0 * gc_os_dep.c (GC_noop1, GC_bool, TRUE, FALSE, VOLATILE):
Definitions copied from Boehm collector.
2000-10-18 18:27:55 +00:00
Marius Vollmer
155415a56d * gc_os_dep.c: Added real implementation based on code from Boehms
collector.  This is not well tested yet.
2000-10-11 19:23:52 +00:00
Marius Vollmer
9500b5b950 New file. 2000-09-03 20:27:17 +00:00