[<<][libprim][>>][..]
Mon Sep 20 00:12:24 CEST 2010

libprim on ARM7TMDI

I'm surprised the .bss is a lot smaller on the arm target than the
linux synthetic target.

tom@one:~/libprim/build_ecos_arm/ecos_sc$ arm-eabi-objdump -h main

main:     file format elf32-littlearm

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  9 .text         00024118  00100040  00100040  00008040  2**2  CONTENTS, ALLOC, LOAD, READONLY, CODE
 10 .rodata       00007664  00124158  00124158  0002c158  2**3  CONTENTS, ALLOC, LOAD, DATA
 13 .data         000012ac  00200180  0012b8d4  00038180  2**3  CONTENTS, ALLOC, LOAD, CODE
 14 .bss          00006d60  0020142c  0012cb80  0003942c  2**4  ALLOC
tom@one:~/libprim/build_ecos_arm/ecos_sc$ 

It would be nice to find a way to put some Scheme code in Flash too.
After macro expansion, code is essentially static.  RAM is only needed
for continuations and closures.





[Reply][About]
[<<][libprim][>>][..]