summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel R. Grayson <dan@math.uiuc.edu>2012-01-26 05:42:33 +0100
committerIvan Maidanski <ivmai@mail.ru>2012-01-26 17:47:46 +0100
commita16036324480dfae2b094f0fa6567db1b867c617 (patch)
treeafc614874f5795b5682ff310ef18dbc2b9666954 /include
parentcebfd92286f10f4d6f8faaa73a5e61896a42d3ad (diff)
Fix GC_add_roots_inner for Mac OS X (enable GC_dyld_image_add to
pass unaligned segment start to GC_add_roots) * mark_rts.c (GC_add_roots_inner): Round "b" pointer up to word boundary. * include/gc.h (GC_add_roots): Update the comment.
Diffstat (limited to 'include')
-rw-r--r--include/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gc.h b/include/gc.h
index 81a3a7b..b48ea26 100644
--- a/include/gc.h
+++ b/include/gc.h
@@ -452,7 +452,7 @@ GC_API void GC_CALL GC_exclude_static_roots(void * /* low_address */,
GC_API void GC_CALL GC_clear_roots(void);
/* Add a root segment. Wizards only. */
-/* The segment (referred to by low_address) must be pointer-aligned. */
+/* Both segment start and end are not needed to be pointer-aligned. */
/* low_address must not be greater than high_address_plus_1. */
GC_API void GC_CALL GC_add_roots(void * /* low_address */,
void * /* high_address_plus_1 */);