Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
[platform/kernel/linux-rpi.git] / arch / x86 / kernel / vmlinux.lds.S
index 9fc1782..0ccb57d 100644 (file)
@@ -348,15 +348,12 @@ SECTIONS
                _end = .;
        }
 
-       /* Sections to be discarded */
-       /DISCARD/ : {
-               *(.exitcall.exit)
-               *(.eh_frame)
-               *(.discard)
-       }
-
         STABS_DEBUG
         DWARF_DEBUG
+
+       /* Sections to be discarded */
+       DISCARDS
+       /DISCARD/ : { *(.eh_frame) }
 }