summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/start-openbsd.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/rt/start-openbsd.s b/rt/start-openbsd.s
index e73c226..c1d3667 100644
--- a/rt/start-openbsd.s
+++ b/rt/start-openbsd.s
@@ -84,3 +84,12 @@ _start:
movq $1,%rax
syscall
+
+.section ".note.openbsd.ident", "a"
+ .p2align 2
+ .long 8
+ .long 4
+ .long 1
+ .ascii "OpenBSD\0"
+ .long 0
+ .p2align 2