File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,10 @@ multiple file formats.
37
37
38
38
.. option :: --discard-all , -x
39
39
40
- Remove most local symbols from the output. Different file formats may limit
41
- this to a subset of the local symbols. For example, file and section symbols in
42
- ELF objects will not be discarded. Additionally, remove all debug sections.
40
+ Remove most local symbols not referenced by relocations from the output.
41
+ Different file formats may limit this to a subset of the local symbols. For
42
+ example, file and section symbols in ELF objects will not be discarded.
43
+ Additionally, remove all debug sections.
43
44
44
45
.. option :: --enable-deterministic-archives , -D
45
46
@@ -152,7 +153,7 @@ them.
152
153
153
154
.. option :: --discard-locals , -X
154
155
155
- Remove local symbols starting with ".L" from the output.
156
+ Remove local symbols starting with ".L" not referenced by relocations from the output.
156
157
157
158
.. option :: --keep-file-symbols
158
159
Original file line number Diff line number Diff line change @@ -169,7 +169,8 @@ Changes to the LLVM tools
169
169
170
170
* llvm-objcopy now supports the ` --update-section ` flag for intermediate Mach-O object files.
171
171
* llvm-strip now supports continuing to process files on encountering an error.
172
- * In llvm-objcopy's ELF port, ` --discard-locals ` and ` --discard-all ` now allow and preserve symbols referenced by relocations.
172
+ * In llvm-objcopy/llvm-strip's ELF port, ` --discard-locals ` and ` --discard-all ` now allow and preserve symbols referenced by relocations.
173
+ ([ #47468 ] ( https://github.com/llvm/llvm-project/issues/47468 ) )
173
174
174
175
Changes to LLDB
175
176
---------------------------------
You can’t perform that action at this time.
0 commit comments