Skip to content

Commit 9f1ee58

Browse files
committed
vscode plugin: introduce clangd;
blog: introduce more details about c, gcc, and binutils;
1 parent d15dd21 commit 9f1ee58

File tree

3 files changed

+606
-8
lines changed

3 files changed

+606
-8
lines changed

docs/blog/rust-binary-is-big.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ ld --help
117117
:::
118118

119119
## rpath 和 strip
120-
strip 工具的主要目的是从可执行文件或库文件中删除调试信息和符号表,以减小文件大小。然而,strip 不会删除 rpath 符号。
120+
strip 工具的主要目的是从可执行文件或库文件中删除调试信息和符号表,以减小文件大小。然而,strip 不会删除 rpath 符号。不能简单认为strip会把符号表的所有内容删除,在某些情形下,一些符号会被保留,这个通过`man strip`查看。
121121

122122
rpath 信息存储在可执行文件或动态库的动态段(Dynamic Segment)中,而不是在符号表中。
123123

0 commit comments

Comments
 (0)