b.out/COFF/ELF Converter (cof960/objcopy)
The b.out/COFF/ELF object converter copies its input file to an
output file, performing any specified conversions. There are three
kinds of conversion: byte order, object format, and stripping.
- If no byte order options are given, output byte order matches
input byte order. Actual 80960 code is always in target order,
but the headers, symbol information, and relocation directives
can vary.
- If no object format options are given, the object format is
not changed.
- If the output format is does not match the input format, a
strip (S
option) is performed automatically.
The invocation command is:
cof960
| objcopy -option ... infile [ outfile
]
Each option must be preceded by a -
character. (On DOS, you can also use a /
character.) The options are listed below.
The infile
is an object file or an object file archive. If outfile
is omitted, or if the p
option is used, the converter transforms the file in place.
- b
Outputs in big-endian byte order.
- C
Strips CCINFO
from output file.
- c
Copies the file rather than moving it.
- Fbout
Outputs in b.out format.
- Fcoff
Outputs in COFF format.
- Felf
Outputs in ELF format.
- h
Outputs in host's byte order.
- help
Displays help information and exits.
- J
Removes unneeded COFF storage class tags from
output symbol table with System V R3.2-style compression (cprs).
- l
Outputs in little-endian byte order.
- p
Converts in place. Overwrites the input file with
output (the converted file). This option allows you to specify
a list of files (for example, *.o)
to be converted in place.
- q
Suppresses printed information about current processing.
This is the default.
- r
Converts a little-endian file to a big-endian
file.
- S
Strips the file. This is performed automatically
if the input file format differs from the specified output file
format. The S
option generates an error if used for an object file archive.
- V
Displays version information and then processes
the rest of the specified options.
- v
Prints information about current processing.
- v960
Displays version information and exits.
- x
Reduces the size of an object file by stripping
global symbols that were promoted from locals. Do not use this
option with two-pass compilation.
- z
Suppresses writing a time stamp in the COFF file
header.
Return
to the top of this page.
Go
to the ic960 Interface Index.
Go
to the gcc960 Interface Index.