diff options
author | Fangrui Song <i@maskray.me> | 2021-11-26 10:58:50 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-11-26 10:58:50 -0800 |
commit | 09401dfcf1dbec9d55ac62596d7520ba3a10eabb (patch) | |
tree | 170d5ece26718912cee10174c505e3576eaf434f /lld/ELF/SyntheticSections.cpp | |
parent | fcee33bd5a35786d905a40f42ed28d5a988d75eb (diff) | |
download | llvm-09401dfcf1dbec9d55ac62596d7520ba3a10eabb.zip llvm-09401dfcf1dbec9d55ac62596d7520ba3a10eabb.tar.gz llvm-09401dfcf1dbec9d55ac62596d7520ba3a10eabb.tar.bz2 |
[ELF] Rename fetch to extract
The canonical term is "extract" (GNU ld documentation, Solaris's `-z *extract`
options). Avoid inventing a term and match --why-extract. (ld64 prefers "load"
but the word is overloaded too much)
Mostly MFC, except for --help messages and the header row in
--print-archive-stats output.
Diffstat (limited to 'lld/ELF/SyntheticSections.cpp')
-rw-r--r-- | lld/ELF/SyntheticSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index 8eb3703..4078f7e 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -3116,7 +3116,7 @@ size_t VersionTableSection::getSize() const { void VersionTableSection::writeTo(uint8_t *buf) { buf += 2; for (const SymbolTableEntry &s : getPartition().dynSymTab->getSymbols()) { - // For an unfetched lazy symbol (undefined weak), it must have been + // For an unextracted lazy symbol (undefined weak), it must have been // converted to Undefined and have VER_NDX_GLOBAL version here. assert(!s.sym->isLazy()); write16(buf, s.sym->versionId); |