Re: [Mspgcc-users] Linker Script merges all sections into text segment

2013-07-10 Thread Peter Bigot
You shouldn't need to create a custom linker script. Best way to figure this out is write a C program that does what you want, generate the assembly source with -S, and copy that. Peter On Wed, Jul 10, 2013 at 7:07 PM, toddbranch wrote: > Hi, > > I'm trying to initialize some RAM in an assembl

[Mspgcc-users] Linker Script merges all sections into text segment

2013-07-10 Thread toddbranch
Hi, I'm trying to initialize some RAM in an assembly program. I'm using: .data .word0xabab .word0xcdcd The linker always puts it at the end of the last loadable segment. Do I need to use a custom linker script? Or am I missing something? Thanks so much for your help. Todd Bra