summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-22 21:14:14 +1300
committerOri Bernstein <ori@eigenstate.org>2016-05-08 17:20:43 +1200
commitedd7580d861f87f29b6fc8d6a11ad92cb37d6e13 (patch)
tree780f88db0549c3af036cf30f389d428d97418a5d /rt
parentfb907237536db80a21dcb82d3eb11b880db4cfcb (diff)
downloadmc-edd7580d861f87f29b6fc8d6a11ad92cb37d6e13.tar.gz
Add OpenBSD note section.
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