From 82cf6e18bc5e98fa203f98534bde1549a9263e4c Mon Sep 17 00:00:00 2001 From: Christian Svensson Date: Fri, 18 Jul 2014 00:27:58 +0200 Subject: 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. --- libc/sysdeps/linux/or1k/bits/setjmp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/or1k/bits/setjmp.h') 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 -- cgit v1.2.3