diff options
Diffstat (limited to 'src/pkg/runtime/rt0_openbsd_386.s')
-rw-r--r-- | src/pkg/runtime/rt0_openbsd_386.s | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pkg/runtime/rt0_openbsd_386.s b/src/pkg/runtime/rt0_openbsd_386.s index 9c00a7334..9e80f69be 100644 --- a/src/pkg/runtime/rt0_openbsd_386.s +++ b/src/pkg/runtime/rt0_openbsd_386.s @@ -2,7 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -TEXT _rt0_386_openbsd(SB),7,$8 +#include "../../cmd/ld/textflag.h" + +TEXT _rt0_386_openbsd(SB),NOSPLIT,$8 MOVL 8(SP), AX LEAL 12(SP), BX MOVL AX, 0(SP) @@ -10,5 +12,5 @@ TEXT _rt0_386_openbsd(SB),7,$8 CALL main(SB) INT $3 -TEXT main(SB),7,$0 - JMP _rt0_386(SB) +TEXT main(SB),NOSPLIT,$0 + JMP _rt0_go(SB) |