This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Placing data in debug sections with armlink

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:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
SECTIONS
{
.postform_config 0 (INFO):
{
KEEP(*(.postform_config))
}
.postform_version 0 (INFO):
{
KEEP(*(.postform_version))
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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.

0