2 #name: Thumb only PLT and GOT
3 #ld: -shared -e0 -z max-page-size=0x10000
5 #skip: *-*-pe *-*-wince *-*-vxworks armeb-*-* *-*-gnueabihf *-*-musleabihf
7 .*: +file format .*arm.*
10 Disassembly of section \.plt:
14 112: f8df e008 ldr.w lr, \[pc, #8\] @ 11c <\.plt\+0xc>
16 118: f85e ff08 ldr.w pc, \[lr, #8\]!
17 11c: 000100(.+) \.word 0x000100\1
20 120: f240 0c.+ movw ip, #[0-9]+ @ 0x.+
21 124: f2c0 0c01 movt ip, #1
23 12a: f8dc f000 ldr.w pc, \[ip\]
24 12e: e7fc b.n 12a <foo@plt\+0xa>
26 Disassembly of section .text:
29 130: b580 push {r7, lr}
30 132: af00 add r7, sp, #0
31 134: f7ff fff4 bl 120 <foo@plt>
34 13c: bd80 pop {r7, pc}