Skip to content

Commit

Permalink
cortexm0: fix linker scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
janfietz committed Dec 2, 2018
1 parent cd78f6d commit 17106a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions common/ports/ARMCMx/compilers/GCC/rules_code_cortexm0.ld
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SECTIONS
PROVIDE(__startup_start = .);
KEEP(*(.vectors))
PROVIDE(__startup_end = .);
} > VECTORS_FLASH AT > VECTORS_FLASH_LMA
} > VECTORS_RAM AT > VECTORS_FLASH_LMA

.xtors : ALIGN(4)
{
Expand All @@ -39,7 +39,7 @@ SECTIONS
__fini_array_end = .;
} > XTORS_FLASH AT > XTORS_FLASH_LMA

.initcall ALIGN(16)
.initcall : ALIGN(16)
{
__module_initcall_start = .;
KEEP(*(SORT(.initcall.*)))
Expand Down
6 changes: 3 additions & 3 deletions common/ports/ARMCMx/compilers/GCC/rules_cortexm0.ld
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Stack rules inclusion.*/
INCLUDE rules_stacks.ld

/* Code rules inclusion.*/
INCLUDE rules_code_cortexm0.ld

/* Stack rules inclusion.*/
INCLUDE rules_stacks.ld

/* Data rules inclusion.*/
INCLUDE rules_data.ld

0 comments on commit 17106a2

Please sign in to comment.