parent
29697c13bc
commit
61085ca999
|
@ -21,4 +21,4 @@ _start:
|
|||
// 69636 = 0x11004 = next instruction
|
||||
// CHECK: 11000: {{.*}} bl #0
|
||||
// CHECK-NEXT: 11004: {{.*}} b.w #0 <_start+0x8>
|
||||
// CHECK-NEXT: 11008: {{.*}} b.w #0 <_start+0xC>
|
||||
// CHECK-NEXT: 11008: {{.*}} b.w #0 <_start+0xc>
|
||||
|
|
|
@ -32,7 +32,7 @@ _start:
|
|||
// CHECK: 11000: {{.*}} b #-4 <_start+0x4>
|
||||
// CHECK-NEXT: 11004: {{.*}} bl #-4 <_start+0x8>
|
||||
// blx is transformed into bl so we don't change state
|
||||
// CHECK-NEXT: 11008: {{.*}} bl #-4 <_start+0xC>
|
||||
// CHECK-NEXT: 11008: {{.*}} bl #-4 <_start+0xc>
|
||||
// CHECK-NEXT: 1100c: {{.*}} movt r0, #0
|
||||
// CHECK-NEXT: 11010: {{.*}} movw r0, #0
|
||||
// CHECK: 11014: {{.*}} .word 0x00000000
|
||||
|
|
|
@ -102,10 +102,10 @@
|
|||
// DISASM-NEXT: .plt:
|
||||
// DISASM-NEXT: 11020: ff 25 00 20 01 00 jmpl *73728
|
||||
// DISASM-NEXT: 11026: 68 10 00 00 00 pushl $16
|
||||
// DISASM-NEXT: 1102b: e9 e0 ff ff ff jmp -32 <_start+0xE>
|
||||
// DISASM-NEXT: 1102b: e9 e0 ff ff ff jmp -32 <_start+0xe>
|
||||
// DISASM-NEXT: 11030: ff 25 04 20 01 00 jmpl *73732
|
||||
// DISASM-NEXT: 11036: 68 18 00 00 00 pushl $24
|
||||
// DISASM-NEXT: 1103b: e9 d0 ff ff ff jmp -48 <_start+0xE>
|
||||
// DISASM-NEXT: 1103b: e9 d0 ff ff ff jmp -48 <_start+0xe>
|
||||
|
||||
.text
|
||||
.type foo STT_GNU_IFUNC
|
||||
|
|
|
@ -102,10 +102,10 @@
|
|||
// DISASM-NEXT: .plt:
|
||||
// DISASM-NEXT: 201020: {{.*}} jmpq *4058(%rip)
|
||||
// DISASM-NEXT: 201026: {{.*}} pushq $0
|
||||
// DISASM-NEXT: 20102b: {{.*}} jmp -32 <_start+0xE>
|
||||
// DISASM-NEXT: 20102b: {{.*}} jmp -32 <_start+0xe>
|
||||
// DISASM-NEXT: 201030: {{.*}} jmpq *4050(%rip)
|
||||
// DISASM-NEXT: 201036: {{.*}} pushq $1
|
||||
// DISASM-NEXT: 20103b: {{.*}} jmp -48 <_start+0xE>
|
||||
// DISASM-NEXT: 20103b: {{.*}} jmp -48 <_start+0xe>
|
||||
|
||||
.text
|
||||
.type foo STT_GNU_IFUNC
|
||||
|
|
Loading…
Reference in New Issue