[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Object Memory Layout
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Object Memory Layout |
Date: |
Wed, 12 May 2010 06:19:33 +0200 (MET DST) |
Joshua Perry <address@hidden> wrote:
> Is there a diagnostic or tool in GCC/G++ to see how it decided to
> layout an object in memory, with alignment, padding, vtable, etc...?
AVR-GCC doesn't apply any padding, as the CPU is an 8-bit CPU.
You could start with avr-nm to see the address (and thus, implicitly,
the size) of each object.
Do you have string literals in your code?
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)