CVTSYM(8) —
NAME
cvtsym − convert symbol table
SYNOPSIS
cvtsym [option] ... input output
DESCRIPTION
Cvtsym converts an a.out file in VAX format into the format acceptable to a machine with different byte-ordering. It takes an a.out file with the header and symbol table in VAX byte order and changes them into the proper format for the target machine. It does not handle relocation information, so it is not suitable for running on a .o file from a compiler or assembler.
The following switches are accepted:
-p# Sets the logical page size (required to process ZMAGIC -- demand-paged -- files properly).
-D Prints internal debugging information about what cvtsym is doing.
-t Removes the “text” section from the resulting object file. Normally this is specified with -d, which leaves just the symbol table.
-d Removes the “data” section from the resulting object file.
-n Generates an NMAGIC-format output file. The output file will probably not be correct if the input file was OMAGIC.
-N Generates an OMAGIC-format output file. This is most useful when one wants to generate a “portable” symbol table file from a ZMAGIC input file.
-z Generates a ZMAGIC-format output file. This is not usually a good idea.
-s Does not generate a swapped header at the start of the output file.
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — 15 Dec 1986