I've used avr-objdump as a part of the WinAVR tool chain for a number of projects now and one of my favourite techniques for tricky pieces of code is to have a quick look at the .lss file to see what code the compiler has planted for my questionable 'C'.
But now I'm working on a bootloader project and when I put an absolute base address into the linker to move the text section to the appropriate place ...
LDFLAGS += -Ttext=0x1E000
... the interleaved source lines disappear from the .lss file which makes it a real pain to identify what code is generated by what statement!
The objdump line that the makefile is generating is ...
avr-objdump -h -D -S bootldr.elf > bootldr.lss
I've tried with and without the -D -S options and now I'm stuck.
What I'm trying to do seems reasonable ... so I suspect that I'm missing something.
Has anyone else had this problem?