[hackers] [scc] [crt] Implement {amd64,qbe}-openbsd and add dummies || Quentin Rameau

From: <git_AT_suckless.org>
Date: Fri, 24 Mar 2017 10:34:25 +0100 (CET)

commit 06e10502ad1191381a674c2621738f38d7943c26
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Tue Mar 21 12:02:50 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Thu Mar 23 16:04:06 2017 +0100

    [crt] Implement {amd64,qbe}-openbsd and add dummies

diff --git a/crt/amd64-linux/crt.s b/crt/amd64-linux/crt.s
deleted file mode 100644
index 26ab0e5..0000000
--- a/crt/amd64-linux/crt.s
+++ /dev/null
_AT_@ -1,8 +0,0 @@
- .file "crt.as"
- .text
- .global _start
-
-_start:
- call main
- movl %eax, %edi
- call exit
diff --git a/crt/amd64-sysv-linux/crt.s b/crt/amd64-sysv-linux/crt.s
new file mode 100644
index 0000000..6b85289
--- /dev/null
+++ b/crt/amd64-sysv-linux/crt.s
_AT_@ -0,0 +1,8 @@
+ .file "crt.s"
+
+ .text
+ .global _start
+_start:
+ call main
+ movl %eax, %edi
+ call exit
diff --git a/crt/amd64-sysv-openbsd/crt.s b/crt/amd64-sysv-openbsd/crt.s
new file mode 100644
index 0000000..dc3a9a5
--- /dev/null
+++ b/crt/amd64-sysv-openbsd/crt.s
_AT_@ -0,0 +1,23 @@
+ .file "crt.s"
+
+ .section ".note.openbsd.ident", "a"
+ .p2align 2
+ .long 8
+ .long 4
+ .long 1
+ .ascii "OpenBSD\0"
+ .long 0
+ .p2align 2
+
+ .text
+ .align 8
+ .global _start
+_start:
+ call main
+ movl %eax, %edi
+ call exit
+
+ .data
+ .global __guard_local
+__guard_local:
+ .long 0
diff --git a/crt/i386-sysv-linux/crt.s b/crt/i386-sysv-linux/crt.s
new file mode 100644
index 0000000..8f414f5
--- /dev/null
+++ b/crt/i386-sysv-linux/crt.s
_AT_@ -0,0 +1 @@
+/* TODO */
diff --git a/crt/i386-sysv-openbsd/crt.s b/crt/i386-sysv-openbsd/crt.s
new file mode 100644
index 0000000..8f414f5
--- /dev/null
+++ b/crt/i386-sysv-openbsd/crt.s
_AT_@ -0,0 +1 @@
+/* TODO */
diff --git a/crt/qbe-linux/crt.s b/crt/qbe-linux/crt.s
new file mode 100644
index 0000000..6b85289
--- /dev/null
+++ b/crt/qbe-linux/crt.s
_AT_@ -0,0 +1,8 @@
+ .file "crt.s"
+
+ .text
+ .global _start
+_start:
+ call main
+ movl %eax, %edi
+ call exit
diff --git a/crt/qbe-openbsd/crt.s b/crt/qbe-openbsd/crt.s
new file mode 100644
index 0000000..dc3a9a5
--- /dev/null
+++ b/crt/qbe-openbsd/crt.s
_AT_@ -0,0 +1,23 @@
+ .file "crt.s"
+
+ .section ".note.openbsd.ident", "a"
+ .p2align 2
+ .long 8
+ .long 4
+ .long 1
+ .ascii "OpenBSD\0"
+ .long 0
+ .p2align 2
+
+ .text
+ .align 8
+ .global _start
+_start:
+ call main
+ movl %eax, %edi
+ call exit
+
+ .data
+ .global __guard_local
+__guard_local:
+ .long 0
diff --git a/crt/z80-linux/crt.s b/crt/z80-linux/crt.s
new file mode 100644
index 0000000..8f414f5
--- /dev/null
+++ b/crt/z80-linux/crt.s
_AT_@ -0,0 +1 @@
+/* TODO */
diff --git a/crt/z80-openbsd/crt.s b/crt/z80-openbsd/crt.s
new file mode 100644
index 0000000..8f414f5
--- /dev/null
+++ b/crt/z80-openbsd/crt.s
_AT_@ -0,0 +1 @@
+/* TODO */
Received on Fri Mar 24 2017 - 10:34:25 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 24 2017 - 10:36:17 CET