[lld] [ELF] Fix unnecessary inclusion of unreferenced provide symbols (PR #84512)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 20:12:45 PDT 2024
================
@@ -40,13 +51,23 @@ patatino:
movl newsym, %eax
#--- chain.t
-PROVIDE(f2 = 0x1000);
+PROVIDE(f7 = 0x1000);
+PROVIDE(f5 = f6);
----------------
MaskRay wrote:
can be more complex by adding some `+1`, for example.
https://github.com/llvm/llvm-project/pull/84512
More information about the llvm-commits
mailing list