aboutsummaryrefslogtreecommitdiff
path: root/lld/ELF/SyntheticSections.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-11-26 10:58:50 -0800
committerFangrui Song <i@maskray.me>2021-11-26 10:58:50 -0800
commit09401dfcf1dbec9d55ac62596d7520ba3a10eabb (patch)
tree170d5ece26718912cee10174c505e3576eaf434f /lld/ELF/SyntheticSections.cpp
parentfcee33bd5a35786d905a40f42ed28d5a988d75eb (diff)
downloadllvm-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.cpp2
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);