From: Szabolcs Nagy <szabolcs.nagy@arm.com>
To: libc-alpha@sourceware.org
Subject: Re: [PATCH] aarch64: define PI_STATIC_AND_HIDDEN
Date: Wed, 6 Jan 2021 18:15:57 +0000 [thread overview]
Message-ID: <20210106181557.GL2379@arm.com> (raw)
In-Reply-To: <20210106133121.19286-1-szabolcs.nagy@arm.com>
The 01/06/2021 13:31, Szabolcs Nagy via Libc-alpha wrote:
> my current plan for bug 27072 is to mark things hidden in
> static pie libc and then if this macro is defined then
> reorder the self reloc code after auxv, tunables etc are
> set up (this requires that nothing depends on ifuncs and
> global pointers up to that point).
the tunables list has pointers in it (name and env var
alias strings) which requires relative relocs.. i can
hack this around (char[64] instead of char*), but i
don't yet have a nice solution.
currently RELATIVE relocs must be processed before
tunables, but IRELATIVE relocs must be after tunables
(since they can affect ifunc selection)
i guess we can ignore tunables for ifunc selection in
static pie.
if we move the static pie self reloc code later we
will also need a way to check there are no dynamic
relocs in the early startup code. this is not easy.
next prev parent reply other threads:[~2021-01-06 18:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-06 13:31 Szabolcs Nagy
2021-01-06 18:15 ` Szabolcs Nagy [this message]
2021-01-06 20:20 ` Adhemerval Zanella
2021-01-11 10:45 ` Szabolcs Nagy
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=20210106181557.GL2379@arm.com \
--to=szabolcs.nagy@arm.com \
--cc=libc-alpha@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).