Hacker News new | past | comments | ask | show | jobs | submit login

FreeBSD's default x86-64 calling convention doesn't pass arguments in registers?



Presumably the function calling convention does, but not syscalls.


Neither does; the author is linking to the i386 documents, where there is indeed a difference between syscall and C calling conventions on some operating systems. On x86_64, everyone follows the SysV ABI and uses registers for both purposes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: