From 037581542b8e4571437ea34fb0244ad2ef43b6a3 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 3 Sep 2015 17:23:08 -0500 Subject: 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 Reviewed-on: http://review.coreboot.org/11506 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/lib/ramstage.ld | 8 ++++---- src/lib/rmodule.ld | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/lib') 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)); -- cgit v1.2.3