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.
Signed-off-by: Aaron Durbin <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <email@example.com>
4 files changed