Put the keywords for the -z option into a table.

Add more text describing what the -z now option does.
This commit is contained in:
Nick Clifton 2003-08-15 09:42:17 +00:00
parent 12d4560293
commit cd6d6c159c
2 changed files with 66 additions and 23 deletions

View File

@ -1,3 +1,8 @@
2003-08-15 Nick Clifton <nickc@redhat.com>
* ld.texinfo (Options): Put keywords for the -z option into a
table. Add more text describing what the -z now option does.
2003-08-14 Alan Modra <amodra@bigpond.net.au>
* dep-in.sed: Remove libintl.h.

View File

@ -875,29 +875,67 @@ for Solaris compatibility.
@kindex -z @var{keyword}
@item -z @var{keyword}
The recognized keywords are @code{initfirst}, @code{interpose},
@code{loadfltr}, @code{nodefaultlib}, @code{nodelete}, @code{nodlopen},
@code{nodump}, @code{now}, @code{origin}, @code{combreloc}, @code{nocombreloc}
and @code{nocopyreloc}.
The other keywords are
ignored for Solaris compatibility. @code{initfirst} marks the object
to be initialized first at runtime before any other objects.
@code{interpose} marks the object that its symbol table interposes
before all symbols but the primary executable. @code{loadfltr} marks
the object that its filtees be processed immediately at runtime.
@code{nodefaultlib} marks the object that the search for dependencies
of this object will ignore any default library search paths.
@code{nodelete} marks the object shouldn't be unloaded at runtime.
@code{nodlopen} marks the object not available to @code{dlopen}.
@code{nodump} marks the object can not be dumped by @code{dldump}.
@code{now} marks the object with the non-lazy runtime binding.
@code{origin} marks the object may contain $ORIGIN.
@code{defs} disallows undefined symbols.
@code{muldefs} allows multiple definitions.
@code{combreloc} combines multiple reloc sections and sorts them
to make dynamic symbol lookup caching possible.
@code{nocombreloc} disables multiple reloc sections combining.
@code{nocopyreloc} disables production of copy relocs.
The recognized keywords are:
@table @samp
@item combreloc
Combines multiple reloc sections and sorts them to make dynamic symbol
lookup caching possible.
@item defs
Disallows undefined symbols.
@item initfirst
This option is only meaningful when building a shared object.
It marks the object so that its runtime initialization will occur
before the runtime initialization of any other objects brought into
the process at the same time. Similarly the runtime finalization of
the object will occur after the runtime finalization of any other
objects.
@item interpose
Marks the object that its symbol table interposes before all symbols
but the primary executable.
@item loadfltr
Marks the object that its filters be processed immediately at
runtime.
@item muldefs
Allows multiple definitions.
@item nocombreloc
Disables multiple reloc sections combining.
@item nocopyreloc
Disables production of copy relocs.
@item nodefaultlib
Marks the object that the search for dependencies of this object will
ignore any default library search paths.
@item nodelete
Marks the object shouldn't be unloaded at runtime.
@item nodlopen
Marks the object not available to @code{dlopen}.
@item nodump
Marks the object can not be dumped by @code{dldump}.
@item now
When generating an executable or shared library, mark it to tell the
dynamic linker to resolve all symbols when the program is started, or
when the shared library is linked to using dlopen, instead of
deferring function call resolution to the point when the function is
first called.
@item origin
Marks the object may contain $ORIGIN.
@end table
Other keywords are ignored for Solaris compatibility.
@kindex -(
@cindex groups of archives