public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* inline assembly functions - generated code
@ 2008-02-05 11:24 Mike Welsen
  2008-02-05 11:57 ` Robert Kiesling
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Welsen @ 2008-02-05 11:24 UTC (permalink / raw)
  To: gcc-help


Hi,

I am looking for compiler option that would allow me to see the start/end of an inlined assembly function in the generated *.s (assembler source file) where this functions is called.


Thanks

_________________________________________________________________
Free games, great prizes - get gaming at Gamesbox. 
http://www.searchgamesbox.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: inline assembly functions - generated code
  2008-02-05 11:24 inline assembly functions - generated code Mike Welsen
@ 2008-02-05 11:57 ` Robert Kiesling
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Kiesling @ 2008-02-05 11:57 UTC (permalink / raw)
  To: gcc-help

[ Charset ISO-8859-1 unsupported, converting... ]
> 
> Hi,
> 
> I am looking for compiler option that would allow me to see the start/end of an inlined assembly function in the generated *.s (assembler source file) where this functions is called.

The __asm__ (or asm) attribute, as in 

extern int myfunc () __asm__ ("myfunc");

defines the name of the assembly code label.

-- 
Ctalk Home Page: http://www.ctalklang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-05 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-05 11:24 inline assembly functions - generated code Mike Welsen
2008-02-05 11:57 ` Robert Kiesling

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).