netbsd_amd64 optimized true(1)
This commit is contained in:
parent
8676e44caa
commit
84e9d5ab22
8
true/netbsd_amd64.mk
Normal file
8
true/netbsd_amd64.mk
Normal file
@ -0,0 +1,8 @@
|
||||
true: true.amd64.netbsd.s
|
||||
as -o true.amd64.netbsd.o true.amd64.netbsd.s
|
||||
ld -o true true.amd64.netbsd.o /usr/lib/sysident.o
|
||||
|
||||
clean:
|
||||
rm -f true.amd64.netbsd.o true
|
||||
|
||||
.PHONY: clean
|
7
true/true.amd64.netbsd.s
Normal file
7
true/true.amd64.netbsd.s
Normal file
@ -0,0 +1,7 @@
|
||||
.section ".note.netbsd.ident", "a"
|
||||
.global _start
|
||||
.text
|
||||
_start:
|
||||
mov $1, %rax
|
||||
mov $0, %rdi
|
||||
syscall
|
Loading…
Reference in New Issue
Block a user