public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Args adjustment with ./ld.so exe [BZ #23293]
@ 2022-04-13 13:00 Szabolcs Nagy
  2022-04-13 13:00 ` [PATCH v3 1/2] aarch64: Use generic argv adjustment in ld.so " Szabolcs Nagy
  2022-04-13 13:00 ` [PATCH v3 2/2] aarch64: Move ld.so _start to separate file and drop _dl_skip_args Szabolcs Nagy
  0 siblings, 2 replies; 7+ messages in thread
From: Szabolcs Nagy @ 2022-04-13 13:00 UTC (permalink / raw)
  To: libc-alpha

Trying to make the ld.so start code more generic and less error prone.

Only fixing aarch64 here, other targets have to opt-in by defining
DL_NEED_START_ARGS_ADJUST.

Szabolcs Nagy (2):
  aarch64: Use generic argv adjustment in ld.so [BZ #23293]
  aarch64: Move ld.so _start to separate file and drop _dl_skip_args

 elf/rtld.c                          | 58 ++++++++++++++++++++++
 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          |  3 ++
 sysdeps/unix/sysv/linux/dl-sysdep.c | 10 ++++
 7 files changed, 128 insertions(+), 76 deletions(-)
 create mode 100644 sysdeps/aarch64/dl-start.S

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-03 17:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 13:00 [PATCH v3 0/2] Args adjustment with ./ld.so exe [BZ #23293] Szabolcs Nagy
2022-04-13 13:00 ` [PATCH v3 1/2] aarch64: Use generic argv adjustment in ld.so " Szabolcs Nagy
2022-05-03 11:53   ` Florian Weimer
2022-05-03 16:53     ` Szabolcs Nagy
2022-05-03 17:00       ` Florian Weimer
2022-04-13 13:00 ` [PATCH v3 2/2] aarch64: Move ld.so _start to separate file and drop _dl_skip_args Szabolcs Nagy
2022-05-03 11:53   ` Florian Weimer

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).