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:

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.

Parents Reply Children
No data