]> git.sur5r.net Git - u-boot/commit
kallsyms: fix escaping of NUL char in strings
authorMike Frysinger <vapier@gentoo.org>
Mon, 15 Jun 2009 17:37:20 +0000 (13:37 -0400)
committerWolfgang Denk <wd@denx.de>
Fri, 10 Jul 2009 21:04:15 +0000 (23:04 +0200)
commit7bd49ad12cc36a4de6995ddabbc65ffa1aa1933d
tree5d98821482ffe1c39f67b6b8ebde422fe5c23718
parent3672cd5c3b53d219d33345eebad4e25ad5bf6d52
kallsyms: fix escaping of NUL char in strings

The current kallsyms code is using \\0 to escape the backslash in the awk
code, but the shell too needs escaping.  This way we make sure gcc is
passed the \0.  Then gcc itself will consume this as an octal, so we have
to use 000 so gcc will create the final NUL.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile