• Soby Mathew's avatar
    Rework use of labels in assembly macros. · aecc0840
    Soby Mathew authored
    This patch provides a workaround for the ASM_ASSERT label issue
    and also reworks the use of labels in assembly macros.
    If the caller of the ASM_ASSERT macro happened to use the
    label '1' to jump past the ASM_ASSERT macro, it would not have
    worked since the ASM_ASSERT macro internally used the same label.
    Hence, as a workaround, this patch makes the label a high
    number in the expectation that the caller will never use it.
    
    Also updated the other assembly macros using numerical labels to
    named lables.
    
    Change-Id: Iec892359db84f2391ad2a83a92141c4d7049776a
    aecc0840
assert_macros.S 2.06 KB