aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-10-10 12:07:02 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2017-10-10 12:07:02 +0900
commitdd54b5ff202e3b1bc863e32fb3eba7633a7aeb01 (patch)
treee6ef203b88d0e2a0ea21271341e833e07a9c9192
parentc08044e22bc5477b27820d1f526b49bdcf9ba436 (diff)
Fix example-cdc.
-rw-r--r--ChangeLog4
-rw-r--r--example-cdc/sample.ld4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 43f40e1..abe28b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-09 NIIBE Yutaka <gniibe@fsij.org>
+
+ * example-cdc/sample.ld (.process_stack, .main_stack): Add NOLOAD.
+
2017-09-29 NIIBE Yutaka <gniibe@fsij.org>
* mcu/sys-stm32f103.c (flash_program_halfword, flash_erase_page)
diff --git a/example-cdc/sample.ld b/example-cdc/sample.ld
index 09f59c2..e37ba91 100644
--- a/example-cdc/sample.ld
+++ b/example-cdc/sample.ld
@@ -73,7 +73,7 @@ SECTIONS
_etext = .;
_textdata = _etext;
- .process_stack :
+ .process_stack (NOLOAD) :
{
. = ALIGN(8);
*(.process_stack.3)
@@ -83,7 +83,7 @@ SECTIONS
. = ALIGN(8);
} > ram
- .main_stack :
+ .main_stack (NOLOAD) :
{
. = ALIGN(8);
*(.main_stack)