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?


Alan Modra <amodra@gmail.com> writes:
> 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.

Thanks. I had some vague memory that DT_NULL couldn't be used arbitrarily
but couldn't think why.

Matthew


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