Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ctfconvert(1) [freebsd man page]

CTFCONVERT(1)						    BSD General Commands Manual 					     CTFCONVERT(1)

ctfconvert -- convert debug data to CTF data SYNOPSIS
ctfconvert [-gis] -l label -L labelenv [-o outfile] object_file DESCRIPTION
The ctfconvert utility converts debug information from a binary file to CTF data and replaces the debug section of that file with a CTF sec- tion called SUNW_ctf. This new section is added to the input file, unless the -o option is present. You can also opt to keep the original debugging section with the -g option. The following options are available: -l label Sets the label as label. -L labelenv Instructs ctfconvert to read the label from the environment variable labelenv. -g Don't delete the original debugging section. -i Ignore object files built from other languages than C. -s Use the .dynsym ELF section instead of the .symtab ELF section. -o outfile Write the output to file in outfile. EXIT STATUS
The ctfconvert utility exits 0 on success, and >0 if an error occurs. SEE ALSO
ctfdump(1), ctfmerge(1) HISTORY
The ctfconvert utility first appeared in FreeBSD 7.0. AUTHORS
The CTF utilities came from OpenSolaris. BSD
July 7, 2010 BSD

Check Out this Related Man Page

STRIP(1)						    BSD General Commands Manual 						  STRIP(1)

strip -- discard information from ELF objects SYNOPSIS
strip [-d | -g | -S | --strip-debug] [-h | --help] [--only-keep-debug] [-o outputfile | --output-file=outputfile] [-p | --preserve-dates] [-s | --strip-all] [--strip-unneeded] [-w | --wildcard] [-x | --discard-all] [-I format | --input-target=format] [-K symbol | --keep-symbol=symbol] [-N symbol | --strip-symbol=symbol] [-O format | --output-target=format] [-R sectionname | --remove-section=sectionname] [-V | --version] [-X | --discard-locals] file ... DESCRIPTION
The strip utility is used to discard information from ELF objects. The strip utility supports the following options: -d | -g | -S | --strip-debug Remove debugging symbols only. -h | --help Print a help message and exit. --only-keep-debug Remove all content except that which would be used for debugging. -o outputfile | --output-file=outputfile Write the stripped object to file outputfile. The default behaviour is to modify objects in place. -p | --preserve-dates Preserve the object's access and modification times. -s | --strip-all Remove all symbols. --strip-unneeded Remove all symbols not needed for further relocation processing. -w | --wildcard Use shell-style patterns to name symbols. The following meta-characters are recognized in patterns: ! If this is the first character of the pattern, invert the sense of the pattern match. * Matches any string of characters in a symbol name. ? Matches zero or one character in a symbol name. [ Mark the start of a character class. Remove the special meaning of the next character in the pattern. ] Mark the end of a character class. -x | --discard-all Discard all non-global symbols. -I format | --input-target=format These options are accepted, but are ignored. -K symbol | --keep-symbol=symbol Keep the symbol symbol even if it would otherwise be stripped. This option may be specified multiple times. -N symbol | --strip-symbol=symbol Remove the symbol symbol even if it would otherwise have been kept. This option may be specified multiple times. -O format | --output-target=format Set the output file format to format. For the full list of supported formats, please see the documentation for function elftc_bfd_find_target(3). -R sectionname | --remove-section=sectionname Remove the section named by the argument sectionname. This option may be specified multiple times. -V | --version Print a version identifier and exit. -X | --discard-locals Remove compiler-generated local symbols. DIAGNOSTICS
The strip utility exits 0 on success, and >0 if an error occurs. SEE ALSO
ar(1), elfcopy(1), ld(1), mcs(1), elf(3), elftc_bfd_find_target(3), fnmatch(3) BSD
September 17, 2011 BSD
Man Page