lkml.org 
[lkml]   [2009]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 0/6] x86 tip asm ENTRY,ENDPROC cleanup
Alexander van Heukelum wrote:
>
> Hi Cyrill,
>
> I like this direction. If I understand correctly:
>
> ENTRY/END or GLOBAL/END for data.
> ENTRY/ENDPROC or GLOBAL/ENDPROC for functions.
>

Fine for functions, but it's really not okay to use the same macros for
data. Furthermore, we need to consider special entry points that don't
behave like normal functions -- like system call or interrupt entry.

Why? Because if we're compiling with frame pointers, we would like the
wrapper macros for functions to handle setting up and tearing down the
frame pointer, at least in the common case.

-hpa


\
 
 \ /
  Last update: 2009-02-14 01:37    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site