Correct -z nocopyreloc doc

Alan Modra amodra@gmail.com
Mon Mar 2 06:29:00 GMT 2015


This option is misnamed.  It should probably be called -z nodynbss,
but it's too late to change now.

	* ld.texinfo (Options <-z nocopyreloc>): Rewrite.

diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 314d3f3..440fa41 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1088,7 +1088,8 @@ Allows multiple definitions.
 Disables multiple reloc sections combining.
 
 @item nocopyreloc
-Disables production of copy relocs.
+Disable linker generated .dynbss variables used in place of variables
+defined in shared libraries.  May result in dynamic text relocations.
 
 @item nodefaultlib
 Marks the object that the search for dependencies of this object will

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list