We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am trying to place some data in debug sections of the elf file, similar to what the following would do in a linker script for GNU ld:
SECTIONS { .postform_config 0 (INFO): { KEEP(*(.postform_config)) } .postform_version 0 (INFO): { KEEP(*(.postform_version)) } }
Is there a way to do such a thing in a scatter file with armlink (with armcompiler v6.14)? From the documentation I can't see any attributes such as the INFO attribute GNU ld has.
Hi Javier
I have not been able to find much documentation on what the INFO attribute does, but seems to create a section that is not allocated to memory. I don't believe there is an equivalent with armlink. The available attributes are listed below.
https://developer.arm.com/documentation/101754/0616/armlink-Reference/Scatter-File-Syntax/Load-region-descriptions/Load-region-attributes