Go to the previous, next section.
objcopy [ -F bfdname | --target=bfdname ] [ -I bfdname | --input-target=bfdname ] [ -O bfdname | --output-target=bfdname ] [ -S | --strip-all ] [ -g | --strip-debug ] [ -x | --discard-all ] [ -X | --discard-locals ] [ -b byte | --byte=byte ] [ -i interleave | --interleave=interleave ] [ -R sectionname | --remove-section=sectionname ] [ -v | --verbose ] [ -V | --version ] [ --help ] infile [outfile]
The GNU objcopy
utility copies the contents of an object
file to another. objcopy
uses the GNU BFD Library to
read and write the object files. It can write the destination object
file in a format different from that of the source object file. The
exact behavior of objcopy
is controlled by command-line options.
objcopy
creates temporary files to do its translations and
deletes them afterward. objcopy
uses BFD to do all its
translation work; it has access to all the formats described in BFD
and thus is able to recognize most formats without being told
explicitly. See section `BFD' in Using LD.
infile
outfile
objcopy
creates a
temporary file and destructively renames the result with
the name of infile.
-I bfdname
--input-target=bfdname
-O bfdname
--output-target=bfdname
-F bfdname
--target=bfdname
-R sectionname
--remove-section=sectionname
-S
--strip-all
-g
--strip-debug
-x
--discard-all
-X
--discard-locals
-b byte
--byte=byte
srec
output
target.
-i interleave
--interleave=interleave
objcopy
ignores this option if you do not specify either `-b' or
`--byte'.
-V
--version
objcopy
.
-v
--verbose
--help
objcopy
.
Go to the previous, next section.