Linux Strip

一、简介

strip经常用来去除目标文件中的一些符号表、调试符号表信息,以减小程序的大小。

 

二、语法

 

三、实例

1)Remove all symbol and relocation information

strip --strip-all [需要处理的文件]

2)去掉调试信息

strip --strip-debug [需要处理的文件]

3)Remove a particular section

strip --remove-section=<name> [需要处理的文件]

 

原文地址:https://www.cnblogs.com/274914765qq/p/6052391.html