summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-29 03:44:44 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-29 03:44:44 +0000
commita0d7df39888ee99e670c04a20529b9252889846a (patch)
treea04266400551156e1b11269a4714c40f1ea5d370 /llvm/lib/Target/TargetLoweringObjectFile.cpp
parentb839f1590e32822dc2b57aea5f97e8d58e86f2ba (diff)
downloadbcm5719-llvm-a0d7df39888ee99e670c04a20529b9252889846a.tar.gz
bcm5719-llvm-a0d7df39888ee99e670c04a20529b9252889846a.zip
Put the header in the first PT_LOAD even if that PT_LOAD has a LMAExpr.
This should fix PR36017. The root problem is that we were creating a PT_LOAD just for the header. That was technically valid, but inconvenient: we should not be making the ELF discontinuous. The solution is to allow a section with LMAExpr to be added to a PT_LOAD if that PT_LOAD doesn't already have a LMAExpr. llvm-svn: 323625
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud