vmbase: Merge .init into .text
There's no need to have 2 distinct sections and this currently wastes
image bytes as the linker/compiler want .text to have 2KiB alignment
while the size of .init is only 552 bytes, wasting ~1.5KiB on padding.
Test: m pvmfw_bin && readelf -SW pvmfw
Change-Id: I16012c8e31e16ef228ed75845c7b0d30d9c4c152
diff --git a/vmbase/sections.ld b/vmbase/sections.ld
index 87b909d..9ed2455 100644
--- a/vmbase/sections.ld
+++ b/vmbase/sections.ld
@@ -39,12 +39,10 @@
* Collect together the code. This is page aligned so it can be mapped
* as executable-only.
*/
- .init : ALIGN(4096) {
+ .text : ALIGN(4096) {
text_begin = .;
*(.init.entry)
*(.init.*)
- } >image
- .text : {
*(.text.*)
} >image
text_end = .;