diff options
| author | Dave Martin <Dave.Martin@arm.com> | 2017-10-24 18:40:36 +0100 |
|---|---|---|
| committer | Will Deacon <will.deacon@arm.com> | 2017-10-25 15:57:15 +0100 |
| commit | fa3eb71d96f52833a5e12def2a22b2347dd349d0 (patch) | |
| tree | 8d94ec0de4c1bc93b6f9c7f458bcb97377c11087 /scripts | |
| parent | arm64: Fix single stepping in kernel traps (diff) | |
| download | linux-fa3eb71d96f52833a5e12def2a22b2347dd349d0.tar.gz linux-fa3eb71d96f52833a5e12def2a22b2347dd349d0.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
