File: objcopy

package info (click to toggle)
glibc 2.7-18lenny7
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,732 kB
  • ctags: 352
  • sloc: sh: 1,029; perl: 237; makefile: 118
file content (11 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

case " $* " in
  *" --only-keep-debug "*)
    exec /usr/bin/objcopy -R .debug_info -R .debug_aranges -R .debug_pubnames \
	-R .debug_abbrev -R .debug_line -R .debug_str -R .debug_ranges \
	-R .debug_loc -R .comment -R .note "$@"
    ;;
esac

exec /usr/bin/objcopy "$@"