removing the gcc2_compiled. symbol

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

 



The following patch strips all instances of the gcc2_compiled. symbol,
and appears to shave about 7KB off of the size of a bzImage:


Cheers,
Bill

--- linux-2.4.15-pre5-virgin/arch/i386/Makefile	Thu Apr 12 12:20:31 2001
+++ linux-2.4.15-pre5-bootmem/arch/i386/Makefile	Sat Nov 17 16:55:03 2001
@@ -17,7 +17,7 @@
 #
 
 LD=$(CROSS_COMPILE)ld -m elf_i386
-OBJCOPY=$(CROSS_COMPILE)objcopy -O binary -R .note -R .comment -S
+OBJCOPY=$(CROSS_COMPILE)objcopy -O binary -R .note -R .comment -N gcc2_compiled. -S
 LDFLAGS=-e stext
 LINKFLAGS =-T $(TOPDIR)/arch/i386/vmlinux.lds $(LDFLAGS)
 
--
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/



[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