From ae498864bb638e597b589c52ff27237835625281 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 10 Apr 2024 21:36:39 +0200 Subject: ld.so: load libs with same name experiments --- src/development/ldso/samename/lib.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/development/ldso/samename/lib.c (limited to 'src/development/ldso/samename/lib.c') diff --git a/src/development/ldso/samename/lib.c b/src/development/ldso/samename/lib.c new file mode 100644 index 0000000..d467d7f --- /dev/null +++ b/src/development/ldso/samename/lib.c @@ -0,0 +1,9 @@ +#include + +#ifndef NAME +#define NAME __FILE_NAME__ +#endif + +void moose() { + puts(NAME " says moose"); +} -- cgit v1.2.3