aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/unresolved-1-dyn.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/unresolved-1-dyn.d')
-rw-r--r--ld/testsuite/ld-arm/unresolved-1-dyn.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/unresolved-1-dyn.d b/ld/testsuite/ld-arm/unresolved-1-dyn.d
new file mode 100644
index 0000000..21cd959
--- /dev/null
+++ b/ld/testsuite/ld-arm/unresolved-1-dyn.d
@@ -0,0 +1,8 @@
+#source: unresolved-1.s
+#ld: --warn-unresolved tmpdir/mixed-lib.so
+#warning: \(\.text\+0x8\): warning: undefined reference to `foo'
+#readelf: -r
+
+Relocation section '\.rel\.dyn' .*
+ Offset .*
+.* R_ARM_GLOB_DAT +00000000 +foo