Date: Sun, 19 Apr 2009 06:30:00 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/powerpc/aim trap.c src/sys/powerpc/include trap_aim.h Message-ID: <200904190630.n3J6U4eg080881@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2009-04-19 06:30:00 UTC
FreeBSD src repository
Modified files:
sys/powerpc/aim trap.c
sys/powerpc/include trap_aim.h
Log:
SVN rev 191261 on 2009-04-19 06:30:00Z by nwhitehorn
Fix a typo in the SRR1 comparison for program exceptions. While here,
replace magic numbers with constants to keep this from happening again.
Without this fix, some programs would occasionally get SIGTRAP instead
of SIGILL on an illegal instruction. This affected Altivec detection
in pixman, and possibly other software.
Reported by: Andreas Tobler
MFC after: 1 week
Revision Changes Path
1.75 +2 -3 src/sys/powerpc/aim/trap.c
1.2 +11 -0 src/sys/powerpc/include/trap_aim.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904190630.n3J6U4eg080881>
