ARM: suuport .tlsdescseq directive
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 30 Jan 2014 04:02:47 +0000 (04:02 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 30 Jan 2014 04:02:47 +0000 (04:02 +0000)
commit2c9ed5d050b5c57bfed35bd82c23f46c714d10c0
treef6f3cffacae3d7b2a3597f3756f89ce97481c48b
parent4747d6b0a50fe9fd22c03d10d72a748bef3edb58
ARM: suuport .tlsdescseq directive

This enhances the ARMAsmParser to handle .tlsdescseq directives.  This is a
slightly special relocation.  We must be able to generate them, but not consume
them in assembly.  The relocation is meant to assist the linker in generating a
TLS descriptor sequence.  The ELF target streamer is enhanced to append
additional fixups into the current segment and that is used to emit the new
R_ARM_TLS_DESCSEQ relocations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200448 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCExpr.h
include/llvm/MC/MCStreamer.h
lib/MC/MCExpr.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
test/MC/ARM/directive-tlsdescseq-diagnostics.s [new file with mode: 0644]
test/MC/ARM/directive-tlsdescseq.s [new file with mode: 0644]