delorie.com/archives/browse.cgi | search |
From: | NoEmailAds AT execpc DOT com (Chris Giese) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Prolog |
Date: | Thu, 01 Aug 2002 02:46:32 GMT |
Organization: | PROPULSION GROUP |
References: | <zdZ19.3130$6j5 DOT 101432 AT newsfep2-win DOT server DOT ntli DOT net> |
X-Newsreader: | Forte Free Agent 1.21/32.243 |
Lines: | 21 |
Message-ID: | <3d48a1d8$0$1421$272ea4a1@news.execpc.com> |
NNTP-Posting-Host: | f2ac2dd5.news.execpc.com |
X-Trace: | DXC=Ie6[EVhNDj9;HRXg;@84W2bhiU1EQ[HI=0ICGTaT\Bl==EV;d7?Dn`=e3C>TkR[`^1=CX3hleRV`>X8oAUYl5;25 |
X-Complaints-To: | abuse AT execpc DOT com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Lawrence Rust" <lvr AT nospam DOT softsystem DOT co DOT uk> wrote: >Is it possible to suppress the prolog and epilog code emitted by gcc in an >extern function just consisting of asm statements? E.g in: > >extern void foo( void) >{ > __asm__ __volatile ( "..."); >} > >Even in an optimised (-O3) build the compiler emits: > > pushl %ebp > movl %esp,%ebp > ... > movl %ebp,%esp > popl %ebp > ret Maybe "gcc -fomit-frame-pointer ..." ?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |