linux strip去掉.out的符号信息

、执行strip a.out,然后执行ls -l a.out看一下文件大小,用file命令来查看文件基本信息

的,用nm命令 来列出一个目标文件中的各种符号。很明显,文件已经变小了,已经没有相关的符号信息了。

 

https://blog.csdn.net/tjcwt2011/article/details/122068913

 

quiet_cmd_strip = STRIP   $@
      cmd_strip = $(STRIP) -K _start -K _end -K __log_buf -K _fdt_start vmlinux -o $@

posted on 2023-01-06 04:33  lydstory  阅读(56)  评论(0)    收藏  举报

导航