8
-F
name
-filter
name
When creating an ELF shared object, set the internal DT_FILTER field to the specified name.
This tells the dynamic linker that the symbol table of the shared object which is being created
should be used as a filter on the symbol table of the shared object
If you later link a program against this filter object, then, when you run the program, the dynamic
linker will see the DT_FILTER field. The dynamic linker will resolve symbols according to the
symbol table of the filter object as usual, but it will actually link to the definitions found in the
shared object
name
by the object
name
Some older linkers used the
file format for both input and output object files. The gnu linker uses other mechanisms for this
purpose: the
-b
environment variable. The gnu linker will ignore the
GNUTARGET
ELF shared object.
-fini
name
When creating an ELF executable or shared object, call NAME when the executable or shared
object is unloaded, by setting DT_FINI to the address of the function. By default, the linker uses
as the function to call.
_fini
-g
Ignored. Provided for compatibility with other tools.
-G
value
-gpsize=
value
Set the maximum size of objects to be optimized using the GP register to
meaningful for object file formats such as MIPS ECOFF which supports putting large and small
objects into different sections. This is ignored for other object file formats.
-h
name
-soname=
name
When creating an ELF shared object, set the internal DT_SONAME field to the specified name.
When an executable is linked with a shared object which has a DT_SONAME field, then when
the executable is run the dynamic linker will attempt to load the shared object specified by the
DT_SONAME field rather than the using the file name given to the linker.
-i
Perform an incremental link (same as option
-init
name
When creating an ELF executable or shared object, call NAME when the executable or shared
object is loaded, by setting DT_INIT to the address of the function. By default, the linker uses
as the function to call.
_init
-l
archive
-library=
archive
Add archive file
will search its path-list for occurrences of
ld
. Thus the filter object can be used to select a subset of the symbols provided
.
option throughout a compilation toolchain for specifying object-
-F
,
,
-format
-oformat
to the list of files to link. This option may be used any number of times.
archive
options, the
TARGET
).
-r
lib
.a
archive
Chapter 3. Invocation
.
name
command in linker scripts, and the
option when not creating an
-F
size
for every
specified.
archive
. This is only
Need help?
Do you have a question about the ENTERPRISE LINUX 4 - USING ID and is the answer not in the manual?
Questions and answers