coreboot-kgpe-d16/src/cpu/x86
Aaron Durbin e73dae4bf5 x86: fix SMM programs linked with gc-sections
Commit f69a99db (coreboot: x86: enable gc-sections) added
gc-sections to the linker command line. The SMM-specific
linker scripts were not interrogated to see if all the
sections were being included properly. .data, .bss, and .sbss
did not have the proper globs set to put the SMM programs in
the expected order.

Lastly, explicitly set the ENTRY for the SMM programs.

Change-Id: Ibb579d18d4819af666d6ec7dfc30776e8c404b71
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9160
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-03-30 23:03:27 +02:00
..
16bit build system: normalize linker script file names 2015-03-28 19:14:47 +01:00
32bit build system: normalize linker script file names 2015-03-28 19:14:47 +01:00
cache post code: Replaced hard-coded post code with macro 2012-01-23 22:50:56 +01:00
lapic arch/x86: Declare GDT symbols and move_gdt() 2014-12-31 09:51:50 +01:00
mtrr x86/mtrr: Enable MTRR's before enabling caching 2014-09-25 23:24:03 +02:00
name cpu,Makefile.inc: Trivial - drop trailing blank lines at EOF 2014-07-17 02:20:12 +02:00
pae cpu/x86/pae/pgtbl.c: Unsigned comparison < 0 always false 2014-06-29 13:02:13 +02:00
smm x86: fix SMM programs linked with gc-sections 2015-03-30 23:03:27 +02:00
tsc cpu,Makefile.inc: Trivial - drop trailing blank lines at EOF 2014-07-17 02:20:12 +02:00
car.c x86 cache-as-ram: Remove BROKEN_CAR_MIGRATE option 2015-03-10 23:39:41 +01:00
fpu_enable.inc GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Kconfig x86: Set BOOT_MEDIA_SPI_BUS 2014-12-15 23:59:00 +01:00
Makefile.inc CBMEM: Always build for x86 romstage 2014-12-30 17:47:22 +01:00
mirror_payload.c loaders: add program_loading.h header file 2015-03-20 19:25:29 +01:00
mp_init.c arch/x86: Declare GDT symbols and move_gdt() 2014-12-31 09:51:50 +01:00
sipi_vector.S rmodules: use rmodtool to create rmodules 2014-03-20 23:55:55 +01:00
sse_enable.inc GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00