commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=842eea3da63e607bf69ece68e2aca2434dba789f
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk

Without this kallsymbol can't be recognition from kernel.

Signed-off-by: Bob Liu <[email protected]>
---
 scripts/link-vmlinux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index cd9c6c6..2fcc844 100644
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -82,7 +82,7 @@ kallsyms()
 		      ${NOSTDINC_FLAGS} ${LINUXINCLUDE} ${KBUILD_CPPFLAGS}"
 
 	${NM} -n ${1} | \
-		scripts/kallsyms ${kallsymopt} | \
+		scripts/kallsyms ${kallsymopt} --symbol-prefix=_ | \
 		${CC} ${aflags} -c -o ${2} -x assembler-with-cpp -
 }
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to