summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-vxworks/rpath-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-vxworks/rpath-1.d')
-rw-r--r--ld/testsuite/ld-vxworks/rpath-1.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-vxworks/rpath-1.d b/ld/testsuite/ld-vxworks/rpath-1.d
new file mode 100644
index 0000000000000..df67a03ac420c
--- /dev/null
+++ b/ld/testsuite/ld-vxworks/rpath-1.d
@@ -0,0 +1,6 @@
+# source: rpath-1.s
+# ld: --entry foo --rpath /dir1 --rpath /dir2 --rpath net:/dir4 --rpath /dir2 --rpath /dir1 --rpath /dir3 --force-dynamic -q
+# readelf: -d
+#...
+ 0x0+f \(RPATH\).*Library rpath: \[/dir1;/dir2;net:/dir4;/dir3\]
+#pass