diff options
Diffstat (limited to 'src/note.s')
| -rw-r--r-- | src/note.s | 9 |
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/note.s b/src/note.s new file mode 100644 index 0000000..a8b606e --- /dev/null +++ b/src/note.s | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | .section .note.netbsd.ident, "a" # allocatable section. | ||
| 2 | .align 4 | ||
| 3 | .int 7 # namesz = "NetBSD" = 7 bytes. | ||
| 4 | .int 4 # descsz = version = 4 bytes. | ||
| 5 | .int 1 # type = ELF_NOTE_TYPE_NETBSD_TAG. | ||
| 6 | .ascii "NetBSD" # name. | ||
| 7 | .byte 0 # null term for name. | ||
| 8 | .long 110000000 # desc = 11.0 (netbsd ver). | ||
| 9 | .align 4 | ||
