Skip to content

Commit

Permalink
Move 64-bit integer division and modulo functions into flash
Browse files Browse the repository at this point in the history
Saves another 1819 bytes of IRAM (may help with esp8266#1582)
  • Loading branch information
igrr committed Feb 18, 2016
1 parent 64ade03 commit 55e5bdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/sdk/ld/eagle.app.v6.common.ld
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ SECTIONS
EXCLUDE_FILE (umm_malloc.c.o) .text*)
*.cpp.o(.literal*, .text*)
*libm.a:(.literal .text .literal.* .text.*)
*libgcc.a:_umoddi3.o(.literal .text)
*libgcc.a:_udivdi3.o(.literal .text)
*libsmartconfig.a:(.literal .text .literal.* .text.*)
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text .irom.text.*)
_irom0_text_end = ABSOLUTE(.);
Expand Down

0 comments on commit 55e5bdf

Please sign in to comment.