-x | --discard-all
|
|
Do not copy non-global symbols to the output.
|
--add-gnu-debuglink -= filename
|
|
Create a .gnu_debuglink section in the output file that references the
debug data in
filename.
|
--add-section sectionname=filename
|
|
Add a new section to the output file with name
sectionname.
The contents of the section are taken from the file named by
argument
filename.
The size of the section will be the number of bytes in file
filename.
|
--adjust-section-vma section{+|-|=}val |
--change-section-address section{+|-|=}val
Depending on the operator specified, increase, decrease or set both
the virtual memory address and the load memory address of the section
named by the argument
section.
The argument
val
specifies the desired increment, decrement or new value for the
address.
|
--adjust-start -= increment |
--change-start -= increment
Increase the entry point address of the output ELF object by the value
specified in the argument
increment.
|
--adjust-vma -= increment |
--change-addresses -= increment
Increase the virtual memory address and the load memory address of all
sections by the value specified by the argument
increment.
|
--adjust-warnings | --change-warnings
|
|
Issue a warning if the section specified by the options
--change-section-address,
--change-section-lma
or
--change-section-vma
does not exist in the input object.
This is the default.
|
--change-section-lma section{+|-|=}val
|
|
Change or set the load memory address of the section named by the
argument
section.
Depending on the operator specified, the value in argument
val
will be used as an increment, a decrement or as the new value
of the load memory address.
|
--change-section-vma section{+|-|=}val
|
|
Change or set the virtual memory address of the section named by the
argument
section.
Depending on the operator specified, the value in argument
val
will be used as an increment, a decrement or as the new value
of the virtual memory address.
|
--extract-dwo
|
|
Copy only .dwo debug sections to the output file.
|
--gap-fill -= val
|
|
Fill the gaps between sections with the byte value specified by
the argument
val.
|
--globalize-symbol -= symbolname
|
|
Make the symbol named by argument
symbolname
global, so that it is visible outside of the file in which it is defined.
|
--globalize-symbols -= filename
|
|
Make each symbol listed in the file specified by
filename
global.
|
--localize-hidden
|
|
Make all hidden symbols local to the output file.
This includes symbols with internal visiblity.
|
--localize-symbols -= filename
|
|
Make each symbol listed in the file specified by
filename
local to the output file.
|
--no-adjust-warnings | --no-change-warnings
|
|
Do not issue a warning if the section specified by the options
--change-section-address,
--change-section-lma
or
--change-section-vma
is missing in the input object.
|
--only-keep-debug
|
|
Copy only debugging information to the output file.
|
--pad-to -= address
|
|
Pad the load memory address of the output object to the value
specified by the argument
address
by increasing the size of the section with the highest load memory
address.
|
--prefix-alloc-sections -= string
|
|
Prefix the section names of all the allocated sections with
string.
|
--prefix-sections -= string
|
|
Prefix the section names of all the sections with
string.
|
--prefix-symbols -= string
|
|
Prefix the symbol names of all the symbols with
string.
|
--rename-section oldname=newname[,flags]
|
|
Rename the section named by argument
oldname
to
newname,
optionally changing the sections flags to that specified by argument
flags.
Allowed values for the argument
flags
are as for option
--set-section-flags
below.
|
--set-section-flags sectionname=flags
|
|
Set the flags for the section named by argument
sectionname
to those specified by argument
flags.
Argument
flags
is a comma separated list of the following flag names:
|