aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/unresolved-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/unresolved-1.d')
-rw-r--r--ld/testsuite/ld-arm/unresolved-1.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/unresolved-1.d b/ld/testsuite/ld-arm/unresolved-1.d
new file mode 100644
index 0000000..cfc1b04
--- /dev/null
+++ b/ld/testsuite/ld-arm/unresolved-1.d
@@ -0,0 +1,8 @@
+#ld: --warn-unresolved
+#warning: \(\.text\+0x8\): warning: undefined reference to `foo'
+#objdump: -sj.rel.dyn -sj.got
+
+.*
+
+Contents of section \.got:
+ *[^ ]* 00000000 00000000 00000000 00000000 .*