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

NOLOAD section in scatter file

Hello,

I want to create one custom debug section in my elf similar to .comment section, is it possible by scatter load file?

I used to create NOLOAD type section in ld script, but how to do that in scatter file.

For example: 

Loadable :

13 debug_strings 00000064 00060000 00060000 000084c0 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA

Non-loadable

21 .note 00000048 00000000 00000000 0003c8e0 2**2 CONTENTS, READONLY
22 .comment 00000538 00000000 00000000 0003c928 2**0 CONTENTS, READONLY

these .note and .coment are default sections but I need to create another custom section like this.

With linker script (.ld), it was possible by NOLOAD option but with scatter file, there is no such option, can anyone please point if this is possible or any other alternate way?

Thanks & Regards,

Vivek Rajpara