Skip to content

Commit dae64c4

Browse files
Move umm_malloc back to IRAM (esp8266#6161)
As found by @mhightower83, umm_malloc was placed in flash during the .c->.cpp conversion because of a missed linker change. Adjust the link script to the new name .cpp
1 parent f37b492 commit dae64c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ SECTIONS
135135
{
136136
_irom0_text_start = ABSOLUTE(.);
137137
*(.ver_number)
138-
*.c.o( EXCLUDE_FILE (umm_malloc.c.o) .literal*, EXCLUDE_FILE (umm_malloc.c.o) .text* )
139-
*.cpp.o(.literal*, .text*)
138+
*.c.o(.literal*, .text*)
139+
*.cpp.o(EXCLUDE_FILE (umm_malloc.cpp.o) .literal*, EXCLUDE_FILE (umm_malloc.cpp.o) .text*)
140140
*.cc.o(.literal*, .text*)
141141
#ifdef VTABLES_IN_FLASH
142142
*(.rodata._ZTV*) /* C++ vtables */

0 commit comments

Comments
 (0)