summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_elf.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-04-28 18:15:08 +0000
committereivind <eivind@FreeBSD.org>1998-04-28 18:15:08 +0000
commit67c7bb9c04ed76649b6be0484dcfaa84fa554bcd (patch)
tree1a99fec62896b96dd22a726554f4d62d24de741f /sys/kern/imgact_elf.c
parent470efec49a7164af77eed73b6ff91740609ea273 (diff)
downloadFreeBSD-src-67c7bb9c04ed76649b6be0484dcfaa84fa554bcd.zip
FreeBSD-src-67c7bb9c04ed76649b6be0484dcfaa84fa554bcd.tar.gz
Translate T_PROTFLT to SIGSEGV instead of SIGBUS when running under
Linux emulation. This make Allegro Common Lisp 4.3 work under FreeBSD! Submitted by: Fred Gilham <gilham@csl.sri.com> Commented on by: bde, dg, msmith, tg Hoping he got everything right: eivind
Diffstat (limited to 'sys/kern/imgact_elf.c')
-rw-r--r--sys/kern/imgact_elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index a6d6785..7cfebf0 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: imgact_elf.c,v 1.22 1998/03/02 05:47:58 peter Exp $
+ * $Id: imgact_elf.c,v 1.23 1998/03/28 13:24:52 bde Exp $
*/
#include "opt_rlimit.h"
@@ -78,6 +78,7 @@ static struct sysentvec elf_freebsd_sysvec = {
0,
0,
0,
+ 0,
elf_freebsd_fixup,
sendsig,
sigcode,
OpenPOWER on IntegriCloud