diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-01-12 09:43:31 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-01-12 20:50:18 +0100 |
| commit | c77ca9174976a9fb8769276ce913e761d66af1de (patch) | |
| tree | 94d02f581f1b8b6f0665aed3282ef4bbcb8c258b /src/codegen | |
| parent | f8d1efd99ab0ff9ae49a17b437814f4fe329e83b (diff) | |
| download | zig-c77ca9174976a9fb8769276ce913e761d66af1de.tar.gz zig-c77ca9174976a9fb8769276ce913e761d66af1de.zip | |
wasm-linker: implement `__heap_base` symbol
When any object files provides an undefined reference to the __heap_base
symbol, we create a new defined symbol for it. During setupMemory we
set the virtual address of this symbol so it can be used for relocations.
This symbol represents where the heap starts and allocators can use
this value for its allocations when it needs to determine where the heap
lives.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
