sigreturn.S 930 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Copyright (C) 2015 Imagination Technologies
  3. * Author: Alex Smith <alex.smith@imgtec.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of the GNU General Public License as published by the
  7. * Free Software Foundation; either version 2 of the License, or (at your
  8. * option) any later version.
  9. */
  10. #include "vdso.h"
  11. #include <uapi/asm/unistd.h>
  12. #include <asm/regdef.h>
  13. #include <asm/asm.h>
  14. .section .text
  15. .cfi_sections .debug_frame
  16. LEAF(__vdso_rt_sigreturn)
  17. .cfi_startproc
  18. .frame sp, 0, ra
  19. .mask 0x00000000, 0
  20. .fmask 0x00000000, 0
  21. .cfi_signal_frame
  22. li v0, __NR_rt_sigreturn
  23. syscall
  24. .cfi_endproc
  25. END(__vdso_rt_sigreturn)
  26. #if _MIPS_SIM == _MIPS_SIM_ABI32
  27. LEAF(__vdso_sigreturn)
  28. .cfi_startproc
  29. .frame sp, 0, ra
  30. .mask 0x00000000, 0
  31. .fmask 0x00000000, 0
  32. .cfi_signal_frame
  33. li v0, __NR_sigreturn
  34. syscall
  35. .cfi_endproc
  36. END(__vdso_sigreturn)
  37. #endif