ref: baa15c7b760f133166f213f22b7732cba6ac671c
parent: 281ed1c6bfbebe92f24377d6e2af85c635cc8b64
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Aug 25 02:29:00 EDT 2018
[crt/netbsd] Fix NetBSD crt The elf NetBSD iden section was wrong.
--- a/lib/crt/amd64-sysv-netbsd/crt.s
+++ b/lib/crt/amd64-sysv-netbsd/crt.s
@@ -1,13 +1,12 @@
.file "crt.s"
- .section ".note.netbsd.ident", "a"
+ .section .note.netbsd.ident
+ .long 7
+ .long 4
+ .long 1
+ .ascii "NetBSD\0"
.p2align 2
- .long 8
- .long 4
- .long 1
- .ascii "NetBSD\0"
- .p2align 2
- .long 200000000
+ .long 200000000
.text
.align 8