Implement and document -z unique / -z nounique handling in gold
authorVivek Das Mohapatra <vivek@collabora.com>
Mon, 14 Dec 2020 17:25:55 +0000 (17:25 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Dec 2020 08:15:24 +0000 (18:45 +1030)
commit8a87b2791181eb7fc1533ffaeb95df8d87d41493
tree319ae3d0d3eb416a80f1b9b6a6799f6eed54b6c0
parentaf3c233bdb68e23b64a7453c1a08b4437ecd65b3
Implement and document -z unique / -z nounique handling in gold

* layout.cc (Layout::finish_dynamic_section): Set DF_GNU_1_UNIQUE.
* options.h (class General_options): Handle -z unique, -z nounique.
gold/ChangeLog
gold/layout.cc
gold/options.h