summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ramstage.ld8
-rw-r--r--src/lib/rmodule.ld8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ramstage.ld b/src/lib/ramstage.ld
index 432df40da6..b224827590 100644
--- a/src/lib/ramstage.ld
+++ b/src/lib/ramstage.ld
@@ -53,12 +53,12 @@
/* If any changes are made to the driver start/symbols or the
* section names the equivalent changes need to made to
* rmodule.ld. */
- pci_drivers = . ;
+ _pci_drivers = . ;
KEEP(*(.rodata.pci_driver));
- epci_drivers = . ;
- cpu_drivers = . ;
+ _epci_drivers = . ;
+ _cpu_drivers = . ;
KEEP(*(.rodata.cpu_driver));
- ecpu_drivers = . ;
+ _ecpu_drivers = . ;
_bs_init_begin = .;
KEEP(*(.bs_init));
LONG(0);
diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld
index e6b4da717a..f5d5f061e5 100644
--- a/src/lib/rmodule.ld
+++ b/src/lib/rmodule.ld
@@ -42,13 +42,13 @@ SECTIONS
* ramstage with the rmodule linker. Any changes made in
* ramstage.ld should be made here as well. */
. = ALIGN(8);
- pci_drivers = . ;
+ _pci_drivers = . ;
KEEP(*(.rodata.pci_driver));
- epci_drivers = . ;
+ _epci_drivers = . ;
. = ALIGN(8);
- cpu_drivers = . ;
+ _cpu_drivers = . ;
KEEP(*(.rodata.cpu_driver));
- ecpu_drivers = . ;
+ _ecpu_drivers = . ;
. = ALIGN(8);
_bs_init_begin = .;
KEEP(*(.bs_init));