aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/runpath-2.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-02-06 16:21:51 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-02-06 16:21:51 +0000
commit7acbc3a0f60f6e5814c9c0f59bb8d8bf37b7099d (patch)
tree14a94df773e5d97915e13c47337ee11cd27c0466 /ld/testsuite/ld-elf/runpath-2.d
parent134a20666733a1db093d7da3554a8b74bb03bfc2 (diff)
downloadgdb-7acbc3a0f60f6e5814c9c0f59bb8d8bf37b7099d.zip
gdb-7acbc3a0f60f6e5814c9c0f59bb8d8bf37b7099d.tar.gz
gdb-7acbc3a0f60f6e5814c9c0f59bb8d8bf37b7099d.tar.bz2
Add tests for ELF DT_XXX
* ld-elf/now-1.d: New file. * ld-elf/now-2.d: Likewise. * ld-elf/now-3.d: Likewise. * ld-elf/now-4.d: Likewise. * ld-elf/rpath-1.d: Likewise. * ld-elf/rpath-2.d: Likewise. * ld-elf/runpath-1.d: Likewise. * ld-elf/runpath-2.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/runpath-2.d')
-rw-r--r--ld/testsuite/ld-elf/runpath-2.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/runpath-2.d b/ld/testsuite/ld-elf/runpath-2.d
new file mode 100644
index 0000000..0df8af6
--- /dev/null
+++ b/ld/testsuite/ld-elf/runpath-2.d
@@ -0,0 +1,8 @@
+#source: start.s
+#readelf: -d -W
+#ld: -shared -rpath . --enable-new-dtags
+#target: *-*-linux* *-*-gnu*
+
+#...
+ +0x[0-9a-f]+ +\(RUNPATH\) +Library runpath: +\[.\]
+#pass