aboutsummaryrefslogtreecommitdiff
path: root/arch/h8300/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/h8300/kernel/vmlinux.lds.S')
-rw-r--r--arch/h8300/kernel/vmlinux.lds.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/h8300/kernel/vmlinux.lds.S b/arch/h8300/kernel/vmlinux.lds.S
index 03d6c0df33d..662b02ecb86 100644
--- a/arch/h8300/kernel/vmlinux.lds.S
+++ b/arch/h8300/kernel/vmlinux.lds.S
@@ -152,10 +152,6 @@ SECTIONS
__end = . ;
__ramstart = .;
}
- /DISCARD/ : {
- *(.exitcall.exit)
- *(.discard)
- }
.romfs :
{
*(.romfs*)
@@ -166,4 +162,6 @@ SECTIONS
COMMAND_START = . - 0x200 ;
__ramend = . ;
}
+
+ DISCARDS
}