MC: support FK_SecRel_4 for Windows on ARM
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 4 May 2014 23:13:15 +0000 (23:13 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 4 May 2014 23:13:15 +0000 (23:13 +0000)
commita7321a6e53b3d60c1b77f030c68546b970ca93d4
tree19ede480878f562b1c9fc5e561669ff3e9f55462
parent99b03e3401c303f4115258b812e1d96e20f04945
MC: support FK_SecRel_4 for Windows on ARM

Add handling for FK_SecRel_4 (4-byte section relative relocations).  These are
used by the generation of DWARF debug information (the abbrevations use section
relative relocations).  This will also be used in generation of CodeView line
tables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207941 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
test/MC/ARM/coff-debugging-secrel.ll [new file with mode: 0644]