public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Matthew Fortune <Matthew.Fortune@imgtec.com>
To: Alan Modra <amodra@gmail.com>
Cc: "binutils@sourceware.org" <binutils@sourceware.org>,
	"Anibal Monsalve Salazar" <Anibal.MonsalveSalazar@imgtec.com>
Subject: RE: [RFD] How legal is it to delete dynamic tags?
Date: Mon, 18 Apr 2016 09:44:00 -0000	[thread overview]
Message-ID: <6D39441BF12EF246A7ABCE6654B023537E3D91C5@hhmail02.hh.imgtec.org> (raw)
In-Reply-To: <20160415222520.GD15088@bubble.grove.modra.org>

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

  reply	other threads:[~2016-04-18  9:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15 15:08 Matthew Fortune
2016-04-15 22:25 ` Alan Modra
2016-04-18  9:44   ` Matthew Fortune [this message]
2016-04-15 23:13 ` Nathaniel Smith
2016-04-15 23:17   ` Nathaniel Smith
2016-04-18  9:45     ` Matthew Fortune

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6D39441BF12EF246A7ABCE6654B023537E3D91C5@hhmail02.hh.imgtec.org \
    --to=matthew.fortune@imgtec.com \
    --cc=Anibal.MonsalveSalazar@imgtec.com \
    --cc=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).