Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1aac4eff authored by Maxim Kuvyrkov's avatar Maxim Kuvyrkov Committed by Geert Uytterhoeven
Browse files

m68k: Fix `struct sigcontext' for ColdFire



LibSegFault uses piggybacks sc_fpstate field of the `struct sigcontext'
and this patch avoids LibSegFault overflowing this field.  Also this
removes an unnecessary divergence from classic m68k.

Signed-off-by: default avatarMaxim Kuvyrkov <maxim@codesourcery.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 2ba3abd8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -17,14 +17,12 @@ struct sigcontext {
#ifndef __uClinux__
# ifdef __mcoldfire__
	unsigned long  sc_fpregs[2][2];	/* room for two fp registers */
	unsigned long  sc_fpcntl[3];
	unsigned char  sc_fpstate[16+6*8];
# else
	unsigned long  sc_fpregs[2*3];  /* room for two fp registers */
# endif
	unsigned long  sc_fpcntl[3];
	unsigned char  sc_fpstate[216];
#endif
#endif
};

#endif