trampoline.S 407 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2019 Arm Limited
  4. * Original author: Dave Martin <[email protected]>
  5. */
  6. #include "assembler.h"
  7. startfn call_using_br_x0
  8. bti c
  9. br x0
  10. endfn
  11. startfn call_using_br_x16
  12. bti c
  13. mov x16, x0
  14. br x16
  15. endfn
  16. startfn call_using_blr
  17. paciasp
  18. stp x29, x30, [sp, #-16]!
  19. blr x0
  20. ldp x29, x30, [sp], #16
  21. autiasp
  22. ret
  23. endfn
  24. emit_aarch64_feature_1_and