[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] noinitdata section ?

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] noinitdata section ?
Date: Fri, 30 Aug 2002 18:13:04 +0200
User-agent: Mutt/1.2.5i

As Theodore A. Roth wrote:

> Is it possible to tell the linker where to put the .noinit section
> (i.e. at an address in a device that is memory mapped into the
> external sram space)?

avr-gcc ... -Wl,--section-start=.noinit=0x802000 ...

The only crock is that the 0x800000 offset used for normal .data
variables needs to be added manually.  (The linker complains about
your .noinit getting outside of the data region otherwise.)

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]