avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] gcc: putting a variable in a certain section


From: Torsten Mohr
Subject: Re: [avr-gcc-list] gcc: putting a variable in a certain section
Date: Mon, 28 Apr 2003 21:30:20 +0200
User-agent: KMail/1.4.3

Hi everybody,

first of all, thank you all very much for helping me understand
this issue, i really appreciate this.

I've now changed my SECTIONS part in the linker script like below
(like your script for AVR).  I now get the output i expect.

SECTIONS
{
        .vectors : { *(.vectors)} >vectors
        .text : { *(.text) _etext = . ; } >rom
        .data : AT( ADDR( .text ) + SIZEOF(.text)) { *(.data) } >ram
        .bss : { *(.bss) } >ram
}


Thanks,
Torsten.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]