From: Wolfgang Denk Date: Fri, 10 Jul 2009 23:04:26 +0200 Subject: [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings In-Reply-To: <1245087445-14960-3-git-send-email-vapier@gentoo.org> References: <1245087445-14960-1-git-send-email-vapier@gentoo.org> <1245087445-14960-3-git-send-email-vapier@gentoo.org> Message-ID: <20090710210426.EF758832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1245087445-14960-3-git-send-email-vapier@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 > --- > 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.