|
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/
[Prev in Thread] | Current Thread | [Next in Thread] |