aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2015-04-14 13:23:34 +0000
committerPetar Jovanovic <petar.jovanovic@imgtec.com>2015-04-14 13:23:34 +0000
commit0380d0b88f8f5101a9b9ec366b769c61e54e1217 (patch)
tree70379c8c9e7bf85694a250e73364167d2b6dc6e0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent1dbc317736ce52ce7239d6a1099456e8eac7bcd8 (diff)
downloadllvm-0380d0b88f8f5101a9b9ec366b769c61e54e1217.zip
llvm-0380d0b88f8f5101a9b9ec366b769c61e54e1217.tar.gz
llvm-0380d0b88f8f5101a9b9ec366b769c61e54e1217.tar.bz2
Re-enable target-specific relocation table sorting and use it for Mips
Some targets (ie. Mips) have additional rules for ordering the relocation table entries. Allow them to override generic sortRelocs(), which sorts entries by Offset. Then override this function for Mips, to emit HI16 and GOT16 relocations against the local symbol in pair with the corresponding LO16 relocation. Patch by Vladimir Stefanovic. Differential Revision: http://reviews.llvm.org/D7414 llvm-svn: 234883
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions