Messages in this thread | | | Date | Thu, 18 Dec 2008 15:53:29 +0000 | From | Russell King <> | Subject | Re: PROC macro to annotate functions in assembly files |
| |
On Thu, Dec 18, 2008 at 01:35:02PM +0100, Alexander van Heukelum wrote: > Note that enforcing the pairing will be enabled by ARCH code. Is the > construct you show here (two symbols covering identical code) the only > problem you forsee? I don't want to introduce too many macro's to > handle special cases, but this one should be solved.
Well, there are some cases where we don't have ENTRY but do have ENDPROC:
__pabt_usr: usr_entry ... ENTRY(ret_from_exception) ... ENDPROC(__pabt_usr) ENDPROC(ret_from_exception)
.macro vector_stub, name, mode, correction=0 .align 5
vector_\name: ... ENDPROC(vector_\name) .endm
Not sure if we have any other oddities. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of:
| |