This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]