lkml.org 
[lkml]   [2008]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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:


    \
     
     \ /
      Last update: 2008-12-18 16:57    [W:0.020 / U:1.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site