From 9383ced7fb57ebabb2ca509ca64a4ca49bca5875 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 5 Oct 2017 13:05:22 +0200 Subject: Add source-in-firmware trick --- olsndot/firmware/stm32_flash.ld | 3 +++ 1 file changed, 3 insertions(+) (limited to 'olsndot/firmware/stm32_flash.ld') diff --git a/olsndot/firmware/stm32_flash.ld b/olsndot/firmware/stm32_flash.ld index 927e8b4..4a7f88a 100644 --- a/olsndot/firmware/stm32_flash.ld +++ b/olsndot/firmware/stm32_flash.ld @@ -28,9 +28,12 @@ SECTIONS { *(.glue_7) /* TBD - needed ? */ *(.glue_7t) /* TBD - needed ? */ + *(.source_tarball) + /* Necessary KEEP sections (see http://sourceware.org/ml/newlib/2005/msg00255.html) */ KEEP (*(.init)) KEEP (*(.fini)) + KEEP (*(.source_tarball)) . = ALIGN(4); _etext = .; -- cgit