mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
Add configure flag to enable gnu hash style by default.
ld/ * configure.ac: Add --enable-default-hash-style option. * ldmain.c (main): Set link_info.emit_hash to DEFAULT_EMIT_SYSV_HASH. Set link_info.emit_gnu_hash to DEFAULT_EMIT_GNU_HASH. * configure: Regenerate. * config.in: Regenerate. gold/ * configure.ac: Add --enable-default-hash-style option. * options.h (hash_style): Use DEFAULT_HASH_STYLE as default value. * configure: Regenerate. * config.in: Regenerate.
This commit is contained in:
committed by
Alan Modra
parent
8f5e83fb73
commit
2760f24c49
@@ -273,7 +273,8 @@ main (int argc, char **argv)
|
||||
link_info.keep_memory = TRUE;
|
||||
link_info.combreloc = TRUE;
|
||||
link_info.strip_discarded = TRUE;
|
||||
link_info.emit_hash = TRUE;
|
||||
link_info.emit_hash = DEFAULT_EMIT_SYSV_HASH;
|
||||
link_info.emit_gnu_hash = DEFAULT_EMIT_GNU_HASH;
|
||||
link_info.callbacks = &link_callbacks;
|
||||
link_info.input_bfds_tail = &link_info.input_bfds;
|
||||
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
|
||||
|
||||
Reference in New Issue
Block a user