Dear all,<br><br>  It seems that ARMELFObjectWriter is not translating fixup_t2_condbranch<br>and fixup_t2_uncondbranch into R_ARM_THM_JUMP24.  As a result, "llc"<br>can not compile following code correctly with integrated assembler.  I hope<br>
these patches can fix this issue.  Please review.  Thanks!<br><br>Sincerely,<br>Logan<br><br><br><b>p.s. Test case to crash llc:</b><br>; RUN: llc -mtriple thumbv7-none-linux-gnueabi -mcpu=cortex-a8 -march=thumb \<br>; RUN:   -mattr=thumb2 -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s<br>
define i32 @test_fixup_t2_uncondbranch() {<br>b0:<br>  invoke void @__cxa_throw(i8* null, i8* null, i8* null) noreturn<br>    to label %unreachable unwind label %lpad<br>; CHECK: {{[0-9]+}} R_ARM_THM_JUMP24 __cxa_throw<br>