You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by da...@apache.org on 2021/04/14 21:57:45 UTC

[incubator-nuttx] 09/11: Copy .ARM.exidx together with .text to make linker happy

This is an automated email from the ASF dual-hosted git repository.

davids5 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c12ccfc80b4ab64489f8fa523e127ca77bf47df4
Author: jturnsek <je...@gmail.com>
AuthorDate: Tue Apr 13 08:18:32 2021 +0200

    Copy .ARM.exidx together with .text to make linker happy
---
 boards/arm/imxrt/imxrt1064-evk/scripts/flash-ocram.ld | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/arm/imxrt/imxrt1064-evk/scripts/flash-ocram.ld b/boards/arm/imxrt/imxrt1064-evk/scripts/flash-ocram.ld
index 3685e8b..eb31e64 100644
--- a/boards/arm/imxrt/imxrt1064-evk/scripts/flash-ocram.ld
+++ b/boards/arm/imxrt/imxrt1064-evk/scripts/flash-ocram.ld
@@ -129,14 +129,14 @@ SECTIONS
     .ARM.extab :
     {
         *(.ARM.extab*)
-    } > flash
+    } > sram AT > flash
 
     .ARM.exidx :
     {
         __exidx_start = ABSOLUTE(.);
         *(.ARM.exidx*)
         __exidx_end = ABSOLUTE(.);
-    } > flash
+    } > sram AT > flash
 
     _eronly = ABSOLUTE(.);