[Skiboot] [PATCH] Fix (hopefully) missing dot symbols in skiboot.map

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Mar 27 16:12:34 AEDT 2015


I wasn't able to test as my toolchain always emits them

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 Makefile.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.rules b/Makefile.rules
index d63cbf4..3534f5d 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -70,4 +70,4 @@ endif
 	$(call Q,CC, $(CC) $(CPPFLAGS) -P -E $< -o $@, $@)
 
 %.map: %.elf
-	$(call Q,NM, $(NM) -n $< | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $@, $@)
+	$(call Q,NM, $(NM) --synthetic -n $< | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $@, $@)




More information about the Skiboot mailing list