avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] avr-objdump not including source from main() ?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] avr-objdump not including source from main() ?
Date: Thu, 19 Jan 2012 08:01:36 +0100 (MET)

address@hidden (Joerg Wunsch) wrote:

> By the time objdump runs, it doesn't know anymore about any input
> sections, it's only got the main output sections (.text, .data,
> .bss).

Since you're talking about a bootloader: if that bootloader is *not*
living in section .text, it's possible objdump -d wouldn't consider it
for disassembly (the manual is a bit vague, it talks about "sections
expected to contain instructions").  You can specify sections to
disassemble by the -j (or --section) option.

-- 
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]