summaryrefslogtreecommitdiffstats
path: root/arch/i386/vmlinux.lds
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-16 01:07:24 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-16 01:07:24 +0000
commit95db6b748fc86297827fbd9c9ef174d491c9ad89 (patch)
tree27a92a942821cde1edda9a1b088718d436b3efe4 /arch/i386/vmlinux.lds
parent45b27b0a0652331d104c953a5b192d843fff88f8 (diff)
Merge with Linux 2.3.40.
Diffstat (limited to 'arch/i386/vmlinux.lds')
-rw-r--r--arch/i386/vmlinux.lds6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/i386/vmlinux.lds b/arch/i386/vmlinux.lds
index 9624cae47..5790bb5d4 100644
--- a/arch/i386/vmlinux.lds
+++ b/arch/i386/vmlinux.lds
@@ -64,6 +64,12 @@ SECTIONS
}
_end = . ;
+ /* Sections to be discarded */
+ /DISCARD/ : {
+ *(.text.exit)
+ *(.data.exit)
+ }
+
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }