diff: boehm_gc/config.h bug fix
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Oct 2 19:24:02 AEST 1998
boehm_gc/config.h:
Fix a bug in my previous changes to make DATASTART and DATAEND work
for cygwin32 with binutils 2.9.1.
Index: boehm_gc/config.h
===================================================================
RCS file: /home/mercury1/repository/mercury/boehm_gc/config.h,v
retrieving revision 1.15
diff -u -r1.15 config.h
--- config.h 1998/10/02 05:35:33 1.15
+++ config.h 1998/10/02 09:21:41
@@ -663,8 +663,8 @@
/* minumum/maximum of the two. */
# define MAX(x,y) ((x) > (y) ? (x) : (y))
# define MIN(x,y) ((x) < (y) ? (x) : (y))
-# define DATASTART ((ptr_t) MIN(_data_start__, _bss_start__))
-# define DATAEND ((ptr_t) MAX(_data_end__, _bss_end__))
+# define DATASTART ((ptr_t) MIN(&_data_start__, &_bss_start__))
+# define DATAEND ((ptr_t) MAX(&_data_end__, &_bss_end__))
# undef STACK_GRAN
# define STACK_GRAN 0x10000
# define HEURISTIC1
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list