[RFD] How legal is it to delete dynamic tags?

Alan Modra amodra@gmail.com
Fri Apr 15 22:25:00 GMT 2016


On Fri, Apr 15, 2016 at 03:08:41PM +0000, Matthew Fortune wrote:
> Firstly, to what extent is it OK to just delete a dynamic tag rather
> than set it to DT_NULL?

DT_NULL marks the end of the dynamic tags array.  Setting a tag to
DT_NULL is not an option (except when the following tag is DT_NULL).
You'll break ld.so if you do that.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list