Mips direct object xgot support
authorJack Carter <jcarter@mips.com>
Wed, 21 Nov 2012 23:38:59 +0000 (23:38 +0000)
committerJack Carter <jcarter@mips.com>
Wed, 21 Nov 2012 23:38:59 +0000 (23:38 +0000)
commit198ad916d736047f8a439f19dee25cee917df8a9
tree7a5851d2e159af0669630c415b536fd92b3010e1
parent17ced4521f67255271df17e8d6e3e61de426371c
Mips direct object xgot support

This patch provides support for the MIPS relocations:

    *)  R_MIPS_GOT_HI16
    *)  R_MIPS_GOT_LO16
    *)  R_MIPS_CALL_HI16
    *)  R_MIPS_CALL_LO16

These are used for large GOT instruction sequences.

Contributer: Jack Carter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168471 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/xgot.ll [new file with mode: 0644]