File: objcopy

package info (click to toggle)
glibc 2.3.6.ds1-13etch10
  • links: PTS
  • area: main
  • in suites: etch
  • size: 19,276 kB
  • ctags: 292
  • sloc: sh: 2,473; perl: 281; makefile: 119
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 "$@"