X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/98bf65a64067c4a2fe2c2ede367cb26d83e4698c..c3fe354b192d8151c0e7a27b5590ad086c3798a0:/armsrc/ldscript?ds=sidebyside diff --git a/armsrc/ldscript b/armsrc/ldscript index f35fc5fe..840b8196 100644 --- a/armsrc/ldscript +++ b/armsrc/ldscript @@ -11,8 +11,7 @@ INCLUDE ../common/ldscript.common PHDRS { - fpgaimage PT_LOAD FLAGS(4); - text PT_LOAD; + text PT_LOAD FLAGS(5); data PT_LOAD; bss PT_LOAD; } @@ -20,10 +19,6 @@ PHDRS ENTRY(Vector) SECTIONS { - .fpgaimage : { - *(fpga_bit.data) - } >fpgaimage :fpgaimage - .start : { *(.startos) } >osimage :text @@ -38,8 +33,10 @@ SECTIONS .rodata : { *(.rodata) - *(.rodata*) - *(.version_information) + *(.rodata.*) + *(fpga_lf_bit.data) + *(fpga_hf_bit.data) + KEEP(*(.version_information)) } >osimage :text . = ALIGN(4); @@ -47,6 +44,7 @@ SECTIONS .data : { *(.data) *(.data.*) + *(.ramfunc) . = ALIGN(4); } >ram AT>osimage :data @@ -60,7 +58,7 @@ SECTIONS *(.bss.*) . = ALIGN(4); __bss_end__ = .; - } >ram :bss + } >ram AT>ram :bss .commonarea (NOLOAD) : { *(.commonarea)