Skip to content
Browse files

* Regression test for NIXPKGS-98: patchelf barfs on dynamic libraries

  that contain an .interp section.
  • Loading branch information...
1 parent ae660b9 commit ecb2b0c96fe83d02d42c75c7ed832721ffd97067 @edolstra edolstra committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/foo.c
4 tests/foo.c
@@ -1,5 +1,9 @@
#include <stdio.h>
+/* Include a bogus .interp section in (NIXPKGS-98).
+ Borrowed from Glibc. */
+const char __invoke_dynamic_linker__[] __attribute__ ((section (".interp"))) = "/foo/bar";
int bar();
int foo()

0 comments on commit ecb2b0c

Please sign in to comment.
Something went wrong with that request. Please try again.