[all-commits] [llvm/llvm-project] c5e359: [lld][ELF][X86] Add missing X86_64_TPOFF64 case in...
Nicholas Mosier via All-commits
all-commits at lists.llvm.org
Sun Jan 7 12:00:03 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5e35986d8064775182b03a7e1a7e02f1cf7e4a9
https://github.com/llvm/llvm-project/commit/c5e35986d8064775182b03a7e1a7e02f1cf7e4a9
Author: Nicholas Mosier <nh.mosier at gmail.com>
Date: 2024-01-07 (Sun, 07 Jan 2024)
Changed paths:
M lld/ELF/Arch/X86_64.cpp
M lld/test/ELF/x86-64-tls-pie.s
Log Message:
-----------
[lld][ELF][X86] Add missing X86_64_TPOFF64 case in switches (#77208)
Close #77201. When linking code with a R_X86_64_TPOFF64 relocation, LLD
exits with an 'unknown reloaction' error message due to two missing
cases in relocation switch statements. This patch adds in those cases so
that LLD successfully links code R_X86_64_TPOFF64 relocations.
More information about the All-commits
mailing list