mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
current compilation unit to be marked as externally_visible. We have EXPORT_SYMBOL exactly for that purpose. This applies to the following symbols used by x86emu and/or vm86: - pci_read_config8 - pci_read_config16 - pci_read_config32 - pci_write_config8 - pci_write_config16 - pci_write_config32 - dev_find_pci_device - dev_find_slot It also applies to the main entry point of stage2: - stage2 With this patch, I can use -fwhole-program for stage2 without any problems. For standard compilation, this is a noop. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@827 f3766cd6-281f-0410-b1cd-43a5c92072e9 |
||
---|---|---|
.. | ||
clog2.c | ||
compute_ip_checksum.c | ||
console.c | ||
delay.c | ||
elfboot.c | ||
Kconfig | ||
lar.c | ||
lzma.c | ||
lzmadecode.c | ||
lzmadecode.h | ||
Makefile | ||
mem.c | ||
nrv2b.c | ||
ram.c | ||
ramtest.c | ||
stage2.c | ||
string.c | ||
tables.c | ||
uart8250.c | ||
vsprintf.c | ||
vtxprintf.c |