diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-09-03 17:23:08 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-09-05 15:36:23 +0000 |
commit | 037581542b8e4571437ea34fb0244ad2ef43b6a3 (patch) | |
tree | f1ded4d98dd1f86cfaf424befdd63ecbcb01eaa8 /src/lib | |
parent | 541b567167620c96de29c3bd1aec14c6742ae2b6 (diff) | |
download | coreboot-037581542b8e4571437ea34fb0244ad2ef43b6a3.tar.xz |
symbols: add '_' to pci_drivers and cpu_drivers symbols
In order to prepare for more unification of the linker
scripts prefix pci_drivers, epci_drivers, cpu_drivers, and
ecpu_drivers with an underscore.
BUG=chrome-os-partner:44827
BRANCH=None
TEST=Built different boards includes ones w/ and w/o relocatable
ramstage.
Change-Id: I8918b38db3b754332e8d8506b424f3c6b3e06af8
Signed-off-by: Aaron Durbin <adubin@chromium.org>
Reviewed-on: http://review.coreboot.org/11506
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ramstage.ld | 8 | ||||
-rw-r--r-- | src/lib/rmodule.ld | 8 |
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)); |