mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-10 23:42:40 -07:00
Add a common linker script with the memory map for the complete project
Use the correct physical addresses in the memory map, and instead translate the addresses during postprocessing with objcopy
This commit is contained in:
parent
fb6e5aa863
commit
2bfed17db2
5 changed files with 50 additions and 28 deletions
|
@ -1,11 +1,13 @@
|
|||
INCLUDE ../common/ldscript.common
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x00002000;
|
||||
.text : { obj/fpgaimg.o(.text) *(.text) }
|
||||
.rodata : { *(.rodata) }
|
||||
. = 0x00200000;
|
||||
.data : { *(.data) }
|
||||
fpgaimage : {
|
||||
obj/fpgaimg.o(.text) *(.text)
|
||||
*(.rodata)
|
||||
} >fpgaimage
|
||||
.data : { *(.data) } >ram
|
||||
__bss_start__ = .;
|
||||
.bss : { *(.bss) }
|
||||
.bss : { *(.bss) } >ram
|
||||
__bss_end__ = .;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue