https://sourceware.org/bugzilla/show_bug.cgi?id=30355

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Nick Desaulniers from comment #2)

> What's the best way to strip out the debug info?
> 
> $ objcopy --only-keep-debug vmlinux vmlinux-debug
> $ du -h vmlinux vmlinux-debug
> 34M   vmlinux
> 33M   vmlinux-debug
> 
> Looks like .text was retained. Hmm.

Well that is odd.  The command line that you used was
exactly what I would have suggested.  Maybe this will
work instead:

  objcopy --only-section=".debug.*" vmlinux vnlinux-debug

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to