This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch to allow targets to prevent inlining
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Patch to allow targets to prevent inlining
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 15 Feb 2000 10:36:57 -0700
- cc: nickc at cygnus dot com, dje at transmeta dot com, binutils at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <20000215092338Y.mitchell@codesourcery.com>you write:
> >>>>> "Nick" == Nick Clifton <nickc@cygnus.com> writes:
>
> Nick> OK, you win. But since adding a naked attribute the to
> Nick> generic part of gcc would increase the overall complexity of
> Nick> the compiler, I doubt it I would be able to persuade the
> Nick> steering committee to accept it unless several more ports
> Nick> wanted the feature. Hmm, mnaybe we could start a campaign
> Nick> :-)
>
> I'm not on the steering committee. But, I think this would be a
> useful feature in general -- if I understand `naked' correctly to mean
> a function without a prologue or epilogue. For example, thunks in C++
> could then be represented as ordinary functions, not with assembly
> code.
There was a discussion of naked functions a while back and rth made a
strong case that we should not support them. Check the archives.
jeff