sigreturn.S 748 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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_signal_frame
  18. li v0, __NR_rt_sigreturn
  19. syscall
  20. END(__vdso_rt_sigreturn)
  21. #if _MIPS_SIM == _MIPS_SIM_ABI32
  22. LEAF(__vdso_sigreturn)
  23. .cfi_signal_frame
  24. li v0, __NR_sigreturn
  25. syscall
  26. END(__vdso_sigreturn)
  27. #endif