(This probably better belongs into [EMAIL PROTECTED])

As Yann GOUY wrote:

> I have tried to add other attributes like 'common/nocommon' and
> unused but it failed.  the only way to have the variable allocated
> is to suppress the static keyword.

The question is why do you want to put them into specific sections in
the first place?  I remember inventing RAM sections `on the fly'
(i.e. without also modifying the linker script) never really worked,
as somehow, the linker defaulted any unknown section to ROM.

So the key would be to use a modified linker script.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to