patch-2.3.40 linux/arch/i386/vmlinux.lds

Next file: linux/arch/m68k/atari/stram.c
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/arch/i386/vmlinux.lds linux/arch/i386/vmlinux.lds
@@ -64,6 +64,12 @@
 	}
   _end = . ;
 
+  /* Sections to be discarded */
+  /DISCARD/ : {
+	*(.text.exit)
+	*(.data.exit)
+	}
+
   /* Stabs debugging sections.  */
   .stab 0 : { *(.stab) }
   .stabstr 0 : { *(.stabstr) }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)