[Top][All Lists]

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

Re: [avr-gcc-list] Accessing the created program code

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Accessing the created program code
Date: Fri, 31 Mar 2006 22:35:22 +0200 (MET DST)

Uwe Fechner <address@hidden> wrote:

> Any chance, to find out at compile time, which adress the last byte
> of the program code will have, when the program is compiled?

Have a look at the output of avr-nm -n <your ELF file>.  It's not
clear to me whether you're interested in _etext (== __data_load_start)
or in __data_load_end.  The area between __data_load_start and
__data_load_end contains the initializers for .data.

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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]