summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/uprobe_multi.ld
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/bpf/uprobe_multi.ld')
-rw-r--r--tools/testing/selftests/bpf/uprobe_multi.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/uprobe_multi.ld b/tools/testing/selftests/bpf/uprobe_multi.ld
new file mode 100644
index 000000000000..a2e94828bc8c
--- /dev/null
+++ b/tools/testing/selftests/bpf/uprobe_multi.ld
@@ -0,0 +1,11 @@
+SECTIONS
+{
+ . = ALIGN(4096);
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
+ . = ALIGN(4096);
+}
+INSERT AFTER .text;
+
+build_id_start = ADDR(.note.gnu.build-id);
+build_id_end = ADDR(.note.gnu.build-id) + SIZEOF(.note.gnu.build-id);
+