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: Tyler Hall
Subject: Re: [avr-gcc-list] gcc: putting a variable in a certain section
Date: Mon, 28 Apr 2003 21:34:16 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.2) Gecko/20021216

What happened to "ramsection"?
:-)

Tyler

Torsten Mohr wrote:

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.


_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list






reply via email to

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