18
formats. If the object file formats use the same leading character, this option has no effect. Oth-
erwise, it will add a character, or remove a character, or change a character, as appropriate.
-remove-leading-char
If the first character of a global symbol is a special symbol leading character used by the object
file format, remove the character. The most common symbol leading character is underscore.
This option will remove a leading underscore from all global symbols. This can be useful if
you want to link together objects of different file formats with different conventions for symbol
names. This is different from
name when appropriate, regardless of the object file format of the output file.
-srec-len=
ival
Meaningful only for srec output. Set the maximum length of the Srecords being produced to
. This length covers both address, data and crc fields.
ival
-srec-forceS3
Meaningful only for srec output. Avoid generation of S1/S2 records, creating S3-only record
format.
-redefine-sym
old
Change the name of a symbol
together for which you have no source, and there are name collisions.
-weaken
Change all global symbols in the file to be weak. This can be useful when building an object
which will be linked against other objects using the
effective when using an object file format which supports weak symbols.
-keep-symbols=
filename
Apply
-keep-symbol
flat file, with one symbol name per line. Line comments may be introduced by the hash character.
This option may be given more than once.
-strip-symbols=
filename
Apply
-strip-symbol
ply a flat file, with one symbol name per line. Line comments may be introduced by the hash
character. This option may be given more than once.
-keep-global-symbols=
Apply
-keep-global-symbol
is simply a flat file, with one symbol name per line. Line comments may be introduced by the
hash character. This option may be given more than once.
-localize-symbols=
Apply
-localize-symbol
simply a flat file, with one symbol name per line. Line comments may be introduced by the hash
character. This option may be given more than once.
-weaken-symbols=
Apply
-weaken-symbol
ply a flat file, with one symbol name per line. Line comments may be introduced by the hash
character. This option may be given more than once.
-change-leading-char
=
new
, to
old
option to each symbol listed in the file
option to each symbol listed in the file
filename
option to each symbol listed in the file
filename
option to each symbol listed in the file
filename
option to each symbol listed in the file
because it always changes the symbol
. This can be useful when one is trying link two things
new
option to the linker. This option is only
-R
Chapter 4. objcopy
.
filename
filename
.
filename
filename
filename
.
filename
.
filename
filename
is simply a
is sim-
.
filename
is
filename
is sim-
Need help?
Do you have a question about the ENTERPRISE LINUX 3 - USING BINUTILS and is the answer not in the manual?
Questions and answers