This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
linker --relax option with debug info
- From: "M R Swami Reddy" <MR dot Swami dot Reddy at nsc dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>, "Nick Clifton" <nickc at redhat dot com>
- Date: Tue, 08 Dec 2009 09:54:42 +0530
- Subject: linker --relax option with debug info
Hi,
I am using a target (ie cr16-elf) with relax option supported by
linker. But when
I wanted to debug an application with -g option, I could see some
mis-match in debug
information, due to --relax option. With "--no-relax -g" generate the
correct debug information.
Could you please suggest, if the --relax option need to disable with -g
option?
Thanks
Swami