linker script: unify usage of discard definition
[linux-2.6-microblaze.git] / arch / s390 / kernel / vmlinux.lds.S
index a53db23..82415c7 100644 (file)
@@ -157,13 +157,10 @@ SECTIONS
 
        _end = . ;
 
-       /* Sections to be discarded */
-       /DISCARD/ : {
-               EXIT_DATA
-               *(.exitcall.exit)
-       }
-
        /* Debugging sections.  */
        STABS_DEBUG
        DWARF_DEBUG
+
+       /* Sections to be discarded */
+       DISCARDS
 }