* [ECOS]mixed-assembly-dump
@ 2004-07-23 17:19 jasmine kohli
2004-07-23 21:54 ` [ECOS]mixed-assembly-dump Nick Garnett
2004-07-23 23:11 ` [ECOS]mixed-assembly-dump Grant Edwards
0 siblings, 2 replies; 3+ messages in thread
From: jasmine kohli @ 2004-07-23 17:19 UTC (permalink / raw)
To: ecos-discuss
hi frds,
i want to generate a list file for my PPC target that
not only generates assembly but also the corresponding
C line of code.
does anyone know how to do it.
thank u all for looking at the problem
regards,
jas
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS]mixed-assembly-dump
2004-07-23 17:19 [ECOS]mixed-assembly-dump jasmine kohli
@ 2004-07-23 21:54 ` Nick Garnett
2004-07-23 23:11 ` [ECOS]mixed-assembly-dump Grant Edwards
1 sibling, 0 replies; 3+ messages in thread
From: Nick Garnett @ 2004-07-23 21:54 UTC (permalink / raw)
To: jasmine kohli; +Cc: ecos-discuss
jasmine kohli <jasubang@yahoo.com> writes:
> hi frds,
>
> i want to generate a list file for my PPC target that
> not only generates assembly but also the corresponding
> C line of code.
> does anyone know how to do it.
>
There are options to objdump to do this, but with optimized code the
result is not very satisfactory.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS]mixed-assembly-dump
2004-07-23 17:19 [ECOS]mixed-assembly-dump jasmine kohli
2004-07-23 21:54 ` [ECOS]mixed-assembly-dump Nick Garnett
@ 2004-07-23 23:11 ` Grant Edwards
1 sibling, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2004-07-23 23:11 UTC (permalink / raw)
To: jasmine kohli; +Cc: ecos-discuss
On Fri, Jul 23, 2004 at 08:09:22AM -0700, jasmine kohli wrote:
> i want to generate a list file for my PPC target that not only
> generates assembly but also the corresponding C line of code.
> does anyone know how to do it.
Here's what I use:
%.o: %.c
$(GCC) $(CFLAGS) $(INCLUDES) -c $< -o $@ -Wa,-ahld=$(@F).l
To find out exactly what's going on:
$ info as
$ info gcc
--
Grant Edwards
grante@visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-23 17:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-23 17:19 [ECOS]mixed-assembly-dump jasmine kohli
2004-07-23 21:54 ` [ECOS]mixed-assembly-dump Nick Garnett
2004-07-23 23:11 ` [ECOS]mixed-assembly-dump Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).