16 Commits (master)
 

Author SHA1 Message Date
Avril 2b365f001e
Added `LINKER=gold` default
4 months ago
Avril d5f7af1f3d
Added `-rpath ./` to linker for test builds.
7 months ago
Avril 7fbb1940e4
Changed test build targeting shared libraries to build with a `./` soname. If the target library already exists however, it is not rebuilt and the normal soname configuration used when the target was built will be used.
7 months ago
Avril 570c0d73d7
Fixed linker not finding local library on `test` compilation.
7 months ago
Avril e47caa8035
`test` target: Added final non-ignored exec (base) when running test.
7 months ago
Avril 053bbb4c3b
Fixed bug where test files were being added to library. (Hack fix, removes `src/test/*` from source lookup.)
7 months ago
Avril 94562877e0
Added `TARGET` var for `test` - {debug,release}.{a,so} (which build of lib to link to,) and configurable `TEST_{C,LD}FLAGS`. Fixed bug of adding test flags to dep build when it doesn"t already exist.
7 months ago
Avril 8c94ce5f70
Added configurable `INCLUDE_PREFIX` for install targets.
7 months ago
Avril 7d182704b9
Improved `test` make target: Added phony: `test`, builds and runs the test program against the debug static lib target.
7 months ago
Avril 7eaf4df51c
Added `test` make target & test program.
7 months ago
Avril 5b683de5ee
Changed IFUNC symbol generation slightly.
7 months ago
Avril aca36aec62
Added static & shared library targets; as well as install & uninstall targets.
7 months ago
Avril 9ea30b0cb2
Tested impl: works! Thoudh... XXX: man says `FD_CLOEXEC` should be passable to `memfd_secret()`, but it fails with `EINVAL` if passed `FD_CLOEXEC`...? Find out why?
7 months ago
Avril fde7eb2ee5
Added `memfd_secret()`"s disabled path. Added checks to translate valid flags {from,to} `memfd_{secret,create}()` (if the flag bits aren"t the same at comptime.)
7 months ago
Avril f1c89d50e1
Added IFUNC resolver for `memfd_secret()`.
7 months ago
Avril b8c2a2c3d6
Added raw syscall shim `_memfd_secret()` and testing func `_has_memfd_secret()`. Added passthu resolver target for when enabled, started re-write `memfd_create()` shim polyfil resolver target.
7 months ago