diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-07-19 07:02:58 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-07-19 07:02:58 +0000 |
| commit | da06c7cfa0388de29a4024d8d386e48f2fb13ed6 (patch) | |
| tree | dc28e84fc2bb9a4a4d9873fe4d04946fe3f7f4c0 /ELF/Symbols.cpp | |
| parent | 267829774358b5aebd3e726ae318813bd48129bb (diff) | |
Notes
Diffstat (limited to 'ELF/Symbols.cpp')
| -rw-r--r-- | ELF/Symbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Symbols.cpp b/ELF/Symbols.cpp index 1d17f57f0c30..c69007e781a6 100644 --- a/ELF/Symbols.cpp +++ b/ELF/Symbols.cpp @@ -94,7 +94,7 @@ static uint64_t getSymVA(const SymbolBody &Body, int64_t &Addend) { if (D.isTls() && !Config->Relocatable) { if (!Out::TlsPhdr) fatal(toString(D.File) + - " has a STT_TLS symbol but doesn't have a PT_TLS section"); + " has an STT_TLS symbol but doesn't have an SHF_TLS section"); return VA - Out::TlsPhdr->p_vaddr; } return VA; |
