diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld index fded252fcb..009caa6835 100644 --- a/src/lib/rmodule.ld +++ b/src/lib/rmodule.ld @@ -30,21 +30,25 @@ SECTIONS __CTOR_LIST__ = .; *(.ctors); LONG(0); + LONG(0); __CTOR_END__ = .; /* The driver sections are to allow linking coreboot's * ramstage with the rmodule linker. Any changes made in * ramstage.ld should be made here as well. */ + . = ALIGN(8); console_drivers = .; *(.rodata.console_drivers) econsole_drivers = . ; - . = ALIGN(4); + . = ALIGN(8); pci_drivers = . ; *(.rodata.pci_driver) epci_drivers = . ; + . = ALIGN(8); cpu_drivers = . ; *(.rodata.cpu_driver) ecpu_drivers = . ; + . = ALIGN(8); _bs_init_begin = .; *(.bs_init) _bs_init_end = .;