binman: Change the boot and packing (*THIS WILL AFFECT MOST PORTS*)
authorAlan Cox <alan@linux.intel.com>
Thu, 14 May 2015 20:13:05 +0000 (21:13 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 14 May 2015 20:13:05 +0000 (21:13 +0100)
commitcf2b7ef28db394406b81df986aa5dfd700afc2e0
treed874035a4f5d8bb3b6056453f61db87260510c73
parent1cafceb2091dcea136fc729ed50c803411dbf5ee
binman: Change the boot and packing (*THIS WILL AFFECT MOST PORTS*)

We now copy intializer to initialized and then pack common, fonts, discard etc
over data. That has two impacts

- your crt0.s needs to copy from s__DATA now
- your crt0.s ordering needs to put DATA last in the main block

It also saves us about 8K and neatly avoids any issues with overlapping memory
areas. That makes it worth the pain.
Kernel/platform-nc100/crt0.s
Kernel/platform-trs80/crt0.s
Kernel/tools/binman.c