aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/coreboot_ram.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/coreboot_ram.ld')
-rw-r--r--src/arch/x86/coreboot_ram.ld8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/x86/coreboot_ram.ld b/src/arch/x86/coreboot_ram.ld
index a87a0e7e91..7ce0367cf1 100644
--- a/src/arch/x86/coreboot_ram.ld
+++ b/src/arch/x86/coreboot_ram.ld
@@ -39,6 +39,14 @@ SECTIONS
_etext = .;
}
+ .ctors : {
+ . = ALIGN(0x100);
+ __CTOR_LIST__ = .;
+ *(.ctors);
+ LONG(0);
+ __CTOR_END__ = .;
+ }
+
.rodata : {
_rodata = .;
. = ALIGN(4);