summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d')
-rw-r--r--ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d31
1 files changed, 31 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d b/ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d
new file mode 100644
index 0000000..0f40861
--- /dev/null
+++ b/ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d
@@ -0,0 +1,31 @@
+
+.*
+
+
+Disassembly of section \.plt:
+
+00008000 <bar@plt-0x14>:
+ 8000: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\)
+ 8004: e59fe004 ldr lr, \[pc, #4\] ; 8010 <bar@plt-0x4>
+ 8008: e08fe00e add lr, pc, lr
+ 800c: e5bef008 ldr pc, \[lr, #8\]!
+ 8010: 00000ffc \.word 0x00000ffc
+00008014 <bar@plt>:
+ 8014: 4778 bx pc
+ 8016: 46c0 nop ; \(mov r8, r8\)
+ 8018: e28fc600 add ip, pc, #0, 12
+ 801c: e28cca00 add ip, ip, #0, 20
+ 8020: e5bcfff8 ldr pc, \[ip, #4088\]! ; 0xff8
+
+Disassembly of section \.text:
+
+00008ff0 <foo>:
+ 8ff0: 46c0 nop ; \(mov r8, r8\)
+ 8ff2: f240 0000 movw r0, #0
+ 8ff6: f240 0000 movw r0, #0
+ 8ffa: f240 0000 movw r0, #0
+ 8ffe: f000 b803 b\.w 9008 <foo\+0x18>
+ 9002: 0000 movs r0, r0
+ 9004: 0000 movs r0, r0
+ 9006: 0000 movs r0, r0
+ 9008: f7ff b804 b\.w 8014 <bar@plt>