1 @ RUN
: llvm-mc
-triple thumbv7-apple-ios7.0
-filetype
=obj
-o
- %s | \
2 @ RUN
: llvm-readobj
-r
- | FileCheck
%s
4 @ MachO relocations that end up expressed as internal
5 @
(scattered
) still need to have the type set correctly.
27 @ CHECK
: Relocations
[
28 @ CHECK-NEXT
: Section __text
{
29 @ CHECK-NEXT
: 0x14 1 2 n
/a ARM_RELOC_BR24
1 0x18
30 @ CHECK-NEXT
: 0x10 1 2 n
/a ARM_RELOC_BR24
1 0x18
31 @ CHECK-NEXT
: 0xC 1 2 n
/a ARM_RELOC_BR24
1 0x18
32 @ CHECK-NEXT
: 0x8 1 2 n
/a ARM_RELOC_BR24
1 0x18
33 @ CHECK-NEXT
: 0x4 1 2 n
/a ARM_THUMB_RELOC_BR22
1 0x18
34 @ CHECK-NEXT
: 0x0 1 2 n
/a ARM_THUMB_RELOC_BR22
1 0x18