summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-09-03 17:23:08 -0500
committerAaron Durbin <adurbin@chromium.org>2015-09-05 15:36:23 +0000
commit037581542b8e4571437ea34fb0244ad2ef43b6a3 (patch)
treef1ded4d98dd1f86cfaf424befdd63ecbcb01eaa8 /src/include
parent541b567167620c96de29c3bd1aec14c6742ae2b6 (diff)
downloadcoreboot-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/include')
-rw-r--r--src/include/cpu/cpu.h4
-rw-r--r--src/include/device/pci.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index 47521d45fe..28431c02b3 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -18,9 +18,9 @@ void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
#define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver")))
#ifndef __SIMPLE_DEVICE__
/** start of compile time generated pci driver array */
-extern struct cpu_driver cpu_drivers[];
+extern struct cpu_driver _cpu_drivers[];
/** end of compile time generated pci driver array */
-extern struct cpu_driver ecpu_drivers[];
+extern struct cpu_driver _ecpu_drivers[];
#endif
#endif /* !__PRE_RAM__ && !__SMM__ */
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index 2a76ba9e1c..fe31b54f2f 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -55,9 +55,9 @@ struct pci_driver {
#define __pci_driver __attribute__ ((used,__section__(".rodata.pci_driver")))
/** start of compile time generated pci driver array */
-extern struct pci_driver pci_drivers[];
+extern struct pci_driver _pci_drivers[];
/** end of compile time generated pci driver array */
-extern struct pci_driver epci_drivers[];
+extern struct pci_driver _epci_drivers[];
extern struct device_operations default_pci_ops_dev;