summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-06-14 10:13:47 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-06-14 10:13:47 +0000
commite858136d915ea23c5f2c7e44f1988e83029164f3 (patch)
treec4facd230d217ba4ac69472386ad49aab484f46d /clang
parentcf1165b86ec95268abf51b0e46e716e281f098d8 (diff)
downloadbcm5719-llvm-e858136d915ea23c5f2c7e44f1988e83029164f3.tar.gz
bcm5719-llvm-e858136d915ea23c5f2c7e44f1988e83029164f3.zip
[mips][ias] Implement one N32 case (of two) for .cpsetup.
This patch implements the N32 case where -mno-shared is in effect. The case where -mshared is in effect will be added later since doing that now requires additional changes to how we handle %hi(%neg(%gp_rel(foo))) expressions to emit the three relocations as three relocations (currently only one of the three would be emitted) which then requires further changes to our MCFixup handling. While we could fix both cases together, fixing the -mno-shared case allows us to fix the ELFCLASS bug (where N32 incorrectly uses ELFCLASS64 instead of ELFCLASS32) in a way that allows cpsetup.s to check for a correct output instead of another incorrect output. Reviewers: sdardis Subscribers: dsanders, llvm-commits, sdardis Differential Revision: http://reviews.llvm.org/D21131 llvm-svn: 272652
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud