gold patch committed: Don't create DT_FLAGS if not needed

Ian Lance Taylor iant@google.com
Sat Jun 18 22:36:00 GMT 2011


Originally gold would always create a DT_FLAGS entry, so that it was
possible for a tool to set flags for an existing executable without
great difficulty.  However, now that gold supports --spare-dynamic-tags,
this is no longer necessary.  This patch removes it.  Committed to
mainline.

Ian


2011-06-18  Ian Lance Taylor  <iant@google.com>

	* layout.cc (Layout::finish_dynamic_section): Don't create
	DT_FLAGS entry if not needed.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 840 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110618/7013901a/attachment.bin>


More information about the Binutils mailing list