Subject: Re: Proposed jmp_buf change
To: Ben Harris <>
From: Richard Earnshaw <>
List: port-arm
Date: 08/22/2001 22:15:43
> I'd like to commit the following change to make the jmp_buf on ARM ELF
> systems big enough to hold all the VFP state, with some to spare.  Any
> objections?
> +#ifdef __ELF__
> +#define	_JBLEN  64              /* size, in longs, of a jmp_buf */
> +#else
>  #define	_JBLEN  29              /* size, in longs, of a jmp_buf */
> +#endif

Looks ok to me.  We should only need about 17 words for the VFP stuff 
(only 16 sp regs are call-saved, plus the user-accessible status register).

Leaving some space would be a good thing though, IMO.