vax/csu: __start: Use 0x0000 as entry mask instead of 0x0101 (two NOPs) This was a quite common trick to able to load executables with a.out headers stripped. Now, the system boots successfully into multi-user mode without this trick. Thanks ragge@ for kind explanation: https://mail-index.netbsd.org/port-vax/2023/07/28/msg004397.htmldiff -r1.4 -r1.5 src/lib/csu/arch/vax/crt0.S
(rin)
--- src/lib/csu/arch/vax/crt0.S 2018/11/26 17:37:46 1.4
+++ src/lib/csu/arch/vax/crt0.S 2023/07/28 11:22:43 1.5
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.S,v 1.4 2018/11/26 17:37:46 joerg Exp $ */
+/* $NetBSD: crt0.S,v 1.5 2023/07/28 11:22:43 rin Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -31,11 +31,11 @@
#include <vax/asm.h>
-RCSID("$NetBSD: crt0.S,v 1.4 2018/11/26 17:37:46 joerg Exp $")
+RCSID("$NetBSD: crt0.S,v 1.5 2023/07/28 11:22:43 rin Exp $")
STRONG_ALIAS(_start,__start)
-_ENTRY(__start, 0x0101)
+_ENTRY(__start, 0x0000)
pushl %r9 /* ps_strings */
pushl %r7 /* cleanup */
calls $2,___start