scc-strip.1 (1509B)
1 .TH STRIP 1 scc\-VERSION 2 .SH NAME 3 strip \- remove symbols and relocation information from object files 4 .SH SYNOPSIS 5 .B scc-strip 6 .RI [ file ...] 7 .SH DESCRIPTION 8 .B scc-strip 9 removes the symbol table and relocation information from each object 10 .I file 11 specified. 12 If no 13 .I file 14 arguments are given, 15 .B scc-strip 16 operates on 17 .B a.out 18 by default. 19 .PP 20 Stripping an object file reduces its size by discarding information that 21 is not required for execution, such as symbol names and relocation records. 22 The resulting file is otherwise functionally equivalent to the original. 23 .PP 24 .B scc-strip 25 processes each file in place. 26 A temporary file is created alongside the original during processing 27 and is renamed to replace it upon success. 28 If an error occurs, the original file is left unchanged. 29 .SH OPERANDS 30 .TP 31 .I file 32 A pathname of an object file from which symbol and relocation information 33 is to be removed. 34 If no operands are given, 35 .B strip 36 operates on 37 .BR a.out . 38 .SH EXIT STATUS 39 .TP 40 .B 0 41 Successful completion. 42 .TP 43 .B >0 44 An error occurred processing one or more files. 45 .SH EXAMPLES 46 Strip the default output file: 47 .IP 48 .EX 49 scc-strip 50 .EE 51 .PP 52 Strip a specific object file: 53 .IP 54 .EX 55 scc-strip foo.o 56 .EE 57 .PP 58 Strip multiple files: 59 .IP 60 .EX 61 scc-strip foo.o bar.o baz.o 62 .EE 63 .SH STANDARDS 64 The 65 .B scc-strip 66 utility is designed to conform to IEEE Std 1003.1-2008 (POSIX.1). 67 .SH LICENSE 68 See the LICENSE file for the terms of redistribution. 69 .SH SEE ALSO 70 .BR scc-ar (1), 71 .BR scc-nm (1), 72 .BR scc-ranlib (1), 73 .BR scc-objdump (1)