ld.bfd 2.34.50.20200506 --help prints: --hash-style=STYLE Set hash style to sysv, gnu or both It shall print which hash style is the default (will be used, if --hash-style is not passed)
The master branch has been updated by Nick Clifton <nickc@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ba311c5b10ea387d68c63bf61de0885aa150cd69 commit ba311c5b10ea387d68c63bf61de0885aa150cd69 Author: Nick Clifton <nickc@redhat.com> Date: Wed May 13 10:59:02 2020 +0100 Have the linker's help text include the default setting of the --hash-style option, if relevent. PR 25979 * lexsup.c (elf_shlib_list_options): Include the default value for the hash style in the output text.
Ok, patch applied.