summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/or1k/bits
diff options
context:
space:
mode:
authorChristian Svensson <blue@cmd.nu>2014-07-18 00:27:58 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-25 17:46:25 +0100
commit82cf6e18bc5e98fa203f98534bde1549a9263e4c (patch)
treef1b5f33b9a7f6b1ccd90e945f092dcb5410cdd78 /libc/sysdeps/linux/or1k/bits
parent42329aab078bbfd7884c9abadf4617db64be21a2 (diff)
setjmp/longjmp saves only non-call clobbered regs
Previously we saved everything, but we only need to save the registers that are promised to be untouched by the setjmp call.
Diffstat (limited to 'libc/sysdeps/linux/or1k/bits')
-rw-r--r--libc/sysdeps/linux/or1k/bits/setjmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/or1k/bits/setjmp.h b/libc/sysdeps/linux/or1k/bits/setjmp.h
index 4bcdc6a67..355ede699 100644
--- a/libc/sysdeps/linux/or1k/bits/setjmp.h
+++ b/libc/sysdeps/linux/or1k/bits/setjmp.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
#endif
#ifndef _ASM
-typedef long int __jmp_buf[32];
+typedef long int __jmp_buf[13];
#endif
#endif