[U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings

Wolfgang Denk wd at denx.de
Fri Jul 10 23:04:26 CEST 2009


Dear Mike Frysinger,

In message <1245087445-14960-3-git-send-email-vapier at gentoo.org> you wrote:
> 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 at gentoo.org>
> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Good morning. This is the telephone company. Due  to  repairs,  we're
giving  you  advance notice that your service will be cut off indefi-
nitely at ten o'clock. That's two minutes from now.


More information about the U-Boot mailing list