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 <todd.branchflo...@gmail.com>wrote:
> Hi,
>
> I'm trying to initialize some RAM in an assembly program.
> I'm using:
>
> .data
> .word 0xabab
> .word 0xcdcd
>
> 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 Branchflower
>
>
>
> --
> View this message in context:
> http://msp430-gcc-users.1086195.n5.nabble.com/Linker-Script-merges-all-sections-into-text-segment-tp6809.html
> Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users