From c30f48c3b1c83ce5d4d00c8e1af13f5c27880d25 Mon Sep 17 00:00:00 2001 From: Alex Stewart Date: Thu, 27 Aug 2015 13:54:30 -0700 Subject: [PATCH] Fix linker script handling of irom/irom0 segments --- ld/eagle.app.v6.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/eagle.app.v6.ld b/ld/eagle.app.v6.ld index ae5c23b..abf7c2c 100644 --- a/ld/eagle.app.v6.ld +++ b/ld/eagle.app.v6.ld @@ -267,8 +267,8 @@ SECTIONS (except for libgcc which is matched above.) */ *(.literal .text .literal.* .text.*) - /* SDK libraries expect ICACHE_FLASH_ATTR/etc functions to be loaded explicitly as IROM */ - *sdklib*:*(.irom.* .irom.*.* .irom0.*) + /* Anything explicitly marked as "irom" or "irom0" should go here */ + *(.irom.* .irom.*.* .irom0.*) _irom0_text_end = ABSOLUTE(.); } >irom0_0_seg :irom0_0_phdr