We can get there with .code64.
Fixes pr22349.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232651
91177308-0d34-0410-b5e6-
96231b3b80d8
}
break;
+ case X86::reloc_riprel_4byte:
case X86::reloc_signed_4byte:
case FK_PCRel_4:
case FK_Data_4:
// CHECK-NEXT: 0xA3 R_386_GOTOFF und_symbol 0x0
// Relocation 29 (zed@PLT) is of type R_386_PLT32 and uses the symbol
// CHECK-NEXT: 0xA9 R_386_PLT32 zed 0x0
+// CHECK-NEXT: 0xAF R_386_PC32 tr_start 0x0
// CHECK-NEXT: }
// CHECK-NEXT: ]
leal 1 + und_symbol@GOTOFF, %edi
movl zed@PLT(%eax), %eax
+ .code64
+ jmpq *tr_start(%rip)
+
.section zedsec,"awT",@progbits
zed:
.long 0