llvm-project/llvm/lib/Target/ARM/MCTargetDesc
Peter Smith 353a2286e2 [ARM] Incorrect relocation type for Thumb2 B<cond>.w
The Thumb2 conditional branch B<cond>.W has a different encoding (T3) 
to the unconditional branch B.W (T4) as it needs to record <cond>. 
As the encoding is different the B<cond>.W is given a different 
relocation type. 

ELF for the ARM Architecture 4.6.1.6 (Table-13) states that 
R_ARM_THM_JUMP19 should be used for B<cond>.W. At present the 
MC layer is using the R_ARM_THM_JUMP24 from B.W.

This change makes B<cond>.W use R_ARM_THM_JUMP19 and alters the 
existing test that checks for R_ARM_THM_JUMP24 to expect 
R_ARM_THM_JUMP19.

llvm-svn: 271997
2016-06-07 10:34:33 +00:00
..
ARMAddressingModes.h [ARM] Add ARMv8.2-A FP16 scalar instructions 2016-01-25 10:26:26 +00:00
ARMAsmBackend.cpp ARM: report an error when attempting to target a misalgined BLX 2016-05-10 21:48:48 +00:00
ARMAsmBackend.h Don't put classes in headers into anonymous namespaces. 2016-01-27 19:29:42 +00:00
ARMAsmBackendDarwin.h MachO: enable .data_region directives everywhere 2016-04-21 23:00:17 +00:00
ARMAsmBackendELF.h Make more headers self-contained. 2016-01-27 18:03:37 +00:00
ARMAsmBackendWinCOFF.h Don't put classes in headers into anonymous namespaces. 2016-01-27 19:29:42 +00:00
ARMBaseInfo.h ARM: correct TLS access on WoA 2016-06-07 03:15:07 +00:00
ARMELFObjectWriter.cpp [ARM] Incorrect relocation type for Thumb2 B<cond>.w 2016-06-07 10:34:33 +00:00
ARMELFStreamer.cpp [ARM] Add ARMv8-M Baseline/Mainline LLVM targeting 2016-01-15 10:24:39 +00:00
ARMFixupKinds.h Fix for pr24346: arm asm label calculation error in sub 2016-04-01 09:40:47 +00:00
ARMMCAsmInfo.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
ARMMCAsmInfo.h Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
ARMMCCodeEmitter.cpp Fix for pr24346: arm asm label calculation error in sub 2016-04-01 09:40:47 +00:00
ARMMCExpr.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
ARMMCExpr.h Fix pr24486. 2015-10-05 12:07:05 +00:00
ARMMCTargetDesc.cpp Delete Reloc::Default. 2016-05-18 22:04:49 +00:00
ARMMCTargetDesc.h [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
ARMMachORelocationInfo.cpp Reflect the MC/MCDisassembler split on the include/ level. 2016-01-26 16:44:37 +00:00
ARMMachObjectWriter.cpp ARM: fix handling of movw/movt relocations with addend. 2016-02-23 20:20:23 +00:00
ARMTargetStreamer.cpp [ARM] Fix several state persistence bugs 2016-01-12 13:38:15 +00:00
ARMUnwindOpAsm.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ARMUnwindOpAsm.h
ARMWinCOFFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ARMWinCOFFStreamer.cpp [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
CMakeLists.txt
LLVMBuild.txt