Created
March 12, 2012 19:07
-
-
Save kumpera/2024025 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/libgc/include/private/gcconfig.h b/libgc/include/private/gcconfig.h | |
| index 8276079..818d93a 100644 | |
| --- a/libgc/include/private/gcconfig.h | |
| +++ b/libgc/include/private/gcconfig.h | |
| @@ -325,7 +325,7 @@ | |
| These aren't used when dyld support is enabled (it is by default) */ | |
| # define DATASTART ((ptr_t) get_etext()) | |
| # define DATAEND ((ptr_t) get_end()) | |
| -# define STACKBOTTOM ((ptr_t) 0xc0000000) | |
| +# define STACKBOTTOM ((ptr_t) pthread_get_stackaddr_np(pthread_self())) | |
| # define USE_MMAP | |
| # define USE_MMAP_ANON | |
| # define USE_ASM_PUSH_REGS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment