rmodule: Fix rmodule.ld for 64-bit
Fix the alignment for 64-bit systems BUG=chrome-os-partner:31615 BRANCH=None TEST=Compiles successfully and rmodule load and run for arm64 works fine Change-Id: I7fcb1683d760b96307759b7d44d8770dd49a02e3 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/214326 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
f2abd28c53
commit
b9bb51c240
1 changed files with 5 additions and 1 deletions
|
|
@ -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 = .;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue