1# RUN: llvm-mc -filetype=obj -triple=i386-unknown-unknown %s -o %t 2# RUN: llvm-objdump -r -D -section .text.bar -triple i386-unknown-unknown-code16 %t | FileCheck --check-prefix=CHECK16 %s 3# RUN: llvm-objdump -r -D -section .text.baz -triple i386-unknown-unknown %t | FileCheck --check-prefix=CHECK32 %s 4 .text 5 .section .text.foo,"",@progbits 6 7 .code16 8 .globl foo 9foo: 10 nop 11 12 .section .text.bar,"",@progbits 13 .globl bar16 14bar16: 15 jmp foo 16 17 .section .text.baz,"",@progbits 18 .code32 19 .globl baz32 20baz32: 21 jmp foo 22 23 24 25 26// CHECK16-LABEL: bar16 27// CHECK16-NEXT: e9 fe ff jmp -2 <bar16+0x1> 28// CHECK32-LABEL: baz32 29// CHECK32-NEXT: e9 fc ff ff ff jmp -4 <baz32+0x1> 30 31 32