[PATCH] D23669: [mips][ias] Support .dtprel[d]word and .tprel[d]word directives

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 08:54:22 PDT 2016


atanasyan created this revision.
atanasyan added reviewers: sdardis, dsanders, vkalintiris, rafael.
atanasyan added a subscriber: llvm-commits.
atanasyan set the repository for this revision to rL LLVM.
Herald added a subscriber: sdardis.

Assembler directives .dtprelword, .dtpreldword, .tprelword, and .tpreldword generates relocations R_MIPS_TLS_DTPREL32, R_MIPS_TLS_DTPREL64, R_MIPS_TLS_TPREL32, and R_MIPS_TLS_TPREL64 respectively.
    
The main motivation for this patch is to be able to write test cases for checking correctness of the LLD linker's behaviour.

Repository:
  rL LLVM

https://reviews.llvm.org/D23669

Files:
  include/llvm/MC/MCAsmInfo.h
  include/llvm/MC/MCFixup.h
  include/llvm/MC/MCObjectStreamer.h
  include/llvm/MC/MCStreamer.h
  lib/MC/MCAsmBackend.cpp
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/MC/MCStreamer.cpp
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
  test/MC/Mips/relocation.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23669.68547.patch
Type: text/x-patch
Size: 20386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160818/4eb7e8e0/attachment-0001.bin>


More information about the llvm-commits mailing list