public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andreas Schwab <schwab@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] m68k: optimize RTLD_START
Date: Fri, 24 Jun 2022 22:22:25 +0000 (GMT)	[thread overview]
Message-ID: <20220624222225.DF61E387474A@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=01c60dc90ca404c153d51f0ddc3b5fe36d3c1099

commit 01c60dc90ca404c153d51f0ddc3b5fe36d3c1099
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Fri Jun 24 21:24:40 2022 +0200

    m68k: optimize RTLD_START

Diff:
---
 sysdeps/m68k/dl-machine.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h
index 64b9fe0b71..b670df5d8b 100644
--- a/sysdeps/m68k/dl-machine.h
+++ b/sysdeps/m68k/dl-machine.h
@@ -142,10 +142,8 @@ _start:\n\
 _dl_start_user:\n\
 	| Save the user entry point address in %a4.\n\
 	move.l %d0, %a4\n\
-	| Pop the original argument count\n\
-	move.l (%sp)+, %d1\n\
-	| Push back the modified argument count.\n\
-	move.l %d1, -(%sp)\n\
+	| Load the adjusted argument count.\n\
+	move.l (%sp), %d1\n\
 	# Call _dl_init (struct link_map *main_map, int argc, char **argv, char **env)\n\
 	pea 8(%sp, %d1*4)\n\
 	pea 8(%sp)\n\


                 reply	other threads:[~2022-06-24 22:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220624222225.DF61E387474A@sourceware.org \
    --to=schwab@sourceware.org \
    --cc=glibc-cvs@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).