diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-02 15:28:29 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-02 15:28:29 +0000 |
| commit | f85028359dd5a25deadc497de3c314612b1f404a (patch) | |
| tree | bdc395d36ee2ff49fedb7ee99423f7b71f177a83 /llvm/test/ExecutionEngine | |
| parent | db220dbf023b5c8573d7da2e951cf53a5e71cef7 (diff) | |
| download | bcm5719-llvm-f85028359dd5a25deadc497de3c314612b1f404a.tar.gz bcm5719-llvm-f85028359dd5a25deadc497de3c314612b1f404a.zip | |
[mips][mcjit] Add support for R_MIPS_PC32.
Summary:
This allows us to resolve relocations for DW_EH_PE_pcrel TType encodings
in the exception handling LSDA.
Also fixed a nearby typo.
Reviewers: petarj, vkalintiris
Reviewed By: vkalintiris
Subscribers: vkalintiris, llvm-commits
Differential Revision: http://reviews.llvm.org/D10127
llvm-svn: 238844
Diffstat (limited to 'llvm/test/ExecutionEngine')
| -rw-r--r-- | llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s index c9f9e1fb7b2..d9216480671 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s +++ b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s @@ -8,6 +8,12 @@ R_MIPS_32: .word foo # rtdyld-check: *{4}(R_MIPS_32+4) = foo .4byte foo +# rtdyld-check: *{4}(R_MIPS_PC32) = foo - R_MIPS_PC32 +R_MIPS_PC32: + .word foo-. +# rtdyld-check: *{4}(R_MIPS_PC32 + 4) = foo - tmp1 +tmp1: + .4byte foo-tmp1 .text .abicalls |

