On Sun, Jun 07, 2009 at 01:07:43PM +0800, Chengnian Sun wrote:
> Dear All,
> I would like to remove debug info from ELF.
>
> Could you give me some advice.
>From binutils/libbfd's point to of view: remove debug info from ELF objects
is to remove debugging sections and debugging symbols.
debugging sections are identified by their names:
".debug*",
".gnu.linkonce.wi.*",
".line*",
".stab*",
debugging symbols has symbol type STT_SECTION or STT_FILE.
-Kai
|