vsyscall-sigreturn.S 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #include <asm/unistd.h>
  2. .text
  3. .balign 32
  4. .globl __kernel_sigreturn
  5. .type __kernel_sigreturn,@function
  6. __kernel_sigreturn:
  7. .LSTART_sigreturn:
  8. mov.w 1f, r3
  9. trapa #0x10
  10. or r0, r0
  11. or r0, r0
  12. or r0, r0
  13. or r0, r0
  14. or r0, r0
  15. 1: .short __NR_sigreturn
  16. .LEND_sigreturn:
  17. .size __kernel_sigreturn,.-.LSTART_sigreturn
  18. .balign 32
  19. .globl __kernel_rt_sigreturn
  20. .type __kernel_rt_sigreturn,@function
  21. __kernel_rt_sigreturn:
  22. .LSTART_rt_sigreturn:
  23. mov.w 1f, r3
  24. trapa #0x10
  25. or r0, r0
  26. or r0, r0
  27. or r0, r0
  28. or r0, r0
  29. or r0, r0
  30. 1: .short __NR_rt_sigreturn
  31. .LEND_rt_sigreturn:
  32. .size __kernel_rt_sigreturn,.-.LSTART_rt_sigreturn
  33. .previous
  34. .section .eh_frame,"a",@progbits
  35. .LCIE1:
  36. .ualong .LCIE1_end - .LCIE1_start
  37. .LCIE1_start:
  38. .ualong 0 /* CIE ID */
  39. .byte 0x1 /* Version number */
  40. .string "zRS" /* NUL-terminated augmentation string */
  41. .uleb128 0x1 /* Code alignment factor */
  42. .sleb128 -4 /* Data alignment factor */
  43. .byte 0x11 /* Return address register column */
  44. .uleb128 0x1 /* Augmentation length and data */
  45. .byte 0x1b /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */
  46. .byte 0xc, 0xf, 0x0 /* DW_CFA_def_cfa: r15 ofs 0 */
  47. .align 2
  48. .LCIE1_end:
  49. .ualong .LFDE0_end-.LFDE0_start /* Length FDE0 */
  50. .LFDE0_start:
  51. .ualong .LFDE0_start-.LCIE1 /* CIE pointer */
  52. .ualong .LSTART_sigreturn-. /* PC-relative start address */
  53. .ualong .LEND_sigreturn-.LSTART_sigreturn
  54. .uleb128 0 /* Augmentation */
  55. .align 2
  56. .LFDE0_end:
  57. .ualong .LFDE1_end-.LFDE1_start /* Length FDE1 */
  58. .LFDE1_start:
  59. .ualong .LFDE1_start-.LCIE1 /* CIE pointer */
  60. .ualong .LSTART_rt_sigreturn-. /* PC-relative start address */
  61. .ualong .LEND_rt_sigreturn-.LSTART_rt_sigreturn
  62. .uleb128 0 /* Augmentation */
  63. .align 2
  64. .LFDE1_end:
  65. .previous