Ooops, omitted from previous delta
authorNick Clifton <nickc@redhat.com>
Sat, 31 May 2008 16:04:57 +0000 (16:04 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 31 May 2008 16:04:57 +0000 (16:04 +0000)
ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d [new file with mode: 0644]
ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d [new file with mode: 0644]

diff --git a/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d b/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d
new file mode 100644 (file)
index 0000000..749b58f
--- /dev/null
@@ -0,0 +1,4 @@
+#name: Thumb-2-as-Thumb-1 BL failure test
+#source: thumb2-bl-as-thumb1-bad.s
+#ld: -Ttext 0x1000 --section-start .foo=0x401004
+#error: .*\(.text\+0x0\): relocation truncated to fit: R_ARM_THM_CALL against `bar'
diff --git a/ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d b/ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d
new file mode 100644 (file)
index 0000000..0fc6e04
--- /dev/null
@@ -0,0 +1,4 @@
+#name: Thumb-2 BL failure test
+#source: thumb2-bl-bad.s
+#ld: -Ttext 0x1000 --section-start .foo=0x1001004
+#error: .*\(.text\+0x0\): relocation truncated to fit: R_ARM_THM_CALL against `bar'