[lld] Enough LLD changes to bootstrap OpenBSD on sparc64 (PR #207609)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 15:29:50 PDT 2026


================
@@ -2062,6 +2062,13 @@ void SymbolTableBaseSection::addSymbol(Symbol *b) {
   symbols.push_back({b, strTabSec.addString(b->getName(), false)});
 }
 
+void SymbolTableBaseSection::addLocalSectionSymbol(Symbol *b) {
----------------
MaskRay wrote:

I don't think we want to take support for the legacy local dynamic symbol.
Every other 64-bit arch (aarch64,x86-64,riscv64, etc) doesn't allow sub-pointer-width absolute reloc that would have to become dynamic. You should fix your code instead.


https://github.com/llvm/llvm-project/pull/207609


More information about the llvm-commits mailing list