aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-08-21 16:15:36 +0100
committerNick Clifton <nickc@redhat.com>2018-08-21 16:16:09 +0100
commitc8455dc98666030e930cddd8178b1b4074749b04 (patch)
tree8ba3fc6676f1734be6cd3938f4d3075a5e9c8eb8 /ld
parent6efa941c381b603fbf9d0f951eff87bcb805fa94 (diff)
downloadgdb-c8455dc98666030e930cddd8178b1b4074749b04.zip
gdb-c8455dc98666030e930cddd8178b1b4074749b04.tar.gz
gdb-c8455dc98666030e930cddd8178b1b4074749b04.tar.bz2
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".
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/ld.texi3
2 files changed, 8 insertions, 1 deletions
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