Message ID | 158213131544.13786.16073593038276169304.tip-bot2@tip-bot2 |
---|---|
State | In Next |
Commit | e11831d0ada3efc7f9268f35c80257f7e1b1dd0c |
Headers | show |
Series |
|
Related | show |
diff --git a/arch/x86/boot/compressed/vmlinux.lds.S b/arch/x86/boot/compressed/vmlinux.lds.S index 508cfa6..12a2060 100644 --- a/arch/x86/boot/compressed/vmlinux.lds.S +++ b/arch/x86/boot/compressed/vmlinux.lds.S @@ -73,4 +73,9 @@ SECTIONS #endif . = ALIGN(PAGE_SIZE); /* keep ZO size page aligned */ _end = .; + + /* Discard all remaining sections */ + /DISCARD/ : { + *(*) + } }