diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-07-11 19:39:57 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-07-11 19:39:57 +0200 |
commit | ed26b0f2c95215e231e440475523f2197e6c8e3b (patch) | |
tree | fbcddac34b6308876bb2e4e9290b693fa26aa33e | |
parent | 2d11cfdfcfc9c80de467200df517a706490cfd80 (diff) | |
download | bxgen-ed26b0f2c95215e231e440475523f2197e6c8e3b.zip |
Add test lib
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | bxgen.c | 5 | ||||
-rw-r--r-- | libtest.a | bin | 0 -> 1364 bytes |
3 files changed, 4 insertions, 3 deletions
@@ -1 +1 @@ -test_* +test* @@ -1662,8 +1662,9 @@ int main(int argc, char **argv) { i64 u = u_new(); u_add(u, main); u_entry_point(u, main); - l_static(u, "/lib/x86_64-linux-gnu/libc.a"); - + // l_static(u, "/lib/x86_64-linux-gnu/libc.a"); + l_static(u, "libtest.a"); + printf("Writing ELF x86_64 executable...\n"); u_elf_x86_64(u, "test_foo"); diff --git a/libtest.a b/libtest.a Binary files differnew file mode 100644 index 0000000..780fc3f --- /dev/null +++ b/libtest.a |