aboutsummaryrefslogtreecommitdiff
path: root/example-led/sample.ld
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2015-07-13 16:45:32 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2015-07-13 16:45:32 +0900
commit3ba8234cecde90467fb75d72055fa0c226ed16df (patch)
treef6c184a72d8759a59b3b4db109fe1bfaab6d8032 /example-led/sample.ld
parent2bb0e0de5d7d25d0bb036e6ee9cc0c94b62375ec (diff)
sys_board and stm32 primer2
Diffstat (limited to 'example-led/sample.ld')
-rw-r--r--example-led/sample.ld5
1 files changed, 3 insertions, 2 deletions
diff --git a/example-led/sample.ld b/example-led/sample.ld
index 07761e0..6934b9f 100644
--- a/example-led/sample.ld
+++ b/example-led/sample.ld
@@ -29,12 +29,13 @@ SECTIONS
{
. = 0;
- .sys : ALIGN(16) SUBALIGN(16)
+ .sys : ALIGN(16) SUBALIGN(8)
{
_sys = .;
KEEP(*(.vectors))
. = ALIGN(16);
- *(.sys.version)
+ KEEP(*(.sys.version))
+ KEEP(*(.sys.board))
build/sys.o(.text)
build/sys.o(.text.*)
build/sys.o(.rodata)