diff options
Diffstat (limited to 'tests/foo.c')
-rw-r--r-- | tests/foo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/foo.c b/tests/foo.c index be71954..48f6953 100644 --- a/tests/foo.c +++ b/tests/foo.c @@ -1,5 +1,9 @@ #include <stdio.h> +/* Include a bogus .interp section in libfoo.so (NIXPKGS-98). + Borrowed from Glibc. */ +const char __invoke_dynamic_linker__[] __attribute__ ((section (".interp"))) = "/foo/bar"; + int bar(); int foo() |