We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683e41d commit a93de9dCopy full SHA for a93de9d
tests/contiguous-note-sections.sh
@@ -1,6 +1,13 @@
1
#! /bin/sh -e
2
3
+SCRATCH=scratch/$(basename $0 .sh)
4
+
5
+rm -rf "${SCRATCH}"
6
+mkdir -p "${SCRATCH}"
7
8
+cp contiguous-note-sections "${SCRATCH}/"
9
10
# Running --set-interpreter on this binary should not produce the following
11
# error:
12
# patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections
-../src/patchelf --set-interpreter ld-linux-x86-64.so.2 contiguous-note-sections
13
+../src/patchelf --set-interpreter ld-linux-x86-64.so.2 ${SCRATCH}/contiguous-note-sections
0 commit comments