Jonathan Larmour <jifl@eCosCentric.com> writes:
You could see what address the linker put __heap2 at by searching
for it in the output of i386-elf-nm on your ELF image (not the
.bin).
This doesn't look quite right?
davidw@arqua:~/workshop/ecos2-ficl/ficl$ nm embficl | grep heap
00015c84 t _GLOBAL_.D.47000.cygmem_memalloc_heaps
00015c6c t _GLOBAL_.I.47000.cygmem_memalloc_heaps
0008e5b0 A __heap1
0008e5b0 A __heap2
00024674 D cygmem_memalloc_heaps
00026960 B cygmem_pool_heap1
00026d80 B cygmem_pool_heap2
Oh doh! I should have noticed that before. The syntax in the .ldi file
should be something more like: