Compress the .data section as well (saves another 4KBytes and comes for free)

zlib tuning: prevent fpga_compress from generating fixed code blocks
armsrc/Makefile: replace osimage with fullimage
This commit is contained in:
pwpiwi 2015-05-08 08:17:40 +02:00
commit 0fa01ec7da
7 changed files with 103 additions and 22 deletions

View file

@ -24,6 +24,7 @@ SECTIONS
} >osimage :text
.text : {
KEEP(*(stage1_image))
*(.text)
*(.text.*)
*(.eh_frame)
@ -36,11 +37,11 @@ SECTIONS
*(.rodata.*)
*(fpga_all_bit.data)
KEEP(*(.version_information))
. = ALIGN(8);
} >osimage :text
. = ALIGN(4);
.data : {
KEEP(*(compressed_data))
*(.data)
*(.data.*)
*(.ramfunc)