diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-07-28 18:16:24 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-07-28 18:16:24 +0000 |
commit | 54c145ce0e2fd205036cd8e02275451bac7c3819 (patch) | |
tree | a3503a12eee7a38c4fade03c26cef1cb1cef5409 /llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp | |
parent | 6a742846525d89e8e53972919ab6ffdde6fedeec (diff) | |
download | bcm5719-llvm-54c145ce0e2fd205036cd8e02275451bac7c3819.tar.gz bcm5719-llvm-54c145ce0e2fd205036cd8e02275451bac7c3819.zip |
Add support for SEGMENT_START.
This is a bit of an odd feature. It is normally used in
. = SEGMENT_START(seg, val);
In bfd it evaluates to val or to the value of the corresponding
-T<seg>-segment. Note that the -T<seg>-segment in bfd doesn't actually
change the segment address, just the value this evaluates too,
including in the default linker script.
In gold the -T<seg>-segment options do change the segment address and
seeing this expressions in linker scripts disables the options.
For new this just always evaluates the expression to val.
llvm-svn: 277014
Diffstat (limited to 'llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp')
0 files changed, 0 insertions, 0 deletions