I'm getting a "section `.foo' will not fit in region `UNPLACED_SECTIONS" error message followed by a "region `UNPLACED_SECTIONS' overflowed by 57 bytes" error message when linking, what does this mean?
This message indicates that you have a .foo section in your program, but it has not been placed by the linker.
Make sure that you specified where you want to the .foo section to be placed in the section placement/memory map file.
Comments
2 comments
I still do not understand. Where is the section placement/memory map file and what is a .foo section.
The ".foo" is "any section". In this case, it's one named ".foo". The section placement and memory map files are fundamental units of how you lay out your application. Try reading the tutorial.
Please sign in to leave a comment.