Skip to content

Commit

Permalink
Merge pull request #36 from foogod/ld_patch
Browse files Browse the repository at this point in the history
Fix linker script handling of irom/irom0 segments
  • Loading branch information
projectgus committed Aug 28, 2015
2 parents bcc22bd + c30f48c commit 2fe1b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ld/eagle.app.v6.ld
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2fe1b7a

Please sign in to comment.