linking: move romstage and bootblock to use program.ld
Instead of having separate <stage>.ld files in src/lib one file can be used: program.ld. There's now only one touch point for stage layout. BUG=chrome-os-partner:44827 BRANCH=None TEST=Built a myriad of boards. Analyzed readelf output. Change-Id: I4c3e3671d696caa2c7601065a85fab803e86f971 Signed-off-by: Aaron Durbin <adubin@chromium.org> Reviewed-on: http://review.coreboot.org/11509 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
@@ -194,8 +194,8 @@ secmon-y += halt.c
|
||||
ifneq ($(CONFIG_ARCH_X86),y)
|
||||
# X86 bootblock and romstage use custom ldscripts that are all glued together,
|
||||
# so we need to exclude it here or it would pick these up as well
|
||||
bootblock-y += bootblock.ld
|
||||
romstage-y += romstage.ld
|
||||
bootblock-y += program.ld
|
||||
romstage-y += program.ld
|
||||
endif
|
||||
|
||||
ramstage-y += program.ld
|
||||
|
Reference in New Issue
Block a user