Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

crunchide(1) [netbsd man page]

CRUNCHIDE(1)						    BSD General Commands Manual 					      CRUNCHIDE(1)

NAME
crunchide -- hides symbol names from ld, for crunching programs together SYNOPSIS
crunchide [-f keep-list-file] [-k keep-symbol] object-file [object-file ...] DESCRIPTION
crunchide hides the global symbols of object-file such that they are ignored by subsequent runs of the linker, ld(1). Some symbols may be left visible via the -k keep-symbol and -f keep-list-file options. The keep-list-file must contain a list of symbols to keep visible, one symbol per line. The names given by keep-symbol or in keep-list-file should be C names. For example, to keep the C function ``foo'' visi- ble, the option ``-k foo'' should be used. crunchide is designed as a companion program for crunchgen(1), which automates the process of creating crunched binaries from multiple compo- nent programs. SEE ALSO
crunchgen(1), ld(1) AUTHORS
crunchide was written by James da Silva <jds@cs.umd.edu>. Copyright (c) 1994 University of Maryland. All Rights Reserved. Chris Demetriou <cgd@NetBSD.org> reorganized crunchide so that it supported multiple object formats, and added ELF object support and ECOFF object recognition. Copyright (c) 1997 Christopher G. Demetriou. All Rights Reserved. BSD
June 14, 1994 BSD

Check Out this Related Man Page

ANM(1)							      General Commands Manual							    ANM(1)

NAME
anm - print name list SYNOPSIS
anm [-gnoprus] file ... OPTIONS
-g Global symbols only -n Sort numerically -o Prepend the filename to each line -p No sorting--use symbol table order -r Sort in reverse order -u List undefined symbols only -s Sort in section order EXAMPLES
anm -gn test.o # Print global symbols in numerical order DESCRIPTION
Anm prints the name list (symbol table) of each ACK format object file in the argument list. If no file name is given, a.out is used. Each symbol name is preceded by its value, a section indicator and a type indicator. The section indicators are: U Undefined symbol A Absolute symbol - Other symbol The type indicators are: F Filename M Module name S Section name E External (global) symbol - Local symbol The output is sorted alphabetically, unless otherwise specified. Notice that anm can only be used on ACK format object files (that is: .o and .out files). If you want to get the name list of an executable program use nm instead. SEE ALSO
asize(1), nm(1), ar(1), size(1). ANM(1)
Man Page