mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Attempt to determine section boundaries at a compile-time
This commit is contained in:
parent
d6a2fadda1
commit
87d018877b
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ static extra_roots_pool extra_roots;
|
|||
|
||||
size_t __gc_stack_top = 0, __gc_stack_bottom = 0;
|
||||
#ifdef LAMA_ENV
|
||||
extern const size_t __start_custom_data, __stop_custom_data;
|
||||
extern const size_t __start_custom_data __asm("section$start$__DATA$custom_data");
|
||||
extern const size_t __stop_custom_data __asm("section$end$__DATA$custom_data");
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue