mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
Move umm_malloc back to IRAM (#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
This commit is contained in:
parent
f37b4921e3
commit
dae64c4dae
@ -135,8 +135,8 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
_irom0_text_start = ABSOLUTE(.);
|
_irom0_text_start = ABSOLUTE(.);
|
||||||
*(.ver_number)
|
*(.ver_number)
|
||||||
*.c.o( EXCLUDE_FILE (umm_malloc.c.o) .literal*, EXCLUDE_FILE (umm_malloc.c.o) .text* )
|
*.c.o(.literal*, .text*)
|
||||||
*.cpp.o(.literal*, .text*)
|
*.cpp.o(EXCLUDE_FILE (umm_malloc.cpp.o) .literal*, EXCLUDE_FILE (umm_malloc.cpp.o) .text*)
|
||||||
*.cc.o(.literal*, .text*)
|
*.cc.o(.literal*, .text*)
|
||||||
#ifdef VTABLES_IN_FLASH
|
#ifdef VTABLES_IN_FLASH
|
||||||
*(.rodata._ZTV*) /* C++ vtables */
|
*(.rodata._ZTV*) /* C++ vtables */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user