Rework use of labels in assembly macros.
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
1 parent a4a8eae commit aecc0840805672279e4165f4d368a59b5c20771e
@Soby Mathew Soby Mathew authored on 19 Aug 2014
Showing 3 changed files
View
common/aarch64/debug.S
View
include/common/assert_macros.S
View
plat/fvp/include/plat_macros.S