I did an assembly project using nasm and ld on various OSs and archs.
The project worked on all of them but it has problems on FREEBSD 13 - x64.
On FreeBSD 13 - x86 also worked, but on x64 it's not opening the file passed in command line parameter.
The sources could be found at:
(to see other sources check the root)
The binaries could be found at:
Using the code inside a C program also worked.
I still don't know if the problem is in my code, on nasm, ld or open syscall.
Thanks for you time!
Please use FreeBSD mailing lists, forums, IRC, etc to discuss issues like that.
I think that, for instance, hackers@FreeBSD.org is a good candidate.