Sorry, I missed your message...
to define no-load segment you have to write:

        .section .sectionname, "ax", @nobits

int assembler or wrap it with __attribute__() in C.
then pass the section start address to the linker.

~d


On Friday 06 August 2004 14:10, Bjoern Lichtblau wrote:
> > I think I wasn't clear. What I've done is exactly to create a custom
> > linker script based on the original F149 script. It's working, allocates
> > correctly and I can read and program without any problems. What I
> > couldn't achieve is to have this section not loaded with the program,
> > like it works with the infomemnobits section. I really don't need it to
> > initialize the whole memory to zeros everytime I reload the program for
> > debug.
>
> I had the same problem shortly ago.. in other words:
> What makes the difference between infomem and infomemnobits??
> There isn't a difference in the linker script, so is the
> not-loading behaviour defined somewhere else or built-in into the linker?!
>
> Thanks
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to