diff options
| author | Sasa Stankovic <Sasa.Stankovic@imgtec.com> | 2014-04-03 10:37:45 +0000 |
|---|---|---|
| committer | Sasa Stankovic <Sasa.Stankovic@imgtec.com> | 2014-04-03 10:37:45 +0000 |
| commit | 06c4780311df28e9f230889fc04f63f5acb795d6 (patch) | |
| tree | f92bf3999cd0851a546b707cc139c4f4ec2c7942 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 3ba640d7aef9fb3f9be143853a48d44053f0b5f3 (diff) | |
| download | bcm5719-llvm-06c4780311df28e9f230889fc04f63f5acb795d6.tar.gz bcm5719-llvm-06c4780311df28e9f230889fc04f63f5acb795d6.zip | |
[mips] Extend MipsMCExpr class to handle %higher(sym1 - sym2 + const) and
%highest(sym1 - sym2 + const) relocations. Remove "ABS_" from VK_Mips_HI
and VK_Mips_LO enums in MipsMCExpr, to be consistent with VK_Mips_HIGHER
and VK_Mips_HIGHEST.
This change also deletes test file test/MC/Mips/higher_highest.ll and moves
its CHECK's to the new test file test/MC/Mips/higher-highest-addressing.s.
The deleted file tests that R_MIPS_HIGHER and R_MIPS_HIGHEST relocations are
emitted in the .o file. Since it uses -force-mips-long-branch option, it was
created when MipsLongBranch's implementation was emitting R_MIPS_HIGHER and
R_MIPS_HIGHEST relocations in the .o file. It was disabled when MipsLongBranch
started to directly calculate offsets.
Differential Revision: http://llvm-reviews.chandlerc.com/D3230
llvm-svn: 205522
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions

