Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for f in `find . -type f \( ! -name "*.*" -o -name "*.so*" \) -print | grep release`
- do
- chmod +x "${f}"
- symbol_file=${f}.debug
- echo "stripping ${f}, putting debug info into ${symbol_file}"
- objcopy --only-keep-debug "${f}" "${symbol_file}"
- strip --strip-debug --strip-unneeded "${f}"
- objcopy --add-gnu-debuglink="${symbol_file}" "${f}"
- chmod -x "${symbol_file}"
- done
Add Comment
Please, Sign In to add comment