RE: size of the code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> -----Original Message-----
> From: B Srinivas [mailto:b.srinivas@xxxxxxxxxxxx] 
> Sent: Tuesday, April 12, 2005 11:04 AM
> To: Nori, Soma Sekhar
> Cc: kernelnewbies@xxxxxxxxxxxx
> Subject: RE: size of the code
>
>  I have stripped giving the STRIPFLAGS --strip-unneeded , still it 
>  keeps the .pdr and the .comment sections. and the file command shows 
>  not stripped.

If your library is dynamically linked - use strip -s
--remove-section=xxx
If library is statically linked - I don't think stripping symbols is an
option. 
However, unwanted sections can still be gotten rid of.

-
Sekhar Nori.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux