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

Strip ROM symbols #282

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davydnorris
Copy link

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.

None yet

1 participant