commit f1eb23a62f7188b14962cfeba4dd26512947163e
parent b648b55d4895846888a9f854eca4320acf9b4ee2
Author: Dimitris Papastamos <dimitris.papastamos@arm.com>
Date: Thu, 8 Nov 2018 14:48:03 +0000
Merge "[amd64] Fix crt for OpenBSD"
Diffstat:
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/amd64/crt-openbsd.s b/arch/amd64/crt-openbsd.s
@@ -1,2 +1,12 @@
.file "crt-openbsd.s"
+
+ .section ".note.openbsd.ident", "a"
+ .p2align 2
+ .long 8
+ .long 4
+ .long 1
+ .ascii "OpenBSD\0"
+ .long 0
+ .p2align 2
+
.include "crt-posix.s"
diff --git a/arch/amd64/crt-posix.s b/arch/amd64/crt-posix.s
@@ -4,7 +4,7 @@ _environ:
.quad 0
.text
- .global _start,
+ .global _start
_start:
movq %rsp,%rbp