-
Notifications
You must be signed in to change notification settings - Fork 0
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
os/Makefile.unix, external, apps: include entire archives in common binary #10
base: master
Are you sure you want to change the base?
Conversation
…inary common binary was earlier compiled by only including the undefined symbols from the app binaries. However, because of this, it is tightly coupled with apps. So, irrespective of undefined app symbols, include all the symbols from USERLIBS in common binary
binary size and heap usage with only undefined symbols from apps :
binary size and heap usage with all the symbols :
|
@@ -56,6 +56,8 @@ ifeq ($(CONFIG_HAVE_CXXINITIALIZE),y) | |||
CSRCS += gnu_cxxinitialize.c | |||
endif | |||
|
|||
CSRCS += gnu_unwind_find_exidx.c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can it be also included only for CXX?
CONFIG_FLASH_PART_SIZE="60,40,12,400,1844,4808,384,1844,4808,384,512,1280,8," | ||
CONFIG_FLASH_PART_TYPE="none,none,none,none,kernel,bin,bin,kernel,bin,bin,smartfs,ftl,bootparam," | ||
CONFIG_FLASH_PART_NAME="bl1,reserved,ftl,ss,kernel,app1,app2,kernel,app1,app2,userfs,reserved,bootparam," | ||
CONFIG_FLASH_PART_SIZE="60,40,12,400,1844,2808,384,2000,1844,2808,384,2000,512,1280,8," |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need changes in the partition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
including entire archives in common binary, good to merge.
common binary was earlier compiled by only including the undefined symbols from the app binaries. However, because of this, it is tightly coupled with apps. So, irrespective of undefined app symbols, include all the symbols from USERLIBS in common binary