commit | fa3eb71d96f52833a5e12def2a22b2347dd349d0 | [log] [tgz] |
---|---|---|
author | Dave Martin <Dave.Martin@arm.com> | Tue Oct 24 18:40:36 2017 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Wed Oct 25 15:57:15 2017 +0100 |
tree | 8d94ec0de4c1bc93b6f9c7f458bcb97377c11087 | |
parent | 6436beeee5721a8e906e9eabf866f12d04470437 [diff] |
arm64: asm-bug: Renumber macro local labels to avoid clashes Currently ASM_BUG() and its constituent macros define local assembler labels 0, 1 and 2 internally, which carries a high risk of clash with callers' labels and consequent mis-assembly. This patch gives the labels a big random offset to minimise the chance of such errors. Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>