[Mips] Support R_MIPS_EH relocation handling
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 10 Apr 2015 21:00:29 +0000 (21:00 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 10 Apr 2015 21:00:29 +0000 (21:00 +0000)
commit54b1d56c0152e658c138f464ea45ff8e40ff2fbc
treeef66f206a8f4a5ee34a89fd65e85e33f8a742942
parent4879003022846be9c45921b99edbca8eb485c802
[Mips] Support R_MIPS_EH relocation handling

The patch supports just the R_MIPS_EH relocation handling and does not
implement full specification of compact exception tables for MIPS ABIs.

llvm-svn: 234634
lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp
lld/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp
lld/test/elf/Mips/rel-eh-01.test [new file with mode: 0644]
lld/test/elf/Mips/rel-eh-02.test [new file with mode: 0644]