diff options
author | Alexander Richardson <arichardson.kde@gmail.com> | 2017-11-20 15:43:20 +0000 |
---|---|---|
committer | Alexander Richardson <arichardson.kde@gmail.com> | 2017-11-20 15:43:20 +0000 |
commit | 1de78471f524e79dc77ecacbe09fada47bfd7418 (patch) | |
tree | b9fdcb325bdaf2133ff38f4a93cacd40666101af /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 24194525057b73ecc1d78b7853ce1bbd6ceaf9c2 (diff) | |
download | bcm5719-llvm-1de78471f524e79dc77ecacbe09fada47bfd7418.tar.gz bcm5719-llvm-1de78471f524e79dc77ecacbe09fada47bfd7418.zip |
[ELF] Fall back to search dirs for linker scripts specified with -T
Summary:
This matches the behaviour of ld.bfd:
https://sourceware.org/binutils/docs/ld/Options.html#Options
If scriptfile does not exist in the current directory, ld looks for it in
the directories specified by any preceding '-L' options. Multiple '-T'
options accumulate.
Reviewers: ruiu, grimar
Reviewed By: ruiu, grimar
Subscribers: emaste, llvm-commits
Differential Revision: https://reviews.llvm.org/D40129
llvm-svn: 318655
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions