mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
GCC places vtables in .rodata, with a mangled name of "_ZTV*." Because these are simply address jump tables, there is no need to place them in RAM. Instead, have the linker place them in the .text (aka IRAM) section. This will free up a variable amount of heap space, depending on the number of classes with virtual functions used in any particular project.