nc100: Fix packing order
authorAlan Cox <alan@linux.intel.com>
Thu, 14 May 2015 19:49:12 +0000 (20:49 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 14 May 2015 19:49:12 +0000 (20:49 +0100)
We need to put initializer after initialized and before data, otherwise we end
up packing 8K of zeroes. We really can't afford to be doing that!

Kernel/platform-nc100/crt0.s

index 3936dda..4cf8d89 100644 (file)
@@ -7,14 +7,14 @@
                .area _FONT
                .area _VIDEO
                .area _CONST
-               .area _DATA
                .area _INITIALIZED
+               .area _INITIALIZER
+               .area _DATA
                .area _BSEG
                .area _BSS
                .area _HEAP
                ; note that areas below here may be overwritten by the heap at runtime, so
                ; put initialisation stuff in here
-               .area _INITIALIZER
                .area _GSINIT
                .area _GSFINAL
                .area _COMMONMEM