vsyscall-trapa.S 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. .text
  3. .globl __kernel_vsyscall
  4. .type __kernel_vsyscall,@function
  5. __kernel_vsyscall:
  6. .LSTART_vsyscall:
  7. trapa #0x10
  8. nop
  9. .LEND_vsyscall:
  10. .size __kernel_vsyscall,.-.LSTART_vsyscall
  11. .previous
  12. .section .eh_frame,"a",@progbits
  13. .LCIE:
  14. .ualong .LCIE_end - .LCIE_start
  15. .LCIE_start:
  16. .ualong 0 /* CIE ID */
  17. .byte 0x1 /* Version number */
  18. .string "zR" /* NUL-terminated augmentation string */
  19. .uleb128 0x1 /* Code alignment factor */
  20. .sleb128 -4 /* Data alignment factor */
  21. .byte 0x11 /* Return address register column */
  22. .uleb128 0x1 /* Augmentation length and data */
  23. .byte 0x1b /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */
  24. .byte 0xc,0xf,0x0 /* DW_CFA_def_cfa: r15 ofs 0 */
  25. .align 2
  26. .LCIE_end:
  27. .ualong .LFDE_end-.LFDE_start /* Length FDE */
  28. .LFDE_start:
  29. .ualong .LFDE_start-.LCIE /* CIE pointer */
  30. .ualong .LSTART_vsyscall-. /* PC-relative start address */
  31. .ualong .LEND_vsyscall-.LSTART_vsyscall
  32. .uleb128 0 /* Augmentation */
  33. .align 2
  34. .LFDE_end:
  35. .previous
  36. /* Get the common code for the sigreturn entry points */
  37. #include "vsyscall-sigreturn.S"