Skip to content

Strip ROM symbols#282

Open
davydnorris wants to merge 2 commits into
pfalcon:masterfrom
davydnorris:strip-rom-symbols
Open

Strip ROM symbols#282
davydnorris wants to merge 2 commits into
pfalcon:masterfrom
davydnorris:strip-rom-symbols

Conversation

@davydnorris

Copy link
Copy Markdown

Quite a few library functions in libgcc.a and libc.a exist in the chip ROM. Previously the duplicate functions in the esp-open-sdk built libgcc were masked by Espressif supplying their own stripped libgcc.a in the SDK, however the functions in the built libc would always have ended up being used over the ROM versions. This would lead to larger and potentially slower code and possibly even memory allocation differences. Since quite a few core string manipulation functions are some of the ones in ROM, this could be significant.

Espressif has recently added an ar script (based on my libgcc script, but with corrected set of object files) into the SDK. This change adds them to the Makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant