Skip to content

Commit

Permalink
[ELF] Clarify help wording for --symbol-ordering-file
Browse files Browse the repository at this point in the history
The input file for this option should contain a list of symbols, not a
list of sections, so explicitly refer to ordering symbols (but keep the
reference to laying out sections, since that's how the option must
operate). Referring to the file itself as the "symbol ordering file" is
consistent with --warn-symbol-ordering and less ambiguous than "symbol
file" (albeit slightly redundant).

Differential Revision: https://reviews.llvm.org/D46099

llvm-svn: 331000
  • Loading branch information
smeenai committed Apr 26, 2018
1 parent 6e083f6 commit 1b1f97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lld/ELF/Options.td
Expand Up @@ -291,7 +291,7 @@ def strip_all: F<"strip-all">, HelpText<"Strip all symbols">;
def strip_debug: F<"strip-debug">, HelpText<"Strip debugging information">;

defm symbol_ordering_file: Eq<"symbol-ordering-file">,
HelpText<"Layout sections in the order specified by symbol file">;
HelpText<"Layout sections to place symbols in the order specified by symbol ordering file">;

defm sysroot: Eq<"sysroot">, HelpText<"Set the system root">;

Expand Down

0 comments on commit 1b1f97a

Please sign in to comment.