Skip to content

Commit 55e5bdf

Browse files
committed
Move 64-bit integer division and modulo functions into flash
Saves another 1819 bytes of IRAM (may help with #1582)
1 parent 64ade03 commit 55e5bdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/sdk/ld/eagle.app.v6.common.ld

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ SECTIONS
154154
EXCLUDE_FILE (umm_malloc.c.o) .text*)
155155
*.cpp.o(.literal*, .text*)
156156
*libm.a:(.literal .text .literal.* .text.*)
157+
*libgcc.a:_umoddi3.o(.literal .text)
158+
*libgcc.a:_udivdi3.o(.literal .text)
157159
*libsmartconfig.a:(.literal .text .literal.* .text.*)
158160
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text .irom.text.*)
159161
_irom0_text_end = ABSOLUTE(.);

0 commit comments

Comments
 (0)