flat assembler
Message board for the users of flat assembler.
Index
> Unix > openbsd |
Author |
|
Gibson 03 Feb 2021, 21:24
I've ported fasm to OpenBSD/amd64 in the thread at https://board.flatassembler.net/topic.php?t=21803, the same ideas could possibly be used to bootstrap fasmg but I'm not familiar with it.
I'm not sure what the issue you're having here is, but the example you sent assembles fine in the build I have: Code: openbsd$ cat >test.asm format ELF64 section '.note.openbsd.ident' align 2 align 2 dd 8,4,1 db "OpenBSD",0 dd 0 align 2 section '.text' executable align 16 public _start _start: mov rax, 1 mov rdi, 7 ; exit code 7 syscall openbsd$ fasm test.asm flat assembler version 1.73.27 (16384 kilobytes memory, x64) 1 passes, 576 bytes. openbsd$ ld.bfd -nopie test.o openbsd$ ./a.out openbsd$ echo $? 7 |
|||
03 Feb 2021, 21:24 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.