summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2019-04-26 19:03:42 +0300
committerIvan Maidanski <ivmai@mail.ru>2019-04-26 19:03:42 +0300
commite5a18e6a9901640d40a314732997aabefac3f49c (patch)
tree44e40f8010f1f80e5ef083985afad574b0e519da /misc.c
parent45377e49d48e268754cc99f5334b964404a89d9e (diff)
downloadbdwgc-e5a18e6a9901640d40a314732997aabefac3f49c.tar.gz
Replace 'stack base' with 'stack bottom' in the documentation
* README.md (The C Interface to the Allocator): Outline that stack base means its bottom; remove a note that client should set GC_stackbottom on HP PA machines manually. * doc/README.macros (USE_GET_STACKBASE_FOR_MAIN): Rename "stack base" to "stack bottom". * doc/porting.md (Adding Platforms to gcconfig.h): Likewise. * doc/porting.md (Adding Platforms to gcconfig.h): Rename "cool end of the stack" to "cold end of the stack"; refine documentation about STACKBOTTOM. * include/private/gcconfig.h (STACKBOTTOM): Rename "cool end" to "cold end" in comment. * include/gc.h (GC_stackbottom): Likewise. * include/private/gcconfig.h (LINUX_STACKBOTTOM): Rename "stack base" to "stack bottom" in comment. * include/gc.h (GC_stack_base, GC_call_with_stack_base): Likewise. * include/gc.h [GC_THREADS] (GC_register_my_thread): Likewise. * misc.c [!THREADS] (GC_call_with_gc_active): Likewise. * os_dep.c [LINUX_STACKBOTTOM] (GC_linux_main_stack_base): Likewise. * os_dep.c (GC_get_stack_base): Likewise. * pthread_support.c (GC_call_with_gc_active): Likewise. * win32_threads.c (GC_call_with_gc_active): Likewise.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 21baef8f..5b473569 100644
--- a/misc.c
+++ b/misc.c
@@ -2128,7 +2128,7 @@ GC_API void * GC_CALL GC_call_with_gc_active(GC_fn_type fn,
struct GC_traced_stack_sect_s stacksect;
GC_ASSERT(GC_is_initialized);
- /* Adjust our stack base value (this could happen if */
+ /* Adjust our stack bottom pointer (this could happen if */
/* GC_get_main_stack_base() is unimplemented or broken for */
/* the platform). */
if ((word)GC_stackbottom HOTTER_THAN (word)(&stacksect))