[Mips] Show warning if the linker cannot find a pair for a R_MIPS_HI16
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 19 May 2014 18:48:57 +0000 (18:48 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Mon, 19 May 2014 18:48:57 +0000 (18:48 +0000)
commitc2ec8c5281d1feb7dd447d413a35bbd4d87cc4b6
tree376a880d4f2a42fe7e4822474e81e075318e5655
parente32187970901e27dcf04497e67c66efa618a078d
[Mips] Show warning if the linker cannot find a pair for a R_MIPS_HI16
relocation. In fact this case violates ABI but sometimes compilers might
produce such code.

llvm-svn: 209153
lld/lib/ReaderWriter/ELF/Mips/MipsELFFile.h
lld/test/elf/Mips/hilo16-5.test [new file with mode: 0644]