aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/callweak-2.d
diff options
context:
space:
mode:
authorDaniel Gutson <dgutson@codesourcery.com>2009-08-21 23:38:07 +0000
committerDaniel Gutson <dgutson@codesourcery.com>2009-08-21 23:38:07 +0000
commitcd1dac3d4a9145d560bf6f726a227119a087be23 (patch)
tree547659bc2cb709dfe7d02210dfbbf995009462be /ld/testsuite/ld-arm/callweak-2.d
parent62af60e2daf96e527c442d06661cbbde253c777b (diff)
downloadbinutils-cd1dac3d4a9145d560bf6f726a227119a087be23.zip
binutils-cd1dac3d4a9145d560bf6f726a227119a087be23.tar.gz
binutils-cd1dac3d4a9145d560bf6f726a227119a087be23.tar.bz2
2S09-08-21 Daniel Gutson <dgutson@codesourcery.com>
ld/ * ld-arm/callweak.d: Opcodes updated. * ld-arm/callweak.s: Architecture specified. * ld-arm/callweak-2.d: New test case. * ld-arm/callweak-2.s: New file. bfd/ * elf32-arm.c (arch_has_thumb2_nop): New function. (arch_has_arm_nop): New function. (elf32_arm_final_link_relocate): NOP opcodes changed. SVS: ----------------------------------------------------------------------
Diffstat (limited to 'ld/testsuite/ld-arm/callweak-2.d')
-rw-r--r--ld/testsuite/ld-arm/callweak-2.d15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/callweak-2.d b/ld/testsuite/ld-arm/callweak-2.d
new file mode 100644
index 0000000..d401479
--- /dev/null
+++ b/ld/testsuite/ld-arm/callweak-2.d
@@ -0,0 +1,15 @@
+
+.*: file format.*
+
+Disassembly of section .far:
+
+12340000 <[^>]*>:
+12340000: e320f000 nop \{0\}
+12340004: 0320f000 nopeq \{0\}
+
+12340008 <[^>]*>:
+12340008: f3af 8000 nop.w
+1234000c: 2000 movs r0, #0
+1234000e: f3af 8000 nop.w
+12340012: 4770 bx lr
+