Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move C++ vtables into IRAM, out of HEAP #4179

Merged
merged 1 commit into from
Jan 17, 2018

Commits on Jan 17, 2018

  1. Move C++ vtables into IRAM, out of HEAP

    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.
    earlephilhower committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    e7d98a4 View commit details
    Browse the repository at this point in the history