Imre Kis | 2d137c5 | 2019-07-09 18:30:58 +0200 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2019, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | .globl ${function_name} | ||||
7 | ${function_name}: | ||||
8 | ldr x17, =jmptbl | ||||
9 | mov x16, #${function_offset} | ||||
10 | ldr x17, [x17] | ||||
11 | add x16, x16, x17 | ||||
12 | br x16 |