|
|||||||||||
|
Technical Support Support Resources
Product Information |
L166: Error 101 (Section Combination Error)Information in this article applies to:
SYMPTOMSL166 returns Error L101 when linking a project. CAUSEThis error typically only occurs with assembly modules. In general, you can define a section with a specific name and a specific class in one assembly module. Then you can define the same section with the same name and class in other (assembly-) modules. The linker will combine all sections with the same name to one section. The problem here is, that all sections which have the same name and class information must also have the same attributes (WORD, BYTE, BITADDRESSABLE.....). If this is not the case, the linker prints error 101 with the module name and section name. The C compiler usually generates sections with section name derived from the module name. Therefore you won't see this problems with C modules. The only exceptions are the CLEARMEMSEC and INITMEMSEC which contain initialization information for variables. They are combined from every module so that the startup code can take all information from only two tables. RESOLUTIONBe sure that all of your sections have the same attributes no matter which file they are declared in. MORE INFORMATION
Last Reviewed: Tuesday, February 23, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.