[all-commits] [llvm/llvm-project] 9f8ffa: [ELF] Replace "symbol '...' has no type" diagnosti...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Oct 31 13:12:39 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f8ffaaa0bddcefeec15a3df9858fd50b05fcbae
https://github.com/llvm/llvm-project/commit/9f8ffaaa0bddcefeec15a3df9858fd50b05fcbae
Author: Fangrui Song <i at maskray.me>
Date: 2021-10-31 (Sun, 31 Oct 2021)
Changed paths:
M lld/ELF/Relocations.cpp
M lld/test/ELF/copy-errors.s
M lld/test/ELF/tls-weak-undef.s
M lld/test/ELF/x86-64-dyn-rel-error.s
Log Message:
-----------
[ELF] Replace "symbol '...' has no type" diagnostic with "relocation ... cannot be used against symbol '...'"
The "symbol 'foo' has no type" diagnostic tries to inform that copy
relocation/canonical PLT entry cannot be used, but the diagnostic is often
incorrect and confusing.
More information about the All-commits
mailing list