proxmark3/armsrc/ldscript
henryk@ploetzli.ch 8a6aec16d8 Implement version information storage and retrieval for the bootrom and the osimage.
Use perl to create the version information (thereby re-creating the perl dependency and adding an svn dependency) but fall back in case of missing perl or svn
2009-08-28 06:40:44 +00:00

25 lines
416 B
Text

INCLUDE ../common/ldscript.common
ENTRY(Vector)
SECTIONS
{
fpgaimage : {
*(fpga_bit.data)
} >fpgaimage
.start : { *(.startos) } >osimage
.text : {
*(.text)
*(.text.*)
*(.glue_7)
*(.glue_7t)
*(.version_information)
} >osimage
.rodata : {
*(.rodata)
*(.rodata*)
} >osimage
.data : { *(.data) } >ram
__bss_start__ = .;
.bss : { *(.bss) } >ram
__bss_end__ = .;
}