[Top][All Lists]
[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: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] gcc: putting a variable in a certain section |
Date: |
Thu, 24 Apr 2003 15:31:15 -0600 |
On 24 Apr 2003 at 20:05, Torsten Mohr wrote:
> Hi,
>
> i'd like to put some variables in an own section, i tried:
>
> int __attribute((mysection)) abc = 0x1234;
>
> and also:
>
> const int __attribute((mysection)) abc = 0x1234;
>
>
> But sadly, avr-gcc ignores it:
>
> main.c:1: warning: `mysection' attribute directive ignored
>
It's:
__attribute__ ((section ("mysection")))
Eric
- [avr-gcc-list] gcc: putting a variable in a certain section, Torsten Mohr, 2003/04/24
- Re: [avr-gcc-list] gcc: putting a variable in a certain section,
E. Weddington <=
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, Torsten Mohr, 2003/04/24
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, Joerg Wunsch, 2003/04/25
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, Torsten Mohr, 2003/04/25
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, Tyler Hall, 2003/04/28
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, Torsten Mohr, 2003/04/28
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, Tyler Hall, 2003/04/28
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, Torsten Mohr, 2003/04/29