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

Re: stripping a bzImage?



On Wed, Aug 08, 2001 at 07:19:48AM +0800, wctan@netwxs.com.my wrote:
> I was just wondering is it possible for me to strip a Linux
> kernel? I mean run "strip" or "objcopy --strip-all" on it.
> Would there be any impact?

In the best case there won't be any impact because the kernel doesn't
have .debug sections linked in. In the worst case the kernel won't boot
at all because it does some magic with ELF sections that objcopy would
just ignore and strip away.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/