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: Joerg Wunsch
Subject: Re: [avr-gcc-list] gcc: putting a variable in a certain section
Date: Fri, 25 Apr 2003 10:29:03 +0200 (MET DST)

>But i still wonder:
>
>int __attribute__((section("ramsection"))) ramvalue = 0xdead;
>                                                      ^^^^^^
>
>"ramvalue" is located in RAM, but where is the "0xdead"?

Where you requested it to be: in section "mysection" of your ELF
file.  It's your responsibility to extract it from there.
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

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