This didn't turn out to be as enlightening as I hoped. I think that I
put it into the correct Makefile.
Marc
--
Marc Jones
Senior Software Engineer
(970) 226-9684 Office
mailto:Marc.Jones@amd.com
http://www.amd.com/embeddedprocessors
Make .map files for the different portions of V3.
Signed-off-by: Marc Jones
marc.jones@amd.com
Index: LinuxBIOSv3/arch/x86/Makefile
===================================================================
--- LinuxBIOSv3.orig/arch/x86/Makefile 2007-07-18 16:32:18.000000000 -0600
+++ LinuxBIOSv3/arch/x86/Makefile 2007-07-18 16:58:01.000000000 -0600
@@ -86,6 +86,10 @@
$(Q)# Run "qemu -L build/ -serial stdio -hda /dev/zero".
$(Q)printf " CP $(subst $(shell pwd)/,,$(obj)/bios.bin)\n"
$(Q)cp $@ $(obj)/bios.bin
+ $(Q)# Make some .map files
+ $(Q)nm -n $(obj)/stage0.o | sort > $(obj)/linuxbios.stage0.map
+ $(Q)nm -n $(obj)/linuxbios.initram.o | sort > $(obj)/linuxbios.initram.map
+ $(Q)nm -n $(obj)/linuxbios.stage2.o | sort > $(obj)/linuxbios.stage2.map
$(obj)/linuxbios.bootblock: $(obj)/linuxbios.vpd $(obj)/stage0.init
$(Q)printf " BUILD $(subst $(shell pwd)/,,$(@))\n"