Patch to allow targets to prevent inlining

Jeffrey A Law law@cygnus.com
Tue Feb 15 09:42:00 GMT 2000


  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



More information about the Binutils mailing list