@ RUN: llvm-mc -triple thumbv7-apple-ios7.0 -filetype=obj -o - %s | \
@ RUN: llvm-readobj -r - | FileCheck %s
@ MachO relocations that end up expressed as internal
@ (scattered) still need to have the type set correctly.
.text
.thumb_func
.thumb
.globl _with_thumb
_with_thumb:
bl _dest+10
blx _dest+20
.globl _with_arm
.arm
_with_arm:
bl _dest+10
blx _dest+20
bne _dest+30
b _dest+40
.data
_dest:
.word 42
@ CHECK: Relocations