From: Szabolcs Nagy <szabolcs.nagy@arm.com>
To: <libc-alpha@sourceware.org>
Subject: [PATCH 0/3] Args adjustment with ./ld.so exe [BZ #23293]
Date: Tue, 12 Apr 2022 13:55:08 +0100 [thread overview]
Message-ID: <cover.1649767418.git.szabolcs.nagy@arm.com> (raw)
Trying to make the ld.so start code more generic and less error prone.
The introduced DL_NEED_START_ARGS_ADJUST may not be the nicest
solution, but it avoids affecting code on other targets for now.
Szabolcs Nagy (3):
Remove _dl_skip_args_internal declaration
aarch64: Use generic argv adjustment in ld.so [BZ #23293]
aarch64: Move ld.so _start to separate file
elf/rtld.c | 56 +++++++++++++++++++++
sysdeps/aarch64/Makefile | 1 +
sysdeps/aarch64/dl-machine.h | 77 +----------------------------
sysdeps/aarch64/dl-start.S | 53 ++++++++++++++++++++
sysdeps/aarch64/dl-sysdep.h | 2 +-
sysdeps/generic/ldsodefs.h | 6 +--
sysdeps/unix/sysv/linux/dl-sysdep.c | 10 ++++
7 files changed, 125 insertions(+), 80 deletions(-)
create mode 100644 sysdeps/aarch64/dl-start.S
--
2.25.1
next reply other threads:[~2022-04-12 12:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-12 12:55 Szabolcs Nagy [this message]
2022-04-12 12:55 ` [PATCH 1/3] Remove _dl_skip_args_internal declaration Szabolcs Nagy
2022-04-12 13:40 ` Florian Weimer
2022-04-12 13:51 ` Andreas Schwab
2022-04-12 12:55 ` [PATCH 2/3] aarch64: Use generic argv adjustment in ld.so [BZ #23293] Szabolcs Nagy
2022-04-12 14:12 ` Florian Weimer
2022-04-12 14:25 ` Florian Weimer
2022-04-13 8:09 ` Szabolcs Nagy
2022-04-12 12:55 ` [PATCH 3/3] aarch64: Move ld.so _start to separate file Szabolcs Nagy
2022-04-12 14:11 ` Florian Weimer
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=cover.1649767418.git.szabolcs.nagy@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).