2_17-branch'.
Cherrypick from master 2006-12-01 16:42:26 UTC Paul Brook <paul@codesourcery.com> '2006-12-01 Paul Brook <paul@codesourcery.com>':
gas/testsuite/gas/arm/thumbrel.d
gas/testsuite/gas/arm/thumbrel.s
--- /dev/null
+#objdump: -sr
+# This test is only valid on ELF based ports.
+#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+
+.*: file format.*
+
+RELOCATION RECORDS FOR \[.text\]:
+OFFSET TYPE VALUE
+00000004 R_ARM_REL32 b
+
+Contents of section .text:
+ 0000 00000000 (00000004|04000000) 00000000 00000000 .*
+# Ignore .ARM.attributes section
+#...
--- /dev/null
+@ Check that PC-relative relocs against local function symbols are
+@ generated correctly.
+.text
+.thumb
+a:
+.word 0
+.word b - a
+.word 0
+.word 0
+.type b, %function
+b: