diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-03-24 00:15:57 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-03-24 00:15:57 +0000 |
| commit | 81cb710784309e9b1abd81d797e59fa9395cf195 (patch) | |
| tree | 1195787091bb19c14f40e256446d55a35fbad148 /lld/ELF/LinkerScript.cpp | |
| parent | be68fe18cc420115a7187d87ffd87ef0bb0685cd (diff) | |
| download | bcm5719-llvm-81cb710784309e9b1abd81d797e59fa9395cf195.tar.gz bcm5719-llvm-81cb710784309e9b1abd81d797e59fa9395cf195.zip | |
Update comments.
llvm-svn: 298669
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index adb7ce862bb..73d4dea19fb 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -777,8 +777,8 @@ static bool shouldSkip(const BaseCommand &Cmd) { // // When the control reaches this function, Opt.Commands contains // output section commands for non-orphan sections only. This function -// adds new elements for orphan sections to Opt.Commands so that all -// sections are explicitly handled by Opt.Commands. +// adds new elements for orphan sections so that all sections are +// explicitly handled by Opt.Commands. // // Writer<ELFT>::sortSections has already sorted output sections. // What we need to do is to scan OutputSections vector and @@ -788,7 +788,7 @@ static bool shouldSkip(const BaseCommand &Cmd) { // // There is some ambiguity as to where exactly a new entry should be // inserted, because Opt.Commands contains not only output section -// commands but other types of commands such as symbol assignment +// commands but also other types of commands such as symbol assignment // expressions. There's no correct answer here due to the lack of the // formal specification of the linker script. We use heuristics to // determine whether a new output command should be added before or |

