diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-01-22 21:14:14 +1300 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-05-08 17:20:43 +1200 |
commit | edd7580d861f87f29b6fc8d6a11ad92cb37d6e13 (patch) | |
tree | 780f88db0549c3af036cf30f389d428d97418a5d /rt/start-openbsd.s | |
parent | fb907237536db80a21dcb82d3eb11b880db4cfcb (diff) | |
download | mc-edd7580d861f87f29b6fc8d6a11ad92cb37d6e13.tar.gz |
Add OpenBSD note section.
Diffstat (limited to 'rt/start-openbsd.s')
-rw-r--r-- | rt/start-openbsd.s | 9 |
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 |