From cd6d6c159c3e1851477d6215996ba5175f732921 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 15 Aug 2003 09:42:17 +0000 Subject: [PATCH] Put the keywords for the -z option into a table. Add more text describing what the -z now option does. --- ld/ChangeLog | 5 +++ ld/ld.texinfo | 84 +++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 66 insertions(+), 23 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 1f32c68c8d..fdfc96bd94 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-08-15 Nick Clifton + + * 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 * dep-in.sed: Remove libintl.h. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index aeeded0365..040359afc0 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -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 -- 2.34.1