ld: Xfail pr20995 and pr20995-2 for tic6x-*-*
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / thumb-plt.d
CommitLineData
15ccbdd7
TC
1#source: thumb-plt.s
2#name: Thumb only PLT and GOT
3#ld: -shared -e0
4#objdump: -dr
5#skip: *-*-pe *-*-wince *-*-vxworks armeb-*-* *-*-gnueabihf
6
7.*: +file format .*arm.*
8
9
10Disassembly of section \.plt:
11
1200000110 <\.plt>:
13 110: b500 push {lr}
14 112: f8df e008 ldr.w lr, \[pc, #8\] ; 11c <\.plt\+0xc>
15 116: 44fe add lr, pc
16 118: f85e ff08 ldr.w pc, \[lr, #8\]!
17 11c: 0001009c \.word 0x0001009c
18
1900000120 <foo@plt>:
20 120: f240 0c98 movw ip, #152 ; 0x98
21 124: f2c0 0c01 movt ip, #1
22 128: 44fc add ip, pc
23 12a: f8dc f000 ldr.w pc, \[ip\]
24 12e: e7fc b.n 12a <foo@plt\+0xa>
25
26Disassembly of section .text:
27
2800000130 <bar>:
29 130: b580 push {r7, lr}
30 132: af00 add r7, sp, #0
31 134: f7ff fff4 bl 120 <foo@plt>
32 138: 4603 mov r3, r0
33 13a: 4618 mov r0, r3
34 13c: bd80 pop {r7, pc}
This page took 0.032648 seconds and 4 git commands to generate.