linker script: throw away .discard section
[firefly-linux-kernel-4.4.55.git] / arch / mips / kernel / vmlinux.lds.S
index 58738c8d754feb09bf525fe6862c62e1f6bda39a..45901609b741df293b027fe0dffba7822c54b122 100644 (file)
@@ -179,6 +179,7 @@ SECTIONS
        /* Sections to be discarded */
        /DISCARD/ : {
                *(.exitcall.exit)
+               *(.discard)
 
                /* ABI crap starts here */
                *(.MIPS.options)