diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-12-15 16:12:34 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-12-15 16:12:34 +0000 |
commit | 6cbfce77857689da66ba10b1e03f41f44ef98eb8 (patch) | |
tree | 0c1eb7f1253067d6a4158d773557c7f869f9e30a /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 0ca19879778c7f958a6d0fd9f04d98f249187fca (diff) | |
download | bcm5719-llvm-6cbfce77857689da66ba10b1e03f41f44ef98eb8.tar.gz bcm5719-llvm-6cbfce77857689da66ba10b1e03f41f44ef98eb8.zip |
[ELF] - Make LLD accept Ttext-segment X/Ttext-segment=X aliases for -Ttext.
It os used in work/emulators/qemu-user-static port.
Which tries to use -Ttext-segment and then:
# In case ld does not support -Ttext-segment, edit the default linker
# script via sed to set the .text start addr. This is needed on FreeBSD
# at least.
<here it calls -verbose to extract and edit default bfd linker script.>
Actually now we are do not fully support -Ttext properly (see D27613),
but we also seems never will provide anything close to default script, like bfd do,
so at least this patch introduces proper alias handling.
llvm-svn: 289827
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions