Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions STM32F407xx_FLASH.ld
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,15 @@ SECTIONS
. = ALIGN(4);
} >FLASH

/* GOT entries are link-time constants in this static image. ld.lld puts the init/fini
arrays and the GOT in one RELRO range, so .got must directly follow .fini_array. */
.got :
{
. = ALIGN(4);
*(.got .got.*)
. = ALIGN(4);
} >FLASH

_siccmram = LOADADDR(.ccmram);

/* CCM-RAM section
Expand Down Expand Up @@ -177,14 +186,6 @@ SECTIONS
. = ALIGN(4);
} >CCMRAM

/* GOT entries are link-time constants in this static image */
.got :
{
. = ALIGN(4);
*(.got .got.*)
. = ALIGN(4);
} >FLASH

/* used by the startup to initialize data */
_sidata = LOADADDR(.data);

Expand Down
Loading