This patch fixes a Mips specific bug where
authorJack Carter <jcarter@mips.com>
Tue, 15 Jan 2013 01:08:02 +0000 (01:08 +0000)
committerJack Carter <jcarter@mips.com>
Tue, 15 Jan 2013 01:08:02 +0000 (01:08 +0000)
commit096d617796228293810cb0443c6617b33c5afdc5
treee0768d33e7b50429f50a88eefa9dcff3f4b0c59a
parentbbe64fba4abbe65824587bd3ed9509df09cbc5e3
This patch fixes a Mips specific bug where
we need to generate a N64 compound relocation
R_MIPS_GPREL_32/R_MIPS_64/R_MIPS_NONE.

The bug was exposed by the SingleSourcetest case
DuffsDevice.c.

Contributer: Jack Carter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
test/MC/Mips/elf-gprel-32-64.ll [new file with mode: 0644]