Fix issues with the ARM bl and blx thumb instructions and the J1 and J2 bits
[oota-llvm.git] / test / MC / MachO / ARM / nop-thumb2-padding.s
1 @ RUN: llvm-mc -triple armv7-apple-darwin %s -filetype=obj -o %t.obj
2 @ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
3 @ RUN: FileCheck %s < %t.dump
4
5 .thumb_func x
6 .code 16
7 x:
8       adds r0, r1, r2
9       .align 4
10       adds r0, r1, r2
11
12 @ CHECK: ('_section_data', '881800bf 00bf00bf 00bf00bf 00bf00bf 8818')