[binutils-gdb] Update the documentation of the linker's --hash-style option.

Nick Clifton nickc@sourceware.org
Tue Aug 21 15:16:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c8455dc98666030e930cddd8178b1b4074749b04

commit c8455dc98666030e930cddd8178b1b4074749b04
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Aug 21 16:15:36 2018 +0100

    Update the documentation of the linker's --hash-style option.
    
    	PR 23426
    	* ld.texi (--hash-style): Note that the default is configurable
    	and that for most Linux based systems it will be "both".

Diff:
---
 ld/ChangeLog | 6 ++++++
 ld/ld.texi   | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 89eddd3..39f76aa 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2018-08-21  Nick Clifton  <nickc@redhat.com>
+
+	PR 23426
+	* ld.texi (--hash-style): Note that the default is configurable
+	and that for most Linux based systems it will be "both".
+
 2018-08-18  Alan Modra  <amodra@gmail.com>
 
 	* testsuite/ld-elf/elf.exp (is_elf64): Delete.
diff --git a/ld/ld.texi b/ld/ld.texi
index 75a7430..6e0b48b 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -2408,7 +2408,8 @@ Set the type of linker's hash table(s).  @var{style} can be either
 @code{sysv} for classic ELF @code{.hash} section, @code{gnu} for
 new style GNU @code{.gnu.hash} section or @code{both} for both
 the classic ELF @code{.hash} and new style GNU @code{.gnu.hash}
-hash tables.  The default is @code{sysv}.
+hash tables.  The default depends upon how the linker was configured,
+but for most Linux based systems it will be @code{both}.
 
 @kindex --compress-debug-sections=none
 @kindex --compress-debug-sections=zlib



More information about the Binutils-cvs mailing list