From: Florian Weimer <fweimer@redhat.com>
To: Cary Coutant <ccoutant@gmail.com>
Cc: Nick Clifton <nickc@redhat.com>,
gnu-gabi@sourceware.org, "H.J. Lu" <hjl.tools@gmail.com>
Subject: Re: RFA: Add a new gynamic tag: DT_GNU_GOT_PLT_END
Date: Mon, 01 Jan 2018 00:00:00 -0000 [thread overview]
Message-ID: <f2a6787e-6255-fb40-2865-db646c88575d@redhat.com> (raw)
In-Reply-To: <CAJimCsGiJKYJ37vr3cs9PUDQUp5Yc07T6q=39aMMA7nxinQ_=A@mail.gmail.com>
On 06/26/2018 02:42 AM, Cary Coutant wrote:
>>> OK, so it's a variant of RELRO. I'd prefer using a new program header
>>> type, PT_GNU_PLTGOT, then.
>>
>> Wouldn't this cause the binaries not to run with an older loader?
>
> Maybe, but new dynamic table entries could do that, too.
I think ld.so ignores unknown DT_* entries.
> Does anyone remember what the experience was when PT_GNU_RELRO was added?
There were binutils crashes.
But I was mistaken: ld.so ignores unknown PT_* entries, too.
I still think a DT_* entry is conceptually the right choice here. It's
really specific to the PLT. It's not something that I expect can be
used to change other mappings successfully.
Thanks,
Florian
prev parent reply other threads:[~2018-07-04 13:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87sh5hadd6.fsf@redhat.com>
[not found] ` <CAMe9rOrFiHvUj4EeviT8UdA2b8b_FpiPofeNqRyWzNA9286ZNQ@mail.gmail.com>
2018-01-01 0:00 ` Nick Clifton
2018-01-01 0:00 ` Cary Coutant
2018-01-01 0:00 ` Cary Coutant
2018-01-01 0:00 ` Florian Weimer
2018-01-01 0:00 ` Cary Coutant
2018-01-01 0:00 ` Florian Weimer
2018-01-01 0:00 ` Cary Coutant
2018-01-01 0:00 ` Florian Weimer
2018-01-01 0:00 ` Cary Coutant
2018-01-01 0:00 ` Florian Weimer [this message]
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=f2a6787e-6255-fb40-2865-db646c88575d@redhat.com \
--to=fweimer@redhat.com \
--cc=ccoutant@gmail.com \
--cc=gnu-gabi@sourceware.org \
--cc=hjl.tools@gmail.com \
--cc=nickc@redhat.com \
/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).