[all-commits] [llvm/llvm-project] 8275dc: [MC] .reloc: register used symbols
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Dec 7 18:34:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8275dc97483347b88a2fa9067446dfb9d7d7f72e
https://github.com/llvm/llvm-project/commit/8275dc97483347b88a2fa9067446dfb9d7d7f72e
Author: Fangrui Song <i at maskray.me>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/test/MC/ELF/reloc-directive.s
Log Message:
-----------
[MC] .reloc: register used symbols
When `sym` in `.reloc ., BFD_RELOC_NONE, sym` is not referenced
elsewhere, `sym` is not in the symbol table and the relocation
references the null symbol. Visit the expression to fix the issue.
More information about the All-commits
mailing list