This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suggestion for function attributes on x86 architecture


<<.global _MyFunc
_MyFunc:
  sub esp,4
  pusha
  mov [esp],12345678
  add esp,4
  ret
>>

Hmmm, I don't think the above is a very good advertisement. It sure
invites the comment that this allows you to get into trouble easily :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]