s390: vmlinux.lds.S: explicitly keep various sections
[sfrench/cifs-2.6.git] / arch / s390 / kernel / vmlinux.lds.S
index 725e3122c2143f344521b2d47183999ff8fd6d2a..63cb403b334411e1baad81b83de9ab2334b3ce18 100644 (file)
@@ -200,6 +200,18 @@ SECTIONS
                *(.rela*)
                __rela_dyn_end = .;
        }
+       .dynamic ALIGN(8) : {
+               *(.dynamic)
+       }
+       .dynstr ALIGN(8) : {
+               *(.dynstr)
+       }
+       .hash ALIGN(8) : {
+               *(.hash)
+       }
+       .gnu.hash ALIGN(8) : {
+               *(.gnu.hash)
+       }
 
        . = ALIGN(PAGE_SIZE);
        __init_end = .;         /* freed after init ends here */