[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] gcc: putting a variable in a certain section
From: |
Torsten Mohr |
Subject: |
[avr-gcc-list] gcc: putting a variable in a certain section |
Date: |
Thu, 24 Apr 2003 20:05:36 +0200 |
User-agent: |
KMail/1.4.3 |
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
How can i put a variable into an own section? It seems
this works different, compared to other gcc-cross compilers?
If i'd like to have a non-const variable, in which
section is its initialisation value put (the 0x1234)?
Best regards,
Torsten.
- [avr-gcc-list] gcc: putting a variable in a certain section,
Torsten Mohr <=
- Re: [avr-gcc-list] gcc: putting a variable in a certain section, E. Weddington, 2003/04/24
- 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