diff options
Diffstat (limited to 'arch/i386/vmlinux.lds')
-rw-r--r-- | arch/i386/vmlinux.lds | 6 |
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) } |