Red Hat ENTERPRISE LINUX 4 - USING BINUTILS Using Instructions page 22

Using binutils, the gnu binary utilities
Hide thumbs Also See for ENTERPRISE LINUX 4 - USING BINUTILS:
Table of Contents

Advertisement

16
the symbol name. If the first character of the symbol name is the exclamation point (!) then the
sense of the switch is reversed for that symbol. For example:
-w -W !foo -W fo*
would cause objcopy to weaken all symbols that start with "fo" except for the symbol "foo".
-x
-discard-all
Do not copy non-global symbols from the source file.
-X
-discard-locals
Do not copy compiler-generated local symbols. (These usually start with
-b
byte
-byte=
byte
Keep only every
range from 0 to
or the default of 4. This option is useful for creating files to program rom. It is typically used with
an
output target.
srec
-i
interleave
-interleave=
interleave
Only copy one out of every
option. The default is 4.
-p
-preserve-dates
Set the access and modification dates of the output file to be the same as those of the input file.
-debugging
Convert debugging information, if possible. This is not the default because only certain debug-
ging formats are supported, and the conversion process can be time consuming.
-gap-fill
val
Fill gaps between sections with
sections. It is done by increasing the size of the section with the lower address, and filling in the
extra space created with
-pad-to
address
Pad the output file up to the load address
section. The extra space is filled in with the value specified by
-set-start
val
Set the start address of the new file to
address.
-change-start
incr
-adjust-start
incr
Change the start address by adding
address.
th byte of the input file (header data is not affected).
byte
-1, where
interleave
interleave
ignores this option if you do not specify either
objcopy
val
.
val
is given by the
interleave
bytes. Select which byte to copy with the
. This operation applies to the load address (LMA) of the
. This is done by increasing the size of the last
address
. Not all object file formats support setting the start
val
. Not all object file formats support setting the start
incr
Chapter 4. objcopy
or
.)
L
.
can be in the
byte
or
-i
-interleave
-b
(default zero).
-gap-fill
option,
or
-b
-byte
or
.
-byte

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents