This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Why doesn't objdump display assembly code mixed with source code?
- From: Brian Dessent <brian at dessent dot net>
- To: PRC <panruochen at gmail dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Mon, 10 Mar 2008 23:24:44 -0700
- Subject: Re: Why doesn't objdump display assembly code mixed with source code?
- References: <200803111216420813731@gmail.com>
- Reply-to: binutils <binutils at sourceware dot org>
PRC wrote:
> But why doesn't objdump display assembly code mixed with souce code for "a.out", as it does to "a.o"?
How could it? Your link script discards the debug sections, which are
necessary to get source line information.
Brian