summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorDenis Protivensky <dprotivensky@accesssoftek.com>2015-07-23 10:34:30 +0000
committerDenis Protivensky <dprotivensky@accesssoftek.com>2015-07-23 10:34:30 +0000
commitcdc1246750163de49a4357444f47aaef9ffc6323 (patch)
tree072be3fc08e77a80c1b86af434201405880ef7d7 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parentffcc7663a20499497d4650cf0367c836c2bb3b15 (diff)
downloadbcm5719-llvm-cdc1246750163de49a4357444f47aaef9ffc6323.tar.gz
bcm5719-llvm-cdc1246750163de49a4357444f47aaef9ffc6323.zip
[ELF] Apply segments from linker scripts
Put sections to segments according to linker scripts if available. Rework the code of TargetLayout::assignSectionsToSegments so it operates on the given list of segments, which can be either read from linker scripts or constructed as before. Handle NONE segments defined in linker scripts by putting corresponding sections to PT_NULL segment. Consider flags set for segments through linker scripts. Differential Revision: http://reviews.llvm.org/D10918 llvm-svn: 243002
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud