[llvm] [llvm-objcopy,ELF] --discard-locals/--discad-all: allow and keep symbols referenced by relocations (PR #130704)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 11 10:09:45 PDT 2025
================
@@ -160,6 +160,7 @@ Changes to the LLVM tools
* llvm-objcopy now supports the `--update-section` flag for intermediate Mach-O object files.
* llvm-strip now supports continuing to process files on encountering an error.
+* In llvm-objcopy's ELF port, `--discard-locals` and `--discard-all` now allow and preserve symbols references by relocations.
----------------
jh7370 wrote:
```suggestion
* In llvm-objcopy's ELF port, `--discard-locals` and `--discard-all` now allow and preserve symbols referenced by relocations.
```
https://github.com/llvm/llvm-project/pull/130704
More information about the llvm-commits
mailing list