summaryrefslogtreecommitdiff
path: root/src/config/linuxbios_c.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/linuxbios_c.ld')
-rw-r--r--src/config/linuxbios_c.ld9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/config/linuxbios_c.ld b/src/config/linuxbios_c.ld
index c05a4c995e..6fa311fc0e 100644
--- a/src/config/linuxbios_c.ld
+++ b/src/config/linuxbios_c.ld
@@ -48,6 +48,9 @@ SECTIONS
pci_drivers = . ;
*(.rodata.pci_driver)
epci_drivers = . ;
+ cpu_drivers = . ;
+ *(.rodata.cpu_driver)
+ ecpu_drivers = . ;
*(.rodata)
*(.rodata.*)
/*
@@ -84,10 +87,11 @@ SECTIONS
}
_ebss = .;
_end = .;
+ . = ALIGN(STACK_SIZE);
_stack = .;
.stack . : {
- /* Reserve a stack for each possible cpu, +1 extra */
- . = ((CONFIG_MAX_CPUS * STACK_SIZE) + STACK_SIZE) ;
+ /* Reserve a stack for each possible cpu */
+ . = (CONFIG_MAX_CPUS * STACK_SIZE) ;
}
_estack = .;
_heap = .;
@@ -105,5 +109,6 @@ SECTIONS
/DISCARD/ : {
*(.comment)
*(.note)
+ *(.note.*)
}
}