]> granicus.if.org Git - llvm/commit
[mips] Emit R_MICROMIPS_TLS_GOTTPREL relocation for %gottprel in case of microMIPS
authorSimon Atanasyan <simon@atanasyan.com>
Sun, 30 Apr 2017 04:27:23 +0000 (04:27 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Sun, 30 Apr 2017 04:27:23 +0000 (04:27 +0000)
commit258bb897bdcf78c200608a5ae7ac76e98b8c6a96
tree587735bca546be12a409bcffa00b7eaad5627832
parent70629e6c18182633d98ece139a63ab7cbbe396e8
[mips] Emit R_MICROMIPS_TLS_GOTTPREL relocation for %gottprel in case of microMIPS

In case of microMIPS mode %gottprel operator should emit microMIPS
relocation R_MICROMIPS_TLS_GOTTPREL, not R_MIPS_TLS_GOTTPREL.

Differential Revision: http://reviews.llvm.org/D32617

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
test/MC/Mips/relocation.s