DWARF_DEBUG
        ELF_DETAILS
 
+       /*
+        * Make sure that the .got.plt is either completely empty or it
+        * contains only the three reserved double words.
+        */
+       .got.plt : {
+               *(.got.plt)
+       }
+       ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
+
+       /*
+        * Sections that should stay zero sized, which is safer to
+        * explicitly check instead of blindly discarding.
+        */
+       .plt : {
+               *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt)
+       }
+       ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
+       .rela.dyn : {
+               *(.rela.*) *(.rela_*)
+       }
+       ASSERT(SIZEOF(.rela.dyn) == 0, "Unexpected run-time relocations (.rela) detected!")
+
        /*
         * uncompressed image info used by the decompressor
         * it should match struct vmlinux_info
 #endif
        } :NONE
 
-       /*
-        * Make sure that the .got.plt is either completely empty or it
-        * contains only the three reserved double words.
-        */
-       .got.plt : {
-               *(.got.plt)
-       }
-       ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
-
-       /*
-        * Sections that should stay zero sized, which is safer to
-        * explicitly check instead of blindly discarding.
-        */
-       .plt : {
-               *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt)
-       }
-       ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
-       .rela.dyn : {
-               *(.rela.*) *(.rela_*)
-       }
-       ASSERT(SIZEOF(.rela.dyn) == 0, "Unexpected run-time relocations (.rela) detected!")
-
        /* Sections to be discarded */
        DISCARDS
        /DISCARD/ : {