bsd-setjmp.S 431 B

12345678910111213141516
  1. /*
  2. * Copyright (C) 2004-2007 Atmel Corporation
  3. *
  4. * This file is subject to the terms and conditions of the GNU Lesser General
  5. * Public License. See the file "COPYING.LIB" in the main directory of this
  6. * archive for more details.
  7. */
  8. /* This just does a tail-call to __sigsetjmp(env, 1) */
  9. .global setjmp
  10. .type setjmp,"function"
  11. .align 1
  12. setjmp:
  13. mov r11, 1
  14. bral HIDDEN_JUMPTARGET(__sigsetjmp)
  15. .size setjmp, . - setjmp