]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - scripts/module-common.lds
module: set .init_array alignment to 8
[karo-tx-linux.git] / scripts / module-common.lds
index 9b6e246a45d09f530b3527b81946a30b1256697f..d61b9e8678e8c0fd17220dae2e3d49fa08d23070 100644 (file)
@@ -20,8 +20,7 @@ SECTIONS {
        __kcrctab_unused_gpl    0 : { *(SORT(___kcrctab_unused_gpl+*)) }
        __kcrctab_gpl_future    0 : { *(SORT(___kcrctab_gpl_future+*)) }
 
-       . = ALIGN(8);
-       .init_array             0 : { *(SORT(.init_array.*)) *(.init_array) }
+       .init_array             0 : ALIGN(8) { *(SORT(.init_array.*)) *(.init_array) }
 
        __jump_table            0 : ALIGN(8) { KEEP(*(__jump_table)) }
 }