forked from OSchip/llvm-project
ca74dd79e9
This patch makes one change to GOT handling and two changes to N64's relocation model handling. Furthermore, the jumptable encodings have been corrected for static N64. Big GOT handling is now done via a new SDNode MipsGotHi - this node is unconditionally lowered to an lui instruction. The first change to N64's relocation handling is the lifting of the restriction that N64 always uses PIC. Now it is possible to target static environments. The second change adds support for 64 bit symbols and enables them by default. Previously N64 had patterns for sym32 mode only. In this mode all symbols are assumed to have 32 bit addresses. sym32 mode support is selectable with attribute 'sym32'. A follow on patch for clang will add the necessary frontend parameter. This partially resolves PR/23485. Thanks to Brooks Davis for reporting the issue! This version corrects a "Conditional jump or move depends on uninitialised value(s)" error detected by valgrind present in the original commit. Reviewers: dsanders, seanbruno, zoran.jovanovic, vkalintiris Differential Revision: https://reviews.llvm.org/D23652 llvm-svn: 293279 |
||
---|---|---|
.. | ||
add.ll | ||
addrspacecast.ll | ||
and.ll | ||
ashr.ll | ||
atomicrmx.ll | ||
call.ll | ||
extractelement.ll | ||
indirectbr.ll | ||
lh_lhu.ll | ||
load-atomic.ll | ||
lshr.ll | ||
mul.ll | ||
not.ll | ||
or.ll | ||
ret.ll | ||
sdiv.ll | ||
select-dbl.ll | ||
select-flt.ll | ||
select-int.ll | ||
shl.ll | ||
sqrt.ll | ||
srem.ll | ||
store-atomic.ll | ||
sub.ll | ||
udiv.ll | ||
urem.ll | ||
xor.ll |