Add --warn-drop-version option; by default, do not warn when discarding version info.
authorCary Coutant <ccoutant@gmail.com>
Mon, 6 Aug 2018 21:08:48 +0000 (14:08 -0700)
committerCary Coutant <ccoutant@gmail.com>
Mon, 6 Aug 2018 21:10:13 +0000 (14:10 -0700)
commit3a12c78d1491c4877928e7294c8cdbe8171dfeed
tree654fb291f2f56d9b35021239b1192a42d7cadb2a
parenta7f25a84f4cc1df5248c46346337f19a2a66af5a
Add --warn-drop-version option; by default, do not warn when discarding version info.

gold/
PR gold/23455
* options.h (General_options): Add --warn-drop-version option.
* symtab.cc (Symbol_table::set_dynsym_indexes): Check it.
gold/ChangeLog
gold/options.h
gold/symtab.cc