1597 views|4 replies
chenbingjy
Currently offline
|
The OP
Published on 2019-8-1 19:47
Only look at the author
This post is from stm32/stm8
Latest reply
First option:
One ELF Section per Function
Generate one ELF section for each function in source file. Output sections are named with the same name as the function that generates the section. Allows you to optimize code or to locate each function on individual memory addresses. Sets the compiler command-line option --split_sections.
From the literal meaning, the compiler will generate a separate code block for each function. If it is not checked, the source file is used as the code block. If it is checked, the function is used as the code block. This can remove some unused functions when generating the burning program to achieve the optimization effect, but there is also a disadvantage that the constants of each code block are also independent, which will also take up more space. The specific host can try to check and uncheck the difference between the generated intermediate files. Generally, it is unchecked.
Details
Published on 2019-8-2 09:04
| |
Personal signature为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
|
||
2
Published on 2019-8-1 21:58
Only look at the author
| |
|
|
|
qwqwqw2088
Online
|
3
Published on 2019-8-1 22:03
Only look at the author
This post is from stm32/stm8
| |
|
||
|
4
Published on 2019-8-2 09:04
Only look at the author
This post is from stm32/stm8
Comments
Thanks
Details
Published on 2019-8-2 09:33
| ||
|
||
|
chenbingjy
Currently offline
|
This post is from stm32/stm8
| |
Personal signature为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190