feat(syscall): add x86_64 raw syscall layer, errno, internal ABI headers

This commit is contained in:
2026-09-03 17:10:27 -04:00
parent 6854c7771d
commit c5a77c61fa
9 changed files with 1139 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef VLIBC_INTERNAL_LIBC_H
#define VLIBC_INTERNAL_LIBC_H
/*
* vlibc — internal compiler-attribute shorthand.
*
* Everything internal to the library is declared with hidden visibility so
* that neither the static archive nor the shared library exports symbols
* outside the public API surface. The shared-library case matters most:
* without `hidden`, every internal helper would become a dynamic symbol that
* could be interposed or collide with a consumer's own symbols.
*/
#define hidden __attribute__((__visibility__("hidden")))
#endif /* VLIBC_INTERNAL_LIBC_H */