diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2016-05-08 14:08:40 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2016-05-08 14:08:40 +0000 |
commit | 8c8a5b5f81fbb88671e6553710d1544da8c6bb86 (patch) | |
tree | dfc0fd1456039919725fecacfec95bec47b5e444 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | eac58d8f688722371d8af33f3cd46de5fdf4f26d (diff) | |
download | bcm5719-llvm-8c8a5b5f81fbb88671e6553710d1544da8c6bb86.tar.gz bcm5719-llvm-8c8a5b5f81fbb88671e6553710d1544da8c6bb86.zip |
[ELF][MIPS] Handling 'packed' N64 ABI relocations
MIPS N64 ABI packs multiple relocations into the single relocation
record. In general, all up to three relocations can have arbitrary types.
In fact, Clang and GCC uses only a few combinations. For now, we support
two of them. That is allow to pass at least all LLVM test suite cases.
<any relocation> / R_MIPS_SUB / R_MIPS_HI16 | R_MIPS_LO16
<any relocation> / R_MIPS_64 / R_MIPS_NONE
The first relocation is a 'real' relocation which is calculated using
the corresponding symbol's value. The second and the third relocations
used to modify result of the first one: extend it to 64-bit, extract
high or low part etc. For details, see part 2.9 'Relocation' at
https://dmz-portal.mips.com/mw/images/8/82/007-4658-001.pdf
llvm-svn: 268876
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions