[coreboot-gerrit] New patch to review for coreboot: arch/x86: Generate a map file for the postcar stage

Lee Leahy (leroy.p.leahy@intel.com) gerrit at coreboot.org
Mon Jul 25 21:39:16 CEST 2016


Lee Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15845

-gerrit

commit f9eac27850abeed0a0cd90b973ab34b555f6866e
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date:   Sun Jul 24 07:51:24 2016 -0700

    arch/x86: Generate a map file for the postcar stage
    
    Place a map file for the postcar stage and place it into
    build/cbfs/fallback.
    
    TEST=Build and run on Galileo Gen2
    
    Change-Id: I349c06e3c610db5b3f2511083208db27110c34d0
    Signed-off-by: Lee Leahy <leroy.p.leahy at intel.com>
---
 src/arch/x86/Makefile.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index aff4dd4..82db38a 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -279,6 +279,8 @@ postcar-y += memlayout.ld
 postcar-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
 postcar-$(CONFIG_X86_TOP4G_BOOTMEDIA_MAP) += mmap_boot.c
 
+LDFLAGS_postcar += -Map $(objcbfs)/postcar.map
+
 $(objcbfs)/postcar.debug: $$(postcar-objs)
 	@printf "    LINK       $(subst $(obj)/,,$(@))\n"
 	$(LD_postcar) $(LDFLAGS_postcar) -o $@ -L$(obj) $(COMPILER_RT_FLAGS_postcar) --whole-archive --start-group $(filter-out %.ld,$^) --no-whole-archive $(COMPILER_RT_postcar) --end-group -T $(call src-to-obj,postcar,src/arch/x86/memlayout.ld)



More information about the coreboot-gerrit mailing list